Files
GUI/src/dialogs/SelectDialog.h

25 lines
591 B
C
Raw Normal View History

2021-11-26 10:49:09 +08:00
//
// Created by Krad on 2021/11/24.
//
#ifndef GUI_SelectDialog_H
#define GUI_SelectDialog_H
2021-11-26 10:49:09 +08:00
#include "GUIFormBaseDialog.h"
class SlidePickerBox;
class SelectDialog :public GUIFormBaseDialog{
2021-11-26 10:49:09 +08:00
Q_OBJECT
public:
explicit SelectDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
2022-06-13 11:21:44 +08:00
~SelectDialog() override = default;
2022-04-22 17:16:45 +08:00
void setValues(const QStringList& values);
2021-11-26 10:49:09 +08:00
QString getSelectedValue();
2021-12-08 10:52:38 +08:00
void setSelectedValue(const QString& val);
2021-11-26 10:49:09 +08:00
protected:
bool updateReferenceData() override;
2022-06-13 11:21:44 +08:00
SlidePickerBox* mPickBox;
2021-11-26 10:49:09 +08:00
};
#endif //GUI_SelectDialog_H