#ifndef DIVEPICTUREWIDGET_H #define DIVEPICTUREWIDGET_H #include #include #include #include class DivePictureWidget : public QListView { Q_OBJECT public: DivePictureWidget(QWidget *parent); protected: void mousePressEvent(QMouseEvent *event) Q_DECL_OVERRIDE; signals: void photoDoubleClicked(const QString filePath); private slots: void doubleClicked(const QModelIndex &index); }; class DivePictureThumbnailThread : public QThread { }; #endif