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


Public Member Functions | |
| TextOptUi (Settings *settings, const std::string &opt) | |
| virtual | ~TextOptUi () |
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 | textEdited (const QString &str) |
Protected Member Functions | |
| virtual void | connectSignals () override=0 |
| std::string | getOptValue () |
| void | optChangeCallback (Option &opt, bool suboption) override |
| void | updateUiState () override=0 |
| virtual void | updateUiState (const std::string &str)=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 10 of file textOpt_ui.hpp.
| TextOptUi::TextOptUi | ( | Settings * | settings, |
| const std::string & | opt ) |
Definition at line 3 of file textOpt_ui.cpp.
References WidgetUi::registerCallback().

|
inlinevirtual |
Definition at line 16 of file textOpt_ui.hpp.
|
overrideprotectedpure virtual |
Implements WidgetUi.
Implemented in LineEditUi, and SpinBoxUi.
|
protected |
Definition at line 20 of file textOpt_ui.cpp.
References Settings::getOption(), Option::getValue(), WidgetUi::opt, and WidgetUi::settings.
Referenced by LineEditUi::updateUiState(), and SpinBoxUi::updateUiState().

|
overrideprotectedvirtual |
Implements WidgetUi.
Definition at line 14 of file textOpt_ui.cpp.
References Option::getName(), Option::getValue(), WidgetUi::opt, and updateUiState().

|
protectedslot |
Definition at line 9 of file textOpt_ui.cpp.
References WidgetUi::changed(), Settings::getOption(), WidgetUi::opt, WidgetUi::settings, and Option::setValue().
Referenced by LineEditUi::connectSignals(), and SpinBoxUi::connectSignals().

|
overrideprotectedpure virtual |
|
protectedpure virtual |
Implemented in LineEditUi, and SpinBoxUi.