diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-08-16 09:32:23 -0600 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-16 10:07:06 -0600 |
commit | 34fceb4a1ba8c9cffbcc02caf40961a65efa3db7 (patch) | |
tree | 5caf92855c3e42d43473447006a542f8206c42d2 /qt-ui/simplewidgets.h | |
parent | dd49e3a9a92e3d1a1534a870e9e3b588845fb364 (diff) | |
download | subsurface-34fceb4a1ba8c9cffbcc02caf40961a65efa3db7.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r-- | qt-ui/simplewidgets.h | 14 |
1 files changed, 14 insertions, 0 deletions
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); |