Commit 2890aa1b authored by Ludovic Fauvet's avatar Ludovic Fauvet

GUI: fullscreen mode

parent ed59ed1e
......@@ -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();
}
......@@ -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();
......
......@@ -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>27</height>
<height>26</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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment