Mercurial > retraceit
comparison src/mainwindow.h @ 5:107e435cb569
Enable speed slider in pngplayer
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 25 Mar 2015 14:24:38 +0100 |
parents | 97d2c8869c39 |
children | e3c8f61e45a9 |
comparison
equal
deleted
inserted
replaced
4:e4748da7140b | 5:107e435cb569 |
---|---|
10 * | 10 * |
11 * Parent class of all dialogs and graphical user interaction. | 11 * Parent class of all dialogs and graphical user interaction. |
12 */ | 12 */ |
13 #include <QMainWindow> | 13 #include <QMainWindow> |
14 #include <QSettings> | 14 #include <QSettings> |
15 #include <QDateTime> | |
15 | 16 |
16 class QPushButton; | 17 class QPushButton; |
17 class QDropEvent; | 18 class QDropEvent; |
18 class QDragLeaveEvent; | 19 class QDragLeaveEvent; |
19 class QDragMoveEvent; | 20 class QDragMoveEvent; |
50 | 51 |
51 protected slots: | 52 protected slots: |
52 /** @brief Show an error dialog to the user. */ | 53 /** @brief Show an error dialog to the user. */ |
53 void showErrorMessage(const QString& errMsg); | 54 void showErrorMessage(const QString& errMsg); |
54 | 55 |
56 /** @brief update the status bar for the image. | |
57 * | |
58 * Function signature is similar to showPicture in pngviewer | |
59 */ | |
60 void showPictureNameStatus(const QString& fileName, int current, | |
61 int max, const QDateTime& timestamp ); | |
62 | |
55 private: | 63 private: |
56 QSettings mSettings; | 64 QSettings mSettings; |
57 | 65 |
58 QString mCurFolder; | 66 QString mCurFolder; |
59 MetaDataView *mDataView; | 67 MetaDataView *mDataView; |