![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <radioButton_ui.hpp>


Public Member Functions | |
| RadioButtonUi (QAbstractButton *btn, const std::string &selectedVal, Settings *settings, const std::string &opt) | |
Public Member Functions inherited from WidgetUi | |
| WidgetUi (const WidgetUi &)=delete | |
| WidgetUi (Settings *settings, const std::string &opt) | |
| WidgetUi (WidgetUi &&)=delete | |
| virtual | ~WidgetUi () |
| WidgetUi & | operator= (const WidgetUi &)=delete |
| WidgetUi & | operator= (WidgetUi &&)=delete |
| virtual void | refresh () |
| void | registerCallback (const std::string &option) |
| void | registerCustomCallback (const std::string &option, Option::Callback callback, std::unique_ptr< ExtraCallbackData > &&extraDataPtr=nullptr) |
| void | setOpt (const std::string &opt) |
Private Slots | |
| void | btnClicked () |
Private Member Functions | |
| void | connectSignals () override |
| void | optChangeCallback (Option &opt, bool suboption) override |
| void | updateUiState () override |
| void | updateUiState (bool checked) |
Private Attributes | |
| QAbstractButton * | btn |
| std::string | selectedVal |
Additional Inherited Members | |
Signals inherited from WidgetUi | |
| void | changed () |
Protected Member Functions inherited from WidgetUi | |
| void | registerCallback () |
Static Protected Member Functions inherited from WidgetUi | |
| static void | optChangeCallbackStatic (Option &, bool, void *) |
Protected Attributes inherited from WidgetUi | |
| std::vector< std::unique_ptr< ExtraCallbackData > > | extraData |
| std::string | opt |
| std::vector< std::pair< std::string, Option::Callback > > | registeredCallbacks |
| Settings * | settings |
Definition at line 10 of file radioButton_ui.hpp.
| RadioButtonUi::RadioButtonUi | ( | QAbstractButton * | btn, |
| const std::string & | selectedVal, | ||
| Settings * | settings, | ||
| const std::string & | opt ) |
Definition at line 3 of file radioButton_ui.cpp.
References connectSignals(), WidgetUi::registerCallback(), and updateUiState().

|
privateslot |
Definition at line 34 of file radioButton_ui.cpp.
References WidgetUi::changed(), Settings::getOption(), WidgetUi::opt, selectedVal, WidgetUi::settings, and Option::setValue().
Referenced by connectSignals().

|
overrideprivatevirtual |
Implements WidgetUi.
Definition at line 16 of file radioButton_ui.cpp.
References btn, and btnClicked().
Referenced by RadioButtonUi().

|
overrideprivatevirtual |
Implements WidgetUi.
Definition at line 28 of file radioButton_ui.cpp.
References Option::getName(), Settings::getOption(), Option::getValue(), WidgetUi::opt, selectedVal, WidgetUi::settings, and updateUiState().

|
overrideprivatevirtual |
Implements WidgetUi.
Definition at line 24 of file radioButton_ui.cpp.
References Settings::getOption(), Option::getValue(), WidgetUi::opt, selectedVal, WidgetUi::settings, and updateUiState().
Referenced by RadioButtonUi(), optChangeCallback(), and updateUiState().

|
private |
Definition at line 20 of file radioButton_ui.cpp.
References btn.
|
private |
Definition at line 20 of file radioButton_ui.hpp.
Referenced by connectSignals(), and updateUiState().
|
private |
Definition at line 21 of file radioButton_ui.hpp.
Referenced by btnClicked(), optChangeCallback(), and updateUiState().