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
0b8e11bd
Commit
0b8e11bd
authored
Nov 05, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - make GNOME and KDE people happy.
parent
3e8d0beb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.cpp
+9
-7
No files found.
modules/gui/qt4/components/preferences_widgets.cpp
View file @
0b8e11bd
...
...
@@ -45,6 +45,7 @@
#include <QGroupBox>
#include <QTreeWidgetItem>
#include <QSignalMapper>
#include <QDialogButtonBox>
QString
formatTooltip
(
const
QString
&
tooltip
)
{
...
...
@@ -1120,6 +1121,7 @@ KeyInputDialog::KeyInputDialog( QList<module_config_t*>& _values,
values
=
_values
;
conflicts
=
false
;
keyToChange
=
_keyToChange
;
setWindowTitle
(
qtr
(
"Hotkey for "
)
+
qfu
(
keyToChange
)
);
QVBoxLayout
*
l
=
new
QVBoxLayout
(
this
);
...
...
@@ -1128,16 +1130,16 @@ KeyInputDialog::KeyInputDialog( QList<module_config_t*>& _values,
l
->
addWidget
(
selected
,
Qt
::
AlignCenter
);
l
->
addWidget
(
warning
,
Qt
::
AlignCenter
);
Q
HBoxLayout
*
l2
=
new
QHBoxLayout
()
;
Q
DialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
;
QPushButton
*
ok
=
new
QPushButton
(
qtr
(
"OK"
)
);
l2
->
addWidget
(
ok
);
QPushButton
*
cancel
=
new
QPushButton
(
qtr
(
"Cancel"
)
);
l2
->
addWidget
(
cancel
);
BUTTONACT
(
ok
,
accept
()
);
BUTTONACT
(
cancel
,
reject
()
);
buttonBox
->
addButton
(
ok
,
QDialogButtonBox
::
AcceptRole
);
buttonBox
->
addButton
(
cancel
,
QDialogButtonBox
::
RejectRole
);
l
->
addLayout
(
l2
);
l
->
addWidget
(
buttonBox
);
CONNECT
(
buttonBox
,
accepted
(),
this
,
accept
()
);
CONNECT
(
buttonBox
,
rejected
(),
this
,
reject
()
);
}
void
KeyInputDialog
::
checkForConflicts
(
int
i_vlckey
)
...
...
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