From 34fceb4a1ba8c9cffbcc02caf40961a65efa3db7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 16 Aug 2014 09:32:23 -0600 Subject: Cut'n'paste for dive data: implement copy side Admittedly not very useful without working paste, but it's progress. Signed-off-by: Dirk Hohndel --- qt-ui/simplewidgets.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'qt-ui/simplewidgets.h') diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h index 58c9199a5..b41189fe5 100644 --- a/qt-ui/simplewidgets.h +++ b/qt-ui/simplewidgets.h @@ -11,6 +11,7 @@ class QAbstractButton; #include "ui_renumber.h" #include "ui_shifttimes.h" #include "ui_shiftimagetimes.h" +#include "ui_divecomponentselection.h" #include "exif.h" class MinMaxAvgWidget : public QWidget { @@ -112,6 +113,19 @@ private: QCalendarWidget *calendarWidget; }; +class DiveComponentSelection : public QDialog { + Q_OBJECT +public: + explicit DiveComponentSelection(QWidget *parent, struct dive *target, struct dive_components *_what); +private +slots: + void buttonClicked(QAbstractButton *button); +private: + Ui::DiveComponentSelectionDialog ui; + struct dive *targetDive; + struct dive_components *what; +}; + bool isGnome3Session(); QImage grayImage(const QImage& coloredImg); -- cgit v1.2.3-70-g09d2