From b0ed5d04a5934be074383541026d49afc0804adb Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 23 Aug 2011 16:35:44 +0200 Subject: Hmm, checking out treemodel again. This seems way too complex... --- propertiesdialog.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'propertiesdialog.h') diff --git a/propertiesdialog.h b/propertiesdialog.h index d881ec7..9d23dbd 100644 --- a/propertiesdialog.h +++ b/propertiesdialog.h @@ -8,6 +8,8 @@ #ifndef PROPERTIESDIALOG_H #define PROPERTIESDIALOG_H +#include + #include "smdialog.h" class SmTreeModel; @@ -27,6 +29,9 @@ class PropertiesDialog : public SmDialog { virtual ~PropertiesDialog(); void populate(int seriesPartId); + private slots: + void showPicture(QModelIndex current, QModelIndex previous); + private: void setupGui(); SmTreeModel *mDisplayModel; @@ -35,6 +40,8 @@ class PropertiesDialog : public SmDialog { int mCurrentId; QLabel *mCaption; QSplitter *mSplitter; + QWidget *mPicTab; + QLabel *mPictureLabel; QTreeView *mFileView; QTabWidget *mTab; QPushButton *mOk; -- cgit v1.2.3-70-g09d2