subsurface/desktop-widgets/tab-widgets/TabDivePhotos.h
Tomaz Canabrava 385816be2e Aparently, remove a QXB warning.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-06 18:25:53 -07:00

33 lines
566 B
C++

#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:
void addPhotosFromFile();
void addPhotosFromURL();
void removeAllPhotos();
void removeSelectedPhotos();
Ui::TabDivePhotos *ui;
DivePictureModel *divePictureModel;
};
#endif