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
62dc9260
Commit
62dc9260
authored
Dec 29, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: cosmetic on Main_Interface.
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
212ac2d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+2
-3
modules/gui/qt4/main_interface.hpp
modules/gui/qt4/main_interface.hpp
+7
-9
No files found.
modules/gui/qt4/main_interface.cpp
View file @
62dc9260
...
@@ -151,15 +151,14 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
...
@@ -151,15 +151,14 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
**************************/
**************************/
/* Connect the input manager to the GUI elements it manages */
/* Connect the input manager to the GUI elements it manages */
/**
/**
* Connects on nameChanged()
* Connects on nameChanged()
* Those connects are not merged because different options can trigger
* Those connects are not merged because different options can trigger
* them down.
* them down.
*/
*/
/* Naming in the controller statusbar */
/* Naming in the controller statusbar */
CONNECT
(
THEMIM
->
getIM
(),
nameChanged
(
QString
),
this
,
CONNECT
(
THEMIM
->
getIM
(),
nameChanged
(
QString
),
setName
(
QString
)
);
this
,
setName
(
QString
)
);
/* and in the systray */
/* and in the systray */
if
(
sysTray
)
if
(
sysTray
)
{
{
...
...
modules/gui/qt4/main_interface.hpp
View file @
62dc9260
...
@@ -66,7 +66,6 @@ class MainInterface : public QVLCMW
...
@@ -66,7 +66,6 @@ class MainInterface : public QVLCMW
{
{
Q_OBJECT
;
Q_OBJECT
;
friend
class
VolumeClickHandler
;
friend
class
InteractionDialog
;
friend
class
InteractionDialog
;
friend
class
PlaylistWidget
;
friend
class
PlaylistWidget
;
...
@@ -87,7 +86,8 @@ public:
...
@@ -87,7 +86,8 @@ public:
int
getControlsVisibilityStatus
();
int
getControlsVisibilityStatus
();
/* Sizehint() */
/* Sizehint() */
QSize
sizeHint
()
const
;
virtual
QSize
sizeHint
()
const
;
protected:
protected:
// void resizeEvent( QResizeEvent * );
// void resizeEvent( QResizeEvent * );
void
dropEvent
(
QDropEvent
*
);
void
dropEvent
(
QDropEvent
*
);
...
@@ -105,8 +105,6 @@ private:
...
@@ -105,8 +105,6 @@ private:
QVBoxLayout
*
mainLayout
;
QVBoxLayout
*
mainLayout
;
ControlsWidget
*
controls
;
ControlsWidget
*
controls
;
FullscreenControllerWidget
*
fullscreenControls
;
FullscreenControllerWidget
*
fullscreenControls
;
QMenu
*
speedControlMenu
;
SpeedControlWidget
*
speedControl
;
void
handleMainUi
(
QSettings
*
);
void
handleMainUi
(
QSettings
*
);
void
askForPrivacy
();
void
askForPrivacy
();
...
@@ -115,9 +113,9 @@ private:
...
@@ -115,9 +113,9 @@ private:
/* Systray */
/* Systray */
void
handleSystray
();
void
handleSystray
();
void
createSystray
();
void
createSystray
();
void
initSystray
();
void
createStatusBar
();
void
createStatusBar
();
void
initSystray
();
/* Video */
/* Video */
VideoWidget
*
videoWidget
;
VideoWidget
*
videoWidget
;
...
@@ -126,13 +124,13 @@ private:
...
@@ -126,13 +124,13 @@ private:
VisualSelector
*
visualSelector
;
VisualSelector
*
visualSelector
;
PlaylistWidget
*
playlistWidget
;
PlaylistWidget
*
playlistWidget
;
bool
videoIsActive
;
///< Having a video now / THEMIM->hasV
bool
videoIsActive
;
///< Having a video now / THEMIM->hasV
bool
videoEmbeddedFlag
;
///< Want an external Video Window
bool
videoEmbeddedFlag
;
///< Want an external Video Window
bool
playlistVisible
;
///< Is the playlist visible ?
bool
playlistVisible
;
///< Is the playlist visible ?
bool
visualSelectorEnabled
;
bool
visualSelectorEnabled
;
bool
notificationEnabled
;
/// Systray Notifications
bool
notificationEnabled
;
/// Systray Notifications
bool
bgWasVisible
;
bool
bgWasVisible
;
int
i_visualmode
;
///< Visual Mode
int
i_visualmode
;
///< Visual Mode
pl_dock_e
i_pl_dock
;
pl_dock_e
i_pl_dock
;
bool
isDocked
()
{
return
(
i_pl_dock
!=
PL_UNDOCKED
);
}
bool
isDocked
()
{
return
(
i_pl_dock
!=
PL_UNDOCKED
);
}
...
...
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