Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
0f0e2e4d
Commit
0f0e2e4d
authored
Feb 23, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Add the hotkeys-mousewheel configuration to simple preferences.
parent
7ac20417
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.cpp
+1
-1
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+6
-1
No files found.
modules/gui/qt4/components/preferences_widgets.cpp
View file @
0f0e2e4d
...
...
@@ -1164,7 +1164,7 @@ KeySelectorControl::KeySelectorControl( vlc_object_t *_p_this,
gLayout
->
addWidget
(
shortcutValue
,
3
,
1
,
1
,
2
);
gLayout
->
addWidget
(
setButton
,
3
,
3
,
1
,
1
);
l
->
addWidget
(
keyContainer
,
line
,
0
,
1
,
2
);
l
->
addWidget
(
keyContainer
,
line
,
0
,
1
,
-
1
);
CONNECT
(
clearButton
,
clicked
(),
shortcutValue
,
clear
()
);
CONNECT
(
clearButton
,
clicked
(),
this
,
setTheKey
()
);
...
...
modules/gui/qt4/components/simple_preferences.cpp
View file @
0f0e2e4d
...
...
@@ -552,10 +552,15 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
panel
->
setLayout
(
gLayout
);
int
line
=
0
;
panel_label
->
setText
(
qtr
(
"Configure Hotkeys"
)
);
control
=
new
KeySelectorControl
(
VLC_OBJECT
(
p_intf
),
p_config
,
this
,
gLayout
,
line
);
controls
.
append
(
control
);
panel_label
->
setText
(
qtr
(
"Configure Hotkeys"
)
);
line
++
;
p_config
=
config_FindConfig
(
VLC_OBJECT
(
p_intf
),
"hotkeys-mousewheel-mode"
);
control
=
new
IntegerListConfigControl
(
VLC_OBJECT
(
p_intf
),
p_config
,
false
,
this
,
gLayout
,
line
);
controls
.
append
(
control
);
break
;
...
...
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