12 GroupBox::RadioButton::RadioButton(
const wstring& radioButtonName,
const wstring& radioButtonText,
const utility::ComponentSettings& settings, BaseComposite* parent,
const function<
void()>& onClick) :
18 styles::RadioButtonStyles(),
26 GroupBox::RadioButton::RadioButton(
const wstring& radioButtonName,
const wstring& radioButtonText,
const utility::ComponentSettings& settings, BaseComposite* parent,
const string& functionName,
const string& moduleName) :
32 styles::RadioButtonStyles(),
41 size_t GroupBox::RadioButton::getHash()
const
43 return typeid(RadioButton).hash_code();
46 GroupBox::radioButtonData::radioButtonData() :
56 radioButtonName(radioButtonName),
57 radioButtonText(radioButtonText),
60 width(settings.width),
61 height(settings.height),
68 radioButtonName(radioButtonName),
69 radioButtonText(radioButtonText),
72 width(settings.width),
73 height(settings.height),
74 functionName(functionName),
75 moduleName(moduleName)
137 return typeid(
GroupBox).hash_code();
smartPointerType< interfaces::IStyles > styles
Base class for all windows that has children windows.
virtual std::unique_ptr< Menu > & createMainMenu(const std::wstring &menuName)
It needs to be called once.
virtual Menu & addPopupMenu(const std::wstring &menuName)
Don't call move operator with return value.
Singleton with GUIFramework settings and some functionality.
const std::unordered_map< std::string, HMODULE, localization::utility::StringViewHash, localization::utility::StringViewEqual > & getModules() const
Get all loaded modules.
static GUIFramework & get()
Singleton instance access.
void addRadioButton(const radioButtonData &data)
GroupBox(const std::wstring &groupBoxClassName, const std::wstring &groupBoxName, const utility::ComponentSettings &settings, BaseComposite *parent, const std::string &groupBoxFunctionName)
size_t getHash() const override
Used as key in creators.
std::unique_ptr< Menu > & createMainMenu(const std::wstring &menuName) override
Not implemented.
Menu & addPopupMenu(const std::wstring &menuName) override
Not implemented.
void removePopupMenus(const std::wstring &menuName) override
Not implemented.
Throws by setOn... methods.
void throwNotImplementedException(string_view methodName, string_view className)
void(*)() onClickSignature
Default on click signature.
All settings for windows.