summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-09-11 11:31:02 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-11 09:18:55 -0700
commit654a7be834189ced04c26904026c2710438b23df (patch)
tree6e6ccfeec89179cb0f6212fbf1d94034bac26d45 /qt-ui/simplewidgets.h
parent5a1c041b78fa8fe74b6c2eee26416d287032d61f (diff)
downloadsubsurface-654a7be834189ced04c26904026c2710438b23df.tar.gz
Add checkbox to force images to match dives
Give the user the possibility to attach images to a dive even when the times do not match Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r--qt-ui/simplewidgets.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index 17f628392..595c4cd4b 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -101,6 +101,7 @@ public:
explicit ShiftImageTimesDialog(QWidget *parent, QStringList fileNames);
time_t amount() const;
void setOffset(time_t offset);
+ bool matchAll();
private
slots:
void buttonClicked(QAbstractButton *button);
@@ -108,12 +109,14 @@ slots:
void dcDateTimeChanged(const QDateTime &);
void timeEditChanged(const QTime &time);
void updateInvalid();
+ void matchAllImagesToggled(bool);
private:
QStringList fileNames;
Ui::ShiftImageTimesDialog ui;
time_t m_amount;
time_t dcImageEpoch;
+ bool matchAllImages;
};
class URLDialog : public QDialog {