diff options
author | Arno <am@disconnect.de> | 2011-01-09 12:52:09 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2011-01-09 12:52:09 +0100 |
commit | f4a2553aa56939721bcd82d8ad9bffbaecd0647a (patch) | |
tree | fa8c2374d125c5b139a3977bbb3d450568076b21 /newmoviewizard.h | |
parent | 9603ec4b1e8cb85770f2d6b69dbe31a0fcff44f7 (diff) | |
download | SheMov-f4a2553aa56939721bcd82d8ad9bffbaecd0647a.tar.gz SheMov-f4a2553aa56939721bcd82d8ad9bffbaecd0647a.tar.bz2 SheMov-f4a2553aa56939721bcd82d8ad9bffbaecd0647a.zip |
Use pictureViewer in NewMovieWizard
Optionally show a frame or the picture in PictureViewer when clicking an
item in the file list.
Added a new function to SmGlobals::FrameCache: make it possible to
retrieve the path of the frame, also.
Diffstat (limited to 'newmoviewizard.h')
-rw-r--r-- | newmoviewizard.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newmoviewizard.h b/newmoviewizard.h index 93da626..abcf977 100644 --- a/newmoviewizard.h +++ b/newmoviewizard.h @@ -26,6 +26,7 @@ class WizardTreeModel; class SmTreeItem; class MovieInfoPage; class MovieMappingPage; +class PictureViewer; class NewMovieWizard : public QWizard { Q_OBJECT @@ -63,6 +64,7 @@ class MovieInfoPage : public QWizardPage { void setNextDvdNo(); void initModel(); void fileSelectionChanged(const QModelIndex ¤t, const QModelIndex &previous); + void itemClicked(const QModelIndex &index); private: void setupGui(); @@ -76,10 +78,12 @@ class MovieInfoPage : public QWizardPage { QPushButton *mRemoveFile; QComboBox *mFileType; QCheckBox *mOnDvd; + QCheckBox *mUsePicViewer; QPushButton *mNextDvdNo; WizardTreeModel *mFileModel; SmTreeItem *mMoviesItem; SmTreeItem *mCoversItem; + PictureViewer *mPicViewer; }; class MovieMappingPage : public QWizardPage { |