mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 21:50:26 +00:00
1b8b112048
This clearly has never been tested, never worked. Oh well. Fixes #478 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
35 lines
617 B
C++
35 lines
617 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef TAB_DIVE_PHOTOS_H
|
|
#define TAB_DIVE_PHOTOS_H
|
|
|
|
#include "TabBase.h"
|
|
|
|
namespace Ui {
|
|
class TabDivePhotos;
|
|
};
|
|
|
|
class DivePictureModel;
|
|
|
|
class TabDivePhotos : public TabBase {
|
|
Q_OBJECT
|
|
public:
|
|
TabDivePhotos(QWidget *parent = 0);
|
|
~TabDivePhotos();
|
|
void updateData() override;
|
|
void clear() override;
|
|
|
|
protected:
|
|
void contextMenuEvent(QContextMenuEvent *ev) override;
|
|
|
|
private slots:
|
|
void addPhotosFromFile();
|
|
void addPhotosFromURL();
|
|
void removeAllPhotos();
|
|
void removeSelectedPhotos();
|
|
|
|
private:
|
|
Ui::TabDivePhotos *ui;
|
|
DivePictureModel *divePictureModel;
|
|
};
|
|
|
|
#endif
|