Add new components, DateSlidePickerBox and DateSelectDialog.

This commit is contained in:
Krad
2022-04-01 15:31:38 +08:00
parent 01bcd510e6
commit 3835339758
4 changed files with 247 additions and 0 deletions

24
src/DateSelectDialog.h Normal file
View File

@@ -0,0 +1,24 @@
//
// 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