mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
dd49e3a9a9
commit
34fceb4a1b
7 changed files with 260 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue