mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
7d37a3f5a6
commit
0d77b921eb
4 changed files with 70 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue