mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
Move
Updated submodule client/qwt
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifndef BETTER_RADIOBUTTON_H
|
||||
#define BETTER_RADIOBUTTON_H
|
||||
|
||||
#include <QVBoxLayout>
|
||||
#include <QRadioButton>
|
||||
|
||||
class Better_Radiobutton : public QWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit Better_Radiobutton(QWidget* parent = nullptr);
|
||||
explicit Better_Radiobutton(std::vector<QString>names, QWidget* partent = nullptr);
|
||||
|
||||
void add_radiobutton(QString name);
|
||||
QString isChecked() const;
|
||||
|
||||
signals:
|
||||
void toggled(QString name);
|
||||
void checked(QString name);
|
||||
private:
|
||||
QVBoxLayout* m_v_layout;
|
||||
std::vector<QRadioButton*> m_radiobuttons;
|
||||
QString m_checked;
|
||||
};
|
||||
|
||||
#endif // BETTER_RADIOBUTTON_H
|
||||
Reference in New Issue
Block a user