Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLMC
Commits
60077905
Commit
60077905
authored
Nov 20, 2009
by
Clement CHAVANCE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added a project wizard to the mainwindow
parent
5e476aa2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
1 deletion
+18
-1
src/GUI/MainWindow.cpp
src/GUI/MainWindow.cpp
+7
-0
src/GUI/MainWindow.h
src/GUI/MainWindow.h
+3
-0
src/GUI/ui/MainWindow.ui
src/GUI/ui/MainWindow.ui
+7
-1
vlmc.pro
vlmc.pro
+1
-0
No files found.
src/GUI/MainWindow.cpp
View file @
60077905
...
...
@@ -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
();
}
src/GUI/MainWindow.h
View file @
60077905
...
...
@@ -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
);
...
...
src/GUI/ui/MainWindow.ui
View file @
60077905
...
...
@@ -27,7 +27,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
800
</width>
<height>
2
3
</height>
<height>
2
6
</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"
/>
...
...
vlmc.pro
View file @
60077905
...
...
@@ -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
\
...
...
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