summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index b79f6be..8440b8b 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -47,6 +47,7 @@
#include "archivetreeview.h"
#include "smmodelsingleton.h"
#include "seriestreewidget.h"
+#include "newmoviewizard.h"
SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags), mOpenWithGroupFS(0), mOpenWithGroupAV(0) {
qApp->setWindowIcon(QIcon(":/shemov.png"));
@@ -106,6 +107,8 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla
connect(mFSWidget->dirModel(), SIGNAL(layoutChanged()), this, SLOT(setFsFree()));
connect(mFSWidget->dirModel(), SIGNAL(rowsRemoved(QModelIndex,int,int)), this, SLOT(setFsFree()));
+ //NewMovieWizard = new NewMovieWizard(this);
+
QWidget *centralWidget = new QWidget;
centralWidget->setLayout(mainLayout);
setCentralWidget(centralWidget);
@@ -245,6 +248,11 @@ void SheMov::showStatistics(){
dlg.exec();
}
+void SheMov::newMovieWizard(){
+ NewMovieWizard wiz(this);
+ wiz.exec();
+}
+
void SheMov::createStatusbar(){
QLabel *selSizeL = new QLabel(tr("Sel. Size"));
mSelectedSize = new QLabel(tr("nothing selected yet"));
@@ -370,6 +378,8 @@ void SheMov::createActions(){
connect(mCollapseAllSeriesA, SIGNAL(triggered()), mATree->seriesWidget()->seriesTree(), SLOT(collapseAll()));
mExpandCurrentA = new QAction(tr("Expand"), this);
connect(mExpandCurrentA, SIGNAL(triggered()), mATree->seriesWidget(), SLOT(expandCurrent()));
+ mNewMovieWizardA = new QAction(tr("Archive movie..."), this);
+ connect(mNewMovieWizardA, SIGNAL(triggered()), this, SLOT(newMovieWizard()));
// misc
mOpenWithMapperFS = new QSignalMapper(this);
@@ -383,6 +393,8 @@ void SheMov::createMenus(){
QMenu *fileMenu = new QMenu(tr("&File"), this);
fileMenu->addAction(mPlaySelectedFSA);
fileMenu->addSeparator();
+ fileMenu->addAction(mNewMovieWizardA);
+ fileMenu->addSeparator();
fileMenu->addAction(mQuitA);
mEditFSMenu = new QMenu(tr("&Edit"), this);
mEditFSMenu->addAction(mCdupA);