25 lines
575 B
C++
25 lines
575 B
C++
#ifndef GUI_TIMESELECTDIALOG_H
|
|
#define GUI_TIMESELECTDIALOG_H
|
|
|
|
#include "dialogs/GUIFormBaseDialog.h"
|
|
|
|
class TimeSlidePickerBox;
|
|
|
|
class TimeSelectDialog : public GUIFormBaseDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit TimeSelectDialog(QWidget *aParent, Qt::WindowFlags f = Qt::WindowFlags());
|
|
~TimeSelectDialog() override;
|
|
QString getSelectedValue() const;
|
|
int getTotalSeconds() const;
|
|
void setSelectedValue(const int& aSeconds);
|
|
|
|
protected:
|
|
bool updateReferenceData() override;
|
|
TimeSlidePickerBox* mSlidePickerBox;
|
|
};
|
|
|
|
|
|
#endif //GUI_TIMESELECTDIALOG_H
|