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


Public Member Functions | |
| 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 Slots | |
| void | boxClicked (bool checked) |
Protected Member Functions | |
| virtual void | connectSignals () override=0 |
| bool | getOptValue () |
| void | optChangeCallback (Option &opt, bool suboption) override |
| void | updateUiState () override=0 |
| virtual void | updateUiState (bool checked)=0 |
Protected Member Functions inherited from WidgetUi | |
| void | registerCallback () |
Additional Inherited Members | |
Signals inherited from WidgetUi | |
| void | changed () |
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 9 of file checkable_ui.hpp.
| CheckableUi::CheckableUi | ( | Settings * | settings, |
| const std::string & | opt ) |
Definition at line 3 of file checkable_ui.cpp.
References WidgetUi::registerCallback().

|
inlinevirtual |
Definition at line 15 of file checkable_ui.hpp.
|
protectedslot |
Definition at line 9 of file checkable_ui.cpp.
References WidgetUi::changed(), Settings::getOption(), WidgetUi::opt, WidgetUi::settings, and Option::setValue().
Referenced by ActionCheckableUi::connectSignals(), CheckboxUi::connectSignals(), and GroupBoxUi::connectSignals().

|
overrideprotectedpure virtual |
Implements WidgetUi.
Implemented in ActionCheckableUi, CheckboxUi, and GroupBoxUi.
|
protected |
Definition at line 21 of file checkable_ui.cpp.
References Settings::getOption(), Option::isEnabled(), WidgetUi::opt, and WidgetUi::settings.
Referenced by ActionCheckableUi::updateUiState(), CheckboxUi::updateUiState(), and GroupBoxUi::updateUiState().

|
overrideprotectedvirtual |
Implements WidgetUi.
Definition at line 15 of file checkable_ui.cpp.
References Option::getName(), Option::isEnabled(), WidgetUi::opt, and updateUiState().

|
overrideprotectedpure virtual |
Implements WidgetUi.
Implemented in ActionCheckableUi, CheckboxUi, and GroupBoxUi.
Referenced by optChangeCallback().
|
protectedpure virtual |
Implemented in ActionCheckableUi, CheckboxUi, and GroupBoxUi.