Commit b2946fa5 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Add some status tips.

parent 4209c4d5
......@@ -319,6 +319,7 @@ void MainWindow::createStatusBar()
mouseTool->setAutoRaise( true );
mouseTool->setCheckable( true );
mouseTool->setIcon( QIcon( ":/images/mouse" ) );
mouseTool->setStatusTip( tr( "Use the mouse tool to manipulate regions in the timeline" ) );
m_ui.statusbar->addPermanentWidget( mouseTool );
// Cut/Split tool
......@@ -326,6 +327,7 @@ void MainWindow::createStatusBar()
splitTool->setAutoRaise( true );
splitTool->setCheckable( true );
splitTool->setIcon( QIcon( ":/images/editcut" ) );
splitTool->setStatusTip( tr( "Use the scissors to cut regions in the timeline" ) );
m_ui.statusbar->addPermanentWidget( splitTool );
// Group the two previous buttons
......@@ -352,6 +354,7 @@ void MainWindow::createStatusBar()
// Zoom Out
QToolButton* zoomOutButton = new QToolButton( this );
zoomOutButton->setIcon( QIcon( ":/images/zoomout" ) );
zoomOutButton->setStatusTip( tr( "Zoom out" ) );
m_ui.statusbar->addPermanentWidget( zoomOutButton );
connect( zoomOutButton, SIGNAL( clicked() ),
this, SLOT( zoomOut() ) );
......@@ -372,6 +375,7 @@ void MainWindow::createStatusBar()
// Zoom IN
QToolButton* zoomInButton = new QToolButton( this );
zoomInButton->setIcon( QIcon( ":/images/zoomin" ) );
zoomInButton->setStatusTip( tr( "Zoom in" ) );
m_ui.statusbar->addPermanentWidget( zoomInButton );
connect( zoomInButton, SIGNAL( clicked() ),
this, SLOT( zoomIn() ) );
......
......@@ -54,11 +54,14 @@
<height>30</height>
</size>
</property>
<property name="statusTip">
<string>Go to the previous frame</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../ressources.qrc">
<iconset resource="../../../../ressources.qrc">
<normaloff>:/images/images/previous_frame.png</normaloff>:/images/images/previous_frame.png</iconset>
</property>
<property name="iconSize">
......@@ -89,11 +92,14 @@
<height>30</height>
</size>
</property>
<property name="statusTip">
<string>Play / Pause</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../ressources.qrc">
<iconset resource="../../../../ressources.qrc">
<normaloff>:/images/play</normaloff>:/images/play</iconset>
</property>
<property name="iconSize">
......@@ -124,11 +130,14 @@
<height>30</height>
</size>
</property>
<property name="statusTip">
<string>Go to the next frame</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../ressources.qrc">
<iconset resource="../../../../ressources.qrc">
<normaloff>:/images/images/next_frame.png</normaloff>:/images/images/next_frame.png</iconset>
</property>
<property name="iconSize">
......@@ -159,11 +168,14 @@
<height>30</height>
</size>
</property>
<property name="statusTip">
<string>Set marker A</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../ressources.qrc">
<iconset resource="../../../../ressources.qrc">
<normaloff>:/images/marker_start</normaloff>:/images/marker_start</iconset>
</property>
<property name="iconSize">
......@@ -194,11 +206,14 @@
<height>30</height>
</size>
</property>
<property name="statusTip">
<string>Set marker B</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../ressources.qrc">
<iconset resource="../../../../ressources.qrc">
<normaloff>:/images/marker_stop</normaloff>:/images/marker_stop</iconset>
</property>
<property name="iconSize">
......@@ -229,11 +244,14 @@
<height>30</height>
</size>
</property>
<property name="statusTip">
<string>Cut at markers position</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../ressources.qrc">
<iconset resource="../../../../ressources.qrc">
<normaloff>:/images/editcut</normaloff>:/images/editcut</iconset>
</property>
</widget>
......@@ -271,11 +289,14 @@
<height>30</height>
</size>
</property>
<property name="statusTip">
<string>Stop the playback</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../ressources.qrc">
<iconset resource="../../../../ressources.qrc">
<normaloff>:/images/images/stop.png</normaloff>:/images/images/stop.png</iconset>
</property>
<property name="iconSize">
......@@ -343,7 +364,7 @@
</customwidget>
</customwidgets>
<resources>
<include location="../../../ressources.qrc"/>
<include location="../../../../ressources.qrc"/>
</resources>
<connections/>
</ui>
......@@ -30,22 +30,6 @@
<height>23</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>File</string>
</property>
<addaction name="actionNew_Project"/>
<addaction name="actionLoad_Project"/>
<addaction name="actionClose_Project"/>
<addaction name="separator"/>
<addaction name="actionSave"/>
<addaction name="actionSave_As"/>
<addaction name="separator"/>
<addaction name="actionImport"/>
<addaction name="actionRender"/>
<addaction name="separator"/>
<addaction name="actionQuit"/>
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
<string>Edit</string>
......@@ -90,6 +74,22 @@
<addaction name="separator"/>
<addaction name="actionAbout"/>
</widget>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>File</string>
</property>
<addaction name="actionNew_Project"/>
<addaction name="actionLoad_Project"/>
<addaction name="actionClose_Project"/>
<addaction name="separator"/>
<addaction name="actionSave"/>
<addaction name="actionSave_As"/>
<addaction name="separator"/>
<addaction name="actionImport"/>
<addaction name="actionRender"/>
<addaction name="separator"/>
<addaction name="actionQuit"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuEdit"/>
<addaction name="menuView"/>
......@@ -151,6 +151,9 @@
<property name="text">
<string>New Project</string>
</property>
<property name="statusTip">
<string>Open the wizard to create a new project</string>
</property>
</action>
<action name="actionFullscreen">
<property name="checkable">
......@@ -164,6 +167,9 @@
<property name="text">
<string>Render</string>
</property>
<property name="statusTip">
<string>Render your project</string>
</property>
</action>
<action name="actionLoad_Project">
<property name="text">
......@@ -179,6 +185,9 @@
<property name="text">
<string>Import</string>
</property>
<property name="statusTip">
<string>Import new medias into the current project</string>
</property>
</action>
<action name="actionBypass_effects_engine">
<property name="checkable">
......
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