Commit 60077905 authored by Clement CHAVANCE's avatar Clement CHAVANCE
Browse files

added a project wizard to the mainwindow

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