desktop/image: allow larger range for manual time shift

The QTimeEdit field is severely limited when it comes to the supported
time range. By coding our own input / validation we can allow far larger
time shifts. For simplicity, this always assumes hours:minutes format.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2021-09-20 07:09:41 -07:00
parent 6ea4cfcc02
commit 4167b2ff14
3 changed files with 30 additions and 87 deletions

View file

@ -77,8 +77,8 @@ private
slots:
void syncCameraClicked();
void dcDateTimeChanged(const QDateTime &);
void timeEditChanged(const QTime &time);
void timeEditChanged();
void timeEdited(const QString &timeText);
void backwardsChanged(bool);
void updateInvalid();
void matchAllImagesToggled(bool);