summaryrefslogtreecommitdiffstats
path: root/propertiesdialog.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2011-08-23 16:35:44 +0200
committerArno <am@disconnect.de>2011-08-23 16:35:44 +0200
commitb0ed5d04a5934be074383541026d49afc0804adb (patch)
treef60416e4cde15fce91cc7fecad5f73fa4e0a222e /propertiesdialog.h
parent50783b0819531087266c626fa6066e8233bb0692 (diff)
downloadSheMov-b0ed5d04a5934be074383541026d49afc0804adb.tar.gz
SheMov-b0ed5d04a5934be074383541026d49afc0804adb.tar.bz2
SheMov-b0ed5d04a5934be074383541026d49afc0804adb.zip
Hmm, checking out treemodel again. This seems way too complex...
Diffstat (limited to 'propertiesdialog.h')
-rw-r--r--propertiesdialog.h7
1 files changed, 7 insertions, 0 deletions
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 <QModelIndex>
+
#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;