From e49d6213ad129284a45d53c3fcdc03249e84efe2 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 3 Sep 2015 14:20:19 -0300 Subject: Move qt-ui to desktop-widgets Since we have now destkop and mobile versions, 'qt-ui' was a very poor name choice for a folder that contains only destkop-enabled widgets. Also, move the graphicsview-common.h/cpp to subsurface-core because it doesn't depend on qgraphicsview, it merely implements all the colors that we use throughout Subsurface, and we will use colors on both desktop and mobile versions Same thing applies for metrics.h/cpp Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/divepicturewidget.h | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 qt-ui/divepicturewidget.h (limited to 'qt-ui/divepicturewidget.h') diff --git a/qt-ui/divepicturewidget.h b/qt-ui/divepicturewidget.h deleted file mode 100644 index 54f5bb826..000000000 --- a/qt-ui/divepicturewidget.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef DIVEPICTUREWIDGET_H -#define DIVEPICTUREWIDGET_H - -#include -#include -#include -#include -#include - -class ImageDownloader : public QObject { - Q_OBJECT; -public: - ImageDownloader(struct picture *picture); - void load(); -private: - struct picture *picture; - QNetworkAccessManager manager; -private slots: - void saveImage(QNetworkReply *reply); -}; - -class DivePictureWidget : public QListView { - Q_OBJECT -public: - DivePictureWidget(QWidget *parent); -signals: - void photoDoubleClicked(const QString filePath); -private -slots: - void doubleClicked(const QModelIndex &index); -}; - -class DivePictureThumbnailThread : public QThread { -}; - -#endif -- cgit v1.2.3-70-g09d2