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


Public Member Functions | |
| CheckboxUi (QAbstractButton *box, Settings *settings, const std::string &opt) | |
Public Member Functions inherited from CheckableUi | |
| CheckableUi (Settings *settings, const std::string &opt) | |
| virtual | ~CheckableUi () |
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) |
Protected Member Functions | |
| void | connectSignals () override |
| void | updateUiState () override |
| void | updateUiState (bool checked) override |
Protected Member Functions inherited from CheckableUi | |
| bool | getOptValue () |
| void | optChangeCallback (Option &opt, bool suboption) override |
Protected Member Functions inherited from WidgetUi | |
| void | registerCallback () |
Protected Attributes | |
| QAbstractButton * | checkbox |
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 |
Additional Inherited Members | |
Signals inherited from WidgetUi | |
| void | changed () |
Protected Slots inherited from CheckableUi | |
| void | boxClicked (bool checked) |
Static Protected Member Functions inherited from WidgetUi | |
| static void | optChangeCallbackStatic (Option &, bool, void *) |
Definition at line 10 of file checkbox_ui.hpp.
| CheckboxUi::CheckboxUi | ( | QAbstractButton * | box, |
| Settings * | settings, | ||
| const std::string & | opt ) |
Definition at line 3 of file checkbox_ui.cpp.
References connectSignals(), and updateUiState().

|
overrideprotectedvirtual |
Implements CheckableUi.
Definition at line 11 of file checkbox_ui.cpp.
References CheckableUi::boxClicked(), and checkbox.
Referenced by CheckboxUi().

|
overrideprotectedvirtual |
Implements CheckableUi.
Definition at line 19 of file checkbox_ui.cpp.
References CheckableUi::getOptValue(), and updateUiState().
Referenced by CheckboxUi(), and updateUiState().

|
overrideprotectedvirtual |
|
protected |
Definition at line 17 of file checkbox_ui.hpp.
Referenced by connectSignals(), and updateUiState().