UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
radioButton_ui.hpp
Go to the documentation of this file.
1#ifndef RADIOBUTTON_UI_HPP
2#define RADIOBUTTON_UI_HPP
3
4#include <QAbstractButton>
5#include <string>
6
7#include "widget_ui.hpp"
8
9
10class RadioButtonUi : public WidgetUi{
11Q_OBJECT
12
13public:
14 RadioButtonUi(QAbstractButton *btn,
15 const std::string &selectedVal,
17 const std::string &opt);
18
19private:
20 QAbstractButton *btn;
21 std::string selectedVal;
22
23 void connectSignals() override;
24 void updateUiState() override;
25 void updateUiState(bool checked);
26 void optChangeCallback(Option &opt, bool suboption) override;
27
28private slots:
29 void btnClicked();
30
31};
32
33#endif
std::string selectedVal
RadioButtonUi(QAbstractButton *btn, const std::string &selectedVal, Settings *settings, const std::string &opt)
QAbstractButton * btn
void updateUiState() override
void connectSignals() override
void optChangeCallback(Option &opt, bool suboption) override
std::string opt
Definition widget_ui.hpp:34
Settings * settings
Definition widget_ui.hpp:33