Add new components, DateSlidePickerBox and DateSelectDialog.
This commit is contained in:
24
src/DateSelectDialog.h
Normal file
24
src/DateSelectDialog.h
Normal 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
|
||||
Reference in New Issue
Block a user