Commit 60077905 authored by Clement CHAVANCE's avatar Clement CHAVANCE

added a project wizard to the mainwindow

parent 5e476aa2
......@@ -68,6 +68,7 @@ MainWindow::MainWindow( QWidget *parent ) :
createStatusBar();
VLMCSettingsDefault::load( "default" );
VLMCSettingsDefault::load( "VLMC" );
m_pWizard = new ProjectWizard( this );
createGlobalPreferences();
createProjectPreferences();
......@@ -458,3 +459,9 @@ void MainWindow::on_actionProject_Preferences_triggered()
{
m_projectPreferences->show( "project" );
}
void MainWindow::on_actionProject_Wizard_triggered()
{
m_pWizard->show();
}
......@@ -40,6 +40,7 @@
#include "Settings.h"
#include "EffectsEngine.h"
#include "MainWorkflow.h"
#include "ProjectWizard.h"
class MainWindow : public QMainWindow
{
......@@ -75,6 +76,7 @@ private:
Settings* m_globalPreferences;
Settings* m_DefaultProjectPreferences;
Settings* m_projectPreferences;
ProjectWizard* m_pWizard;
private slots:
void on_actionBypass_effects_engine_toggled(bool );
......@@ -90,6 +92,7 @@ private slots:
void on_actionImport_triggered();
void on_actionHelp_triggered();
void on_actionProject_Preferences_triggered();
void on_actionProject_Wizard_triggered();
void mediaListItemDoubleClicked( QListWidgetItem* );
void toolButtonClicked( int id );
......
......@@ -27,7 +27,7 @@
<x>0</x>
<y>0</y>
<width>800</width>
<height>23</height>
<height>26</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
......@@ -68,6 +68,7 @@
<string>Tools</string>
</property>
<addaction name="actionTranscode"/>
<addaction name="actionProject_Wizard"/>
</widget>
<widget class="QMenu" name="menuWindow">
<property name="title">
......@@ -206,6 +207,11 @@
<string>Project Preferences</string>
</property>
</action>
<action name="actionProject_Wizard">
<property name="text">
<string>Project Wizard</string>
</property>
</action>
</widget>
<resources>
<include location="../../../ressources.qrc"/>
......
......@@ -200,6 +200,7 @@ INCLUDEPATH += src/LibVLCpp \
src/GUI/widgets \
src/GUI/Library \
src/GUI/Import \
src/GUI/wizard \
src/Tools \
src/Renderer \
src/Metadata \
......
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