Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
3bbef100
Commit
3bbef100
authored
Aug 20, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Comments about TODO and FIXMEs on the main_interface, for my holidays :D
parent
ee8809f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
2 deletions
+30
-2
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+24
-2
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+6
-0
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
3bbef100
...
@@ -284,6 +284,14 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i ) :
...
@@ -284,6 +284,14 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i ) :
controlLayout
->
addWidget
(
fasterButton
,
0
,
16
);
controlLayout
->
addWidget
(
fasterButton
,
0
,
16
);
fasterButton
->
setMaximumSize
(
QSize
(
26
,
20
)
);
fasterButton
->
setMaximumSize
(
QSize
(
26
,
20
)
);
/** TODO: Insert here the AdvControls Widget
* and add - A->B button
* - frame by frame
* - record button
* and put the snapshot in the same QFrame
* Then fix all the size issues in main_interface.cpp
**/
/** Disc and Menus handling */
/** Disc and Menus handling */
discFrame
=
new
QFrame
(
this
);
discFrame
=
new
QFrame
(
this
);
QHBoxLayout
*
discLayout
=
new
QHBoxLayout
(
discFrame
);
QHBoxLayout
*
discLayout
=
new
QHBoxLayout
(
discFrame
);
...
@@ -316,6 +324,10 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i ) :
...
@@ -316,6 +324,10 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i ) :
CONNECT
(
menuButton
,
clicked
(),
THEMIM
->
getIM
(),
CONNECT
(
menuButton
,
clicked
(),
THEMIM
->
getIM
(),
sectionMenu
()
);
sectionMenu
()
);
/** TODO
* Telextext QFrame
**/
/** Play Buttons **/
/** Play Buttons **/
QSizePolicy
sizePolicy
(
QSizePolicy
::
Maximum
,
QSizePolicy
::
Fixed
);
QSizePolicy
sizePolicy
(
QSizePolicy
::
Maximum
,
QSizePolicy
::
Fixed
);
sizePolicy
.
setHorizontalStretch
(
0
);
sizePolicy
.
setHorizontalStretch
(
0
);
...
@@ -406,6 +418,14 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i ) :
...
@@ -406,6 +418,14 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i ) :
volMuteLabel
->
setToolTip
(
qtr
(
"Mute"
)
);
volMuteLabel
->
setToolTip
(
qtr
(
"Mute"
)
);
volMuteLabel
->
installEventFilter
(
h
);
volMuteLabel
->
installEventFilter
(
h
);
/** TODO:
* Change this slider to use a nice Amarok-like one
* Add a Context menu to change to the most useful %
* **/
/** FIXME
* THis percerntage thing has to be handled correctly
* This has to match to the OSD
**/
volumeSlider
=
new
QSlider
;
volumeSlider
=
new
QSlider
;
volumeSlider
->
setSizePolicy
(
sizePolicy
);
volumeSlider
->
setSizePolicy
(
sizePolicy
);
volumeSlider
->
setMaximumSize
(
QSize
(
80
,
200
)
);
volumeSlider
->
setMaximumSize
(
QSize
(
80
,
200
)
);
...
@@ -520,9 +540,11 @@ void ControlsWidget::setStatus( int status )
...
@@ -520,9 +540,11 @@ void ControlsWidget::setStatus( int status )
}
}
}
}
/*
/**
* TODO
* This functions toggle the fullscreen mode
* This functions toggle the fullscreen mode
* If there is no video, it should first activate Visualisations... TODO
* If there is no video, it should first activate Visualisations...
* This has also to be fixed in enableVideo()
*/
*/
void
ControlsWidget
::
fullscreen
()
void
ControlsWidget
::
fullscreen
()
{
{
...
...
modules/gui/qt4/main_interface.cpp
View file @
3bbef100
...
@@ -139,6 +139,12 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
...
@@ -139,6 +139,12 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
advControlsEnabled
,
visualSelectorEnabled
);
advControlsEnabled
,
visualSelectorEnabled
);
/* Status Bar */
/* Status Bar */
/**
* TODO: clicking on the elapsed time should switch to the remaining time
**/
/**
* TODO: do we add a label for the current Volume
**/
timeLabel
=
new
QLabel
;
timeLabel
=
new
QLabel
;
nameLabel
=
new
QLabel
;
nameLabel
=
new
QLabel
;
speedLabel
=
new
QLabel
(
"1.0x"
);
speedLabel
=
new
QLabel
(
"1.0x"
);
...
...
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