Change LogDateSelectDialog to selectDialog

This commit is contained in:
Krad
2021-12-07 14:08:05 +08:00
parent f36570c801
commit 6627b8bb2a
4 changed files with 86 additions and 86 deletions

24
src/SelectDialog.h Normal file
View File

@@ -0,0 +1,24 @@
//
// Created by Krad on 2021/11/24.
//
#ifndef GUI_SelectDialog_H
#define GUI_SelectDialog_H
#include "GUIFormBaseDialog.h"
class SlidePickerBox;
class SelectDialog :public GUIFormBaseDialog{
Q_OBJECT
public:
explicit SelectDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
~SelectDialog() override;
void setAvailableDates(QStringList dates);
QString getSelectedValue();
void setSelectedValue(QString& val);
protected:
bool updateReferenceData() override;
SlidePickerBox* box = nullptr;
};
#endif //GUI_SelectDialog_H