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
4af342f9
Commit
4af342f9
authored
Jul 17, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Cosmetics on previous commit and comments.
parent
fada667b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+14
-2
No files found.
modules/gui/qt4/main_interface.cpp
View file @
4af342f9
...
...
@@ -222,6 +222,9 @@ MainInterface::~MainInterface()
p_intf
->
pf_control_window
=
NULL
;
}
/*****************************
* Main UI handling *
*****************************/
void
MainInterface
::
setVLCWindowsTitle
(
QString
aTitle
)
{
if
(
aTitle
.
isEmpty
()
)
...
...
@@ -305,6 +308,10 @@ void MainInterface::handleMainUi( QSettings *settings )
setMinimumSize
(
PREF_W
,
addSize
.
height
()
);
}
/*****************************************************************************
* Systray Icon and Systray Menu
*****************************************************************************/
/**
* Create a SystemTray icon and a menu that would go with it.
* Connects to a click handler on the icon.
...
...
@@ -328,19 +335,24 @@ void MainInterface::createSystray()
/**
* Update the menu of the Systray Icon.
* May be unneedded, since it just calls QVLCMenu::update
* FIXME !!!
**/
void
MainInterface
::
updateSystrayMenu
(
int
status
)
{
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
)
;
}
/**
* Updates the Systray Icon's menu and toggle the main interface
*/
void
MainInterface
::
toggleUpdateSystrayMenu
()
{
toggleVisible
();
QVLCMenu
::
updateSystrayMenu
(
this
,
p_intf
);
}
void
MainInterface
::
handleSystrayClick
(
QSystemTrayIcon
::
ActivationReason
reason
)
void
MainInterface
::
handleSystrayClick
(
QSystemTrayIcon
::
ActivationReason
reason
)
{
switch
(
reason
)
{
...
...
@@ -358,6 +370,7 @@ void MainInterface::handleSystrayClick( QSystemTrayIcon::ActivationReason reason
/**
* Updates the name of the systray Icon tooltip.
* Doesn't check if the systray exists, check before you call it.
* FIXME !!! Fusion with next function ?
**/
void
MainInterface
::
updateSystrayTooltipName
(
QString
name
)
{
...
...
@@ -806,7 +819,6 @@ void MainInterface::setName( QString name )
{
input_name
=
name
;
nameLabel
->
setText
(
" "
+
name
+
" "
);
}
void
MainInterface
::
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