Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
25964f0e
Commit
25964f0e
authored
Apr 01, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4 - GotoTime dialog button, with handling for KDE/Gnome fanatics.
parent
c0060315
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
modules/gui/qt4/dialogs/gototime.cpp
modules/gui/qt4/dialogs/gototime.cpp
+11
-4
No files found.
modules/gui/qt4/dialogs/gototime.cpp
View file @
25964f0e
/*****************************************************************************
* GotoTime.cpp : GotoTime and About dialogs
****************************************************************************
* Copyright (C) 2006 the VideoLAN team
* Copyright (C) 2006
-2007
the VideoLAN team
* $Id: Messages.cpp 16024 2006-07-13 13:51:05Z xtophe $
*
* Authors: Jean-Baptiste Kempf <jb (at) videolan.org>
...
...
@@ -32,6 +32,7 @@
#include <QLabel>
#include <QTimeEdit>
#include <QGroupBox>
#include <QDialogButtonBox>
GotoTimeDialog
*
GotoTimeDialog
::
instance
=
NULL
;
...
...
@@ -42,7 +43,12 @@ GotoTimeDialog::GotoTimeDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
QGridLayout
*
mainLayout
=
new
QGridLayout
(
this
);
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
)
);
QPushButton
*
gotoButton
=
new
QPushButton
(
qtr
(
"&Go"
)
);
QPushButton
*
cancelButton
=
new
QPushButton
(
qtr
(
"&Cancel"
)
);
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
;
buttonBox
->
addButton
(
gotoButton
,
QDialogButtonBox
::
AcceptRole
);
buttonBox
->
addButton
(
cancelButton
,
QDialogButtonBox
::
RejectRole
);
QGroupBox
*
timeGroupBox
=
new
QGroupBox
(
"Time"
);
QGridLayout
*
boxLayout
=
new
QGridLayout
(
timeGroupBox
);
...
...
@@ -73,9 +79,10 @@ GotoTimeDialog::GotoTimeDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
mainLayout
->
addWidget
(
timeGroupBox
,
0
,
0
,
1
,
4
);
mainLayout
->
addItem
(
spacerItem
,
1
,
0
);
mainLayout
->
addWidget
(
closeButton
,
2
,
3
);
mainLayout
->
addWidget
(
buttonBox
,
2
,
3
);
BUTTONACT
(
closeButton
,
close
()
);
BUTTONACT
(
gotoButton
,
close
()
);
BUTTONACT
(
cancelButton
,
cancel
()
);
}
GotoTimeDialog
::~
GotoTimeDialog
()
...
...
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