Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLMC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
VLMC
Commits
2890aa1b
Commit
2890aa1b
authored
Apr 25, 2009
by
Ludovic Fauvet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GUI: fullscreen mode
parent
ed59ed1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
5 deletions
+24
-5
src/gui/MainWindow.cpp
src/gui/MainWindow.cpp
+8
-0
src/gui/MainWindow.h
src/gui/MainWindow.h
+1
-0
src/gui/ui/MainWindow.ui
src/gui/ui/MainWindow.ui
+15
-5
No files found.
src/gui/MainWindow.cpp
View file @
2890aa1b
...
...
@@ -187,3 +187,11 @@ void MainWindow::zoomOut()
{
m_zoomSlider
->
setValue
(
m_zoomSlider
->
value
()
+
1
);
}
void
MainWindow
::
on_actionFullscreen_triggered
(
bool
checked
)
{
if
(
checked
)
showFullScreen
();
else
showNormal
();
}
src/gui/MainWindow.h
View file @
2890aa1b
...
...
@@ -60,6 +60,7 @@ private:
Timeline
*
m_timeline
;
private
slots
:
void
on_actionFullscreen_triggered
(
bool
checked
);
void
on_actionQuit_triggered
();
void
on_actionAbout_triggered
();
void
on_actionPreferences_triggered
();
...
...
src/gui/ui/MainWindow.ui
View file @
2890aa1b
...
...
@@ -14,7 +14,7 @@
<string>
VideoLAN Movie Creator
</string>
</property>
<property
name=
"windowIcon"
>
<iconset
resource=
"../../../ressources.qrc"
>
<iconset>
<normaloff>
:/images/images/vlmc.png
</normaloff>
:/images/images/vlmc.png
</iconset>
</property>
<property
name=
"dockNestingEnabled"
>
...
...
@@ -27,7 +27,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
800
</width>
<height>
2
7
</height>
<height>
2
6
</height>
</rect>
</property>
<widget
class=
"QMenu"
name=
"menuFile"
>
...
...
@@ -49,6 +49,7 @@
<property
name=
"title"
>
<string>
View
</string>
</property>
<addaction
name=
"actionFullscreen"
/>
</widget>
<widget
class=
"QMenu"
name=
"menuEffets"
>
<property
name=
"title"
>
...
...
@@ -147,9 +148,18 @@
<string>
Ctrl+O
</string>
</property>
</action>
<action
name=
"actionFullscreen"
>
<property
name=
"checkable"
>
<bool>
true
</bool>
</property>
<property
name=
"text"
>
<string>
Fullscreen
</string>
</property>
<property
name=
"shortcut"
>
<string>
F
</string>
</property>
</action>
</widget>
<resources>
<include
location=
"../../../ressources.qrc"
/>
</resources>
<resources/>
<connections/>
</ui>
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