From 654a7be834189ced04c26904026c2710438b23df Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Fri, 11 Sep 2015 11:31:02 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/simplewidgets.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qt-ui/simplewidgets.h') 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 { -- cgit v1.2.3-70-g09d2