summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r--qt-ui/simplewidgets.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index 8d5b4f73c..17f628392 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -6,6 +6,7 @@ class QAbstractButton;
class QNetworkReply;
#include <QWidget>
+#include <QGroupBox>
#include <QDialog>
#include <stdint.h>
@@ -13,6 +14,7 @@ class QNetworkReply;
#include "ui_setpoint.h"
#include "ui_shifttimes.h"
#include "ui_shiftimagetimes.h"
+#include "ui_urldialog.h"
#include "ui_divecomponentselection.h"
#include "ui_listfilter.h"
#include "ui_filterwidget.h"
@@ -96,7 +98,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
@@ -104,13 +106,25 @@ 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;
};
+class URLDialog : public QDialog {
+ Q_OBJECT
+public:
+ explicit URLDialog(QWidget *parent);
+ QString url() const;
+private:
+ Ui::URLDialog ui;
+};
+
class QCalendarWidget;
class DateWidget : public QWidget {