Dive pictures: implement FindMovedImagesDialog

Move the find-moved-images functions into a new translation unit
and present the user with the identified matches before applying
them.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-06-10 16:40:23 +02:00 committed by Dirk Hohndel
parent f3ef38ca0d
commit 09fd5c40d1
9 changed files with 535 additions and 125 deletions

View file

@ -36,6 +36,7 @@ public:
void contextMenuEvent(QContextMenuEvent *event);
QList<dive_trip_t *> selectedTrips();
static QString lastUsedImageDir();
static void updateLastUsedImageDir(const QString &s);
public
slots:
void toggleColumnVisibilityByIndex();
@ -80,7 +81,6 @@ private:
void restoreExpandedRows();
int lastVisibleColumn();
void selectTrip(dive_trip_t *trip);
void updateLastUsedImageDir(const QString &s);
void updateLastImageTimeOffset(int offset);
int lastImageTimeOffset();
void addToTrip(int delta);