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
30d0aba7
Commit
30d0aba7
authored
Dec 21, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Use AutoRaise button for faster and slower in order to keep consistency in the interface.
parent
497b2dcc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+4
-4
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/components/interface_widgets.hpp
+2
-1
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
30d0aba7
...
...
@@ -411,15 +411,15 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
THEMIM
->
getIM
(),
sliderUpdate
(
float
)
);
/** Slower and faster Buttons **/
slowerButton
=
new
Q
Push
Button
;
slowerButton
->
set
Flat
(
true
);
slowerButton
=
new
Q
Tool
Button
;
slowerButton
->
set
AutoRaise
(
true
);
slowerButton
->
setMaximumSize
(
QSize
(
26
,
20
)
);
BUTTON_SET_ACT
(
slowerButton
,
"-"
,
qtr
(
"Slower"
),
slower
()
);
controlLayout
->
addWidget
(
slowerButton
,
0
,
0
);
fasterButton
=
new
Q
Push
Button
;
fasterButton
->
set
Flat
(
true
);
fasterButton
=
new
Q
Tool
Button
;
fasterButton
->
set
AutoRaise
(
true
);
fasterButton
->
setMaximumSize
(
QSize
(
26
,
20
)
);
BUTTON_SET_ACT
(
fasterButton
,
"+"
,
qtr
(
"Faster"
),
faster
()
);
...
...
modules/gui/qt4/components/interface_widgets.hpp
View file @
30d0aba7
...
...
@@ -141,6 +141,7 @@ class QGridLayout;
class
VolumeClickHandler
;
class
SoundSlider
;
class
QAbstractSlider
;
class
QToolButton
;
class
ControlsWidget
:
public
QFrame
{
...
...
@@ -169,7 +170,7 @@ private:
InputSlider
*
slider
;
QPushButton
*
prevSectionButton
,
*
nextSectionButton
,
*
menuButton
;
QPushButton
*
playButton
,
*
fullscreenButton
;
Q
Push
Button
*
slowerButton
,
*
fasterButton
;
Q
Tool
Button
*
slowerButton
,
*
fasterButton
;
AdvControlsWidget
*
advControls
;
QLabel
*
volMuteLabel
;
QAbstractSlider
*
volumeSlider
;
...
...
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