25 lines
602 B
C
25 lines
602 B
C
|
|
//
|
||
|
|
// Created by Krad on 2022/3/24.
|
||
|
|
//
|
||
|
|
|
||
|
|
#ifndef GUI_DATESELECTDIALOG_H
|
||
|
|
#define GUI_DATESELECTDIALOG_H
|
||
|
|
|
||
|
|
#include "GUIFormBaseDialog.h"
|
||
|
|
class DateSlidePickerBox;
|
||
|
|
class DateSelectDialog:public GUIFormBaseDialog{
|
||
|
|
Q_OBJECT
|
||
|
|
public:
|
||
|
|
explicit DateSelectDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
|
||
|
|
~DateSelectDialog() override;
|
||
|
|
QString getSelectedValue();
|
||
|
|
void setSelectedValue(const QString& val);
|
||
|
|
void showEvent(QShowEvent *) override;
|
||
|
|
protected:
|
||
|
|
bool updateReferenceData() override;
|
||
|
|
DateSlidePickerBox* box;
|
||
|
|
};
|
||
|
|
|
||
|
|
|
||
|
|
#endif //GUI_DATESELECTDIALOG_H
|