aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divepicturewidget.h
blob: b9253655b411b8f3cfbd350a6c09b5b35c88f919 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-License-Identifier: GPL-2.0
#ifndef DIVEPICTUREWIDGET_H
#define DIVEPICTUREWIDGET_H

#include <QListView>

class DivePictureWidget : public QListView {
	Q_OBJECT
public:
	DivePictureWidget(QWidget *parent);
protected:
	void mouseDoubleClickEvent(QMouseEvent *event) override;
	void mousePressEvent(QMouseEvent *event) override;
	void wheelEvent(QWheelEvent *event) override;

signals:
	void photoDoubleClicked(const QString filePath);
	void zoomLevelChanged(int delta);
};

#endif