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
56c0cb19
Commit
56c0cb19
authored
Sep 08, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - cleanup.
parent
c7023526
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+2
-7
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
56c0cb19
...
@@ -265,17 +265,14 @@ AdvControlsWidget::~AdvControlsWidget()
...
@@ -265,17 +265,14 @@ AdvControlsWidget::~AdvControlsWidget()
void
AdvControlsWidget
::
enableInput
(
bool
enable
)
void
AdvControlsWidget
::
enableInput
(
bool
enable
)
{
{
// slowerButton->setEnabled( enable );
ABButton
->
setEnabled
(
enable
);
ABButton
->
setEnabled
(
enable
);
recordButton
->
setEnabled
(
enable
);
recordButton
->
setEnabled
(
enable
);
normalButton
->
setEnabled
(
enable
);
normalButton
->
setEnabled
(
enable
);
// fasterButton->setEnabled( enable );
}
}
void
AdvControlsWidget
::
enableVideo
(
bool
enable
)
void
AdvControlsWidget
::
enableVideo
(
bool
enable
)
{
{
snapshotButton
->
setEnabled
(
enable
);
snapshotButton
->
setEnabled
(
enable
);
frameButton
->
setEnabled
(
enable
);
frameButton
->
setEnabled
(
enable
);
//fullscreenButton->setEnabled( enable );
}
}
void
AdvControlsWidget
::
normal
()
void
AdvControlsWidget
::
normal
()
...
@@ -339,7 +336,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) :
...
@@ -339,7 +336,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) :
advControls
=
new
AdvControlsWidget
(
p_intf
);
advControls
=
new
AdvControlsWidget
(
p_intf
);
controlLayout
->
addWidget
(
advControls
,
1
,
3
,
2
,
5
,
Qt
::
AlignBottom
);
controlLayout
->
addWidget
(
advControls
,
1
,
3
,
2
,
5
,
Qt
::
AlignBottom
);
if
(
!
b_advancedVisible
)
advControls
->
hide
();
if
(
!
b_advancedVisible
)
advControls
->
hide
();
//THIS should be removed. need_components_update = true;
//THIS should be removed. need_components_update = true;
/** Disc and Menus handling */
/** Disc and Menus handling */
discFrame
=
new
QFrame
(
this
);
discFrame
=
new
QFrame
(
this
);
...
@@ -387,7 +384,6 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) :
...
@@ -387,7 +384,6 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) :
QSizePolicy
sizePolicy
(
QSizePolicy
::
Maximum
,
QSizePolicy
::
Fixed
);
QSizePolicy
sizePolicy
(
QSizePolicy
::
Maximum
,
QSizePolicy
::
Fixed
);
sizePolicy
.
setHorizontalStretch
(
0
);
sizePolicy
.
setHorizontalStretch
(
0
);
sizePolicy
.
setVerticalStretch
(
0
);
sizePolicy
.
setVerticalStretch
(
0
);
// sizePolicy.setHeightForWidth( playButton->sizePolicy().hasHeightForWidth() );
/* Play */
/* Play */
playButton
=
new
QPushButton
;
playButton
=
new
QPushButton
;
...
@@ -451,7 +447,6 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) :
...
@@ -451,7 +447,6 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) :
/** Playlist Button **/
/** Playlist Button **/
playlistButton
=
new
QPushButton
;
playlistButton
=
new
QPushButton
;
setupSmallButton
(
playlistButton
);
setupSmallButton
(
playlistButton
);
controlLayout
->
addWidget
(
playlistButton
,
3
,
11
);
controlLayout
->
addWidget
(
playlistButton
,
3
,
11
);
/** extended Settings **/
/** extended Settings **/
...
@@ -585,8 +580,8 @@ void ControlsWidget::updateOnTimer()
...
@@ -585,8 +580,8 @@ void ControlsWidget::updateOnTimer()
/* Activate the interface buttons according to the presence of the input */
/* Activate the interface buttons according to the presence of the input */
enableInput
(
THEMIM
->
getIM
()
->
hasInput
()
);
enableInput
(
THEMIM
->
getIM
()
->
hasInput
()
);
enableVideo
(
true
);
//enableVideo( THEMIM->getIM()->hasVideo() );
//enableVideo( THEMIM->getIM()->hasVideo() );
enableVideo
(
true
);
}
}
void
ControlsWidget
::
setStatus
(
int
status
)
void
ControlsWidget
::
setStatus
(
int
status
)
...
...
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