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
ff6613e3
Commit
ff6613e3
authored
Nov 05, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Unification of Hotkeys for Sprefs et Adv Preferences.
parent
0b8e11bd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
12 deletions
+24
-12
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.cpp
+8
-8
modules/gui/qt4/components/preferences_widgets.hpp
modules/gui/qt4/components/preferences_widgets.hpp
+0
-1
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+16
-3
No files found.
modules/gui/qt4/components/preferences_widgets.cpp
View file @
ff6613e3
...
...
@@ -1016,7 +1016,7 @@ KeySelectorControl::KeySelectorControl( vlc_object_t *_p_this,
}
else
{
l
->
addWidget
(
keyContainer
,
0
,
0
,
1
,
2
);
l
->
addWidget
(
keyContainer
,
line
,
0
,
1
,
2
);
}
CONNECT
(
clearButton
,
clicked
(),
shortcutValue
,
clear
()
);
BUTTONACT
(
setButton
,
setTheKey
()
);
...
...
modules/gui/qt4/components/preferences_widgets.hpp
View file @
ff6613e3
...
...
@@ -451,7 +451,6 @@ private:
QTreeWidget
*
table
;
KeyShortcutEdit
*
shortcutValue
;
QList
<
module_config_t
*>
values
;
//QWidget *parent;
private
slots
:
void
setTheKey
();
void
selectKey
(
QTreeWidgetItem
*
=
NULL
);
...
...
modules/gui/qt4/components/simple_preferences.cpp
View file @
ff6613e3
...
...
@@ -420,9 +420,22 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
END_SPREFS_CAT
;
START_SPREFS_CAT
(
Hotkeys
,
"Configure Hotkeys"
);
//FIMXE
END_SPREFS_CAT
;
case
SPrefsHotkeys
:
{
p_config
=
config_FindConfig
(
VLC_OBJECT
(
p_intf
),
"key-fullscreen"
);
QGridLayout
*
gLayout
=
new
QGridLayout
;
panel
->
setLayout
(
gLayout
);
int
line
=
0
;
KeySelectorControl
*
ksCtrl
=
new
KeySelectorControl
(
VLC_OBJECT
(
p_intf
),
p_config
,
this
,
gLayout
,
line
);
panel_label
->
setText
(
qtr
(
"Configure Hotkeys"
)
);
break
;
}
}
panel_layout
->
addWidget
(
panel_label
);
...
...
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