mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
9021a44ccc
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
27 lines
543 B
C++
27 lines
543 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef DIVEPICTUREWIDGET_H
|
|
#define DIVEPICTUREWIDGET_H
|
|
|
|
#include <QAbstractTableModel>
|
|
#include <QListView>
|
|
#include <QThread>
|
|
#include <QFuture>
|
|
|
|
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
|