From f4a2553aa56939721bcd82d8ad9bffbaecd0647a Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 9 Jan 2011 12:52:09 +0100 Subject: 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. --- newmoviewizard.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'newmoviewizard.h') 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 { -- cgit v1.2.3-70-g09d2