Shift times of selected dives

This patch adds the possibility to shift the times of all selected dives
by a fixed amount to correct for time zone problems or mis-set dive
computer clocks.

Select the dives and right click in the dive list.

[Dirk Hohndel: added .ui file to FORMS and fixed some whitespace damage]

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert Helling 2013-11-18 14:53:05 +01:00 committed by Dirk Hohndel
parent e289881db9
commit 4966336e1d
8 changed files with 217 additions and 0 deletions

View file

@ -8,6 +8,7 @@ class QAbstractButton;
#include <QDialog>
#include "ui_renumber.h"
#include "ui_shifttimes.h"
class MinMaxAvgWidget : public QWidget{
Q_OBJECT
@ -41,6 +42,17 @@ private:
Ui::RenumberDialog ui;
};
class ShiftTimesDialog : public QDialog {
Q_OBJECT
public:
static ShiftTimesDialog *instance();
private slots:
void buttonClicked(QAbstractButton *button);
private:
explicit ShiftTimesDialog();
Ui::ShiftTimesDialog ui;
};
bool isGnome3Session();
#endif