2017-09-29 14:26:27 +00:00
|
|
|
#ifndef RADIOBUTTONSETTINGSEDITOR_H
|
|
|
|
#define RADIOBUTTONSETTINGSEDITOR_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
2022-02-17 14:22:14 +00:00
|
|
|
#include <QVBoxLayout>
|
|
|
|
#include <QRadioButton>
|
|
|
|
#include <QColorDialog>
|
|
|
|
|
2022-02-17 15:17:19 +00:00
|
|
|
#include <radiobutton.h>
|
2022-02-17 14:22:14 +00:00
|
|
|
|
2017-09-29 14:26:27 +00:00
|
|
|
#include "ui_radiobuttonsettingsform.h"
|
|
|
|
|
2022-02-17 14:22:14 +00:00
|
|
|
using namespace md;
|
2017-09-29 14:26:27 +00:00
|
|
|
|
|
|
|
class RadioButtonSettingsEditor : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit RadioButtonSettingsEditor(QWidget *parent = 0);
|
|
|
|
~RadioButtonSettingsEditor();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void setupForm();
|
|
|
|
void updateWidget();
|
|
|
|
void selectColor();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::RadioButtonSettingsForm *const ui;
|
2022-02-17 14:22:14 +00:00
|
|
|
RadioButton *const m_radioButton1;
|
|
|
|
RadioButton *const m_radioButton2;
|
|
|
|
RadioButton *const m_radioButton3;
|
2017-09-29 14:26:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // RADIOBUTTONSETTINGSEDITOR_H
|