diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-05-30 14:50:49 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-01 15:54:29 -0700 |
commit | 4b520a8fbc08136d2050fc39b80766725f650fac (patch) | |
tree | a9ea5d863ecacc4c76062d3a916bf5eb69dc5470 /qt-ui/divepicturewidget.h | |
parent | 1c34c831a4bd51a94d953828ea08ab0db3373049 (diff) | |
download | subsurface-4b520a8fbc08136d2050fc39b80766725f650fac.tar.gz |
Add a new widget on the main tab: Pictures.
Currently this does nothing, but since "dive photos" can also mean
photos that were taken during the trip to the dive, some of them
will not be visible on the profile. this currently shows nothing,
because I didn't work out the Model bits yet.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divepicturewidget.h')
-rw-r--r-- | qt-ui/divepicturewidget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/divepicturewidget.h b/qt-ui/divepicturewidget.h index 260d3caa7..7761db32b 100644 --- a/qt-ui/divepicturewidget.h +++ b/qt-ui/divepicturewidget.h @@ -16,10 +16,10 @@ class DivePictureDelegate : QStyledItemDelegate { virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const; }; -class DivePictureView : public QListView{ +class DivePictureWidget : public QListView{ Q_OBJECT public: - DivePictureView(QWidget *parent); + DivePictureWidget(QWidget *parent); }; class DivePictureThumbnailThread : public QThread { |