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:
Dirk Hohndel 2014-08-16 09:32:23 -06:00
parent dd49e3a9a9
commit 34fceb4a1b
7 changed files with 260 additions and 1 deletions

View file

@ -143,6 +143,8 @@ slots:
void on_profTogglePicture_clicked(bool triggered);
void on_profTankbar_clicked(bool triggered);
void on_actionExport_triggered();
void on_copy_triggered();
void on_paste_triggered();
protected:
void closeEvent(QCloseEvent *);
@ -185,6 +187,8 @@ private:
bool plannerStateClean();
void setupForAddAndPlan(const char *model);
QDialog *survey;
struct dive copyPasteDive;
struct dive_components what;
};
#endif // MAINWINDOW_H