Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
be1ee5f7
Commit
be1ee5f7
authored
Mar 31, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - a few additions to the empty GotoTime dialog..
parent
89c1ffd3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
11 deletions
+28
-11
modules/gui/qt4/dialogs/gototime.cpp
modules/gui/qt4/dialogs/gototime.cpp
+19
-5
modules/gui/qt4/dialogs/gototime.hpp
modules/gui/qt4/dialogs/gototime.hpp
+3
-0
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/dialogs/help.cpp
+6
-6
No files found.
modules/gui/qt4/dialogs/gototime.cpp
View file @
be1ee5f7
...
...
@@ -27,22 +27,35 @@
#include "util/qvlcframe.hpp"
#include "qt4.hpp"
#include <QTextBrowser>
#include <QTabWidget>
#include <QFile>
#include <QLabel>
#include <QTimeEdit>
#include <QGroupBox>
#include <QHBoxLayout>
GotoTimeDialog
*
GotoTimeDialog
::
instance
=
NULL
;
GotoTimeDialog
::
GotoTimeDialog
(
intf_thread_t
*
_p_intf
)
:
QVLCFrame
(
_p_intf
)
{
setWindowTitle
(
qtr
(
"GotoTime"
)
);
resize
(
600
,
500
);
resize
(
400
,
200
);
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
));
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
layout
->
addWidget
(
closeButton
,
1
,
3
);
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
)
);
QLabel
*
timeIntro
=
new
QLabel
(
"Enter below the desired time you want to go in the media"
);
QGroupBox
*
timeGroupBox
=
new
QGroupBox
(
"Time"
);
QHBoxLayout
*
boxLayout
=
new
QHBoxLayout
(
timeGroupBox
);
timeEdit
=
new
QTimeEdit
();
boxLayout
->
addWidget
(
timeEdit
);
layout
->
addWidget
(
timeIntro
,
0
,
0
,
1
,
4
);
layout
->
addWidget
(
timeGroupBox
,
1
,
0
,
1
,
4
);
layout
->
addWidget
(
closeButton
,
2
,
3
);
BUTTONACT
(
closeButton
,
close
()
);
}
...
...
@@ -53,5 +66,6 @@ GotoTimeDialog::~GotoTimeDialog()
void
GotoTimeDialog
::
close
()
{
this
->
toggleVisible
();
}
modules/gui/qt4/dialogs/gototime.hpp
View file @
be1ee5f7
...
...
@@ -25,6 +25,8 @@
#include "util/qvlcframe.hpp"
class
QTimeEdit
;
class
GotoTimeDialog
:
public
QVLCFrame
{
Q_OBJECT
;
...
...
@@ -36,6 +38,7 @@ public:
return
instance
;
}
virtual
~
GotoTimeDialog
();
QTimeEdit
*
timeEdit
;
private:
GotoTimeDialog
(
intf_thread_t
*
);
...
...
modules/gui/qt4/dialogs/help.cpp
View file @
be1ee5f7
...
...
@@ -37,14 +37,14 @@ HelpDialog *HelpDialog::instance = NULL;
HelpDialog
::
HelpDialog
(
intf_thread_t
*
_p_intf
)
:
QVLCFrame
(
_p_intf
)
{
setWindowTitle
(
qtr
(
"Help"
)
);
resize
(
600
,
500
);
resize
(
600
,
500
);
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
QTextBrowser
*
helpBrowser
=
new
QTextBrowser
(
this
);
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
)
);
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
QTextBrowser
*
helpBrowser
=
new
QTextBrowser
(
this
);
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
)
);
layout
->
addWidget
(
helpBrowser
,
0
,
0
,
1
,
0
);
layout
->
addWidget
(
closeButton
,
1
,
3
);
layout
->
addWidget
(
helpBrowser
,
0
,
0
,
1
,
0
);
layout
->
addWidget
(
closeButton
,
1
,
3
);
BUTTONACT
(
closeButton
,
close
()
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment