summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.h
diff options
context:
space:
mode:
authorGravatar Jan Darowski <jan.darowski@gmail.com>2015-03-14 17:44:24 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-15 15:47:37 -0700
commit0d77b921eb11a2a013555078569c766e4d36a84f (patch)
treef9d45cc160b7bf653ad6024937e8b5adae7f5703 /qt-ui/simplewidgets.h
parent7d37a3f5a65d03df917e63614a76fb95e8bc966f (diff)
downloadsubsurface-0d77b921eb11a2a013555078569c766e4d36a84f.tar.gz
Added warning when not all images can be added.
Added label in the ShiftImageTimesDialog which appears when not all of the selected images have timestamp in the checked range. Made cancel button in this widget actually work. Signed-off-by: Jan Darowski <jan.darowski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r--qt-ui/simplewidgets.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index 75b1df402..5f2402a86 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -97,7 +97,7 @@ private:
class ShiftImageTimesDialog : public QDialog {
Q_OBJECT
public:
- explicit ShiftImageTimesDialog(QWidget *parent);
+ explicit ShiftImageTimesDialog(QWidget *parent, QStringList fileNames);
time_t amount() const;
void setOffset(time_t offset);
private
@@ -105,8 +105,11 @@ slots:
void buttonClicked(QAbstractButton *button);
void syncCameraClicked();
void dcDateTimeChanged(const QDateTime &);
+ void timeEditChanged(const QTime &time);
+ void updateInvalid();
private:
+ QStringList fileNames;
Ui::ShiftImageTimesDialog ui;
time_t m_amount;
time_t dcImageEpoch;