GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
gui_framework::interfaces::ISingleTextLocalized Class Referenceabstract

Change localization of buttons, edit controls, etc. More...

#include <ISingleTextLocalized.h>

Inheritance diagram for gui_framework::interfaces::ISingleTextLocalized:
gui_framework::interfaces::ITextLocalized gui_framework::BaseButton gui_framework::BaseEditControl gui_framework::BaseStaticControl gui_framework::BaseCheckBox gui_framework::Button gui_framework::ImageButton gui_framework::EditControl gui_framework::StaticControl gui_framework::CheckBox

Public Member Functions

 ISingleTextLocalized (bool autoUpdate=true)
 
virtual void setLocalizationKey (std::string_view localizationKey) final
 
virtual void setLocalizationKey (std::string &&localizationKey) noexcept final
 
virtual const std::string & getLocalizationKey () const final
 
virtual bool updateLocalizationEvent () final override
 
virtual ~ISingleTextLocalized ()=default
 
- Public Member Functions inherited from gui_framework::interfaces::ITextLocalized
 ITextLocalized (bool autoUpdate=true)
 
virtual void setAutoUpdate (bool autoUpdate) final
 
virtual bool getAutoUpdate () const final
 
virtual ~ITextLocalized ()=default
 

Protected Member Functions

virtual void updateLocalization (std::wstring_view localizedText)=0
 

Detailed Description

Change localization of buttons, edit controls, etc.

Definition at line 10 of file ISingleTextLocalized.h.

Constructor & Destructor Documentation

◆ ISingleTextLocalized()

gui_framework::interfaces::ISingleTextLocalized::ISingleTextLocalized ( bool autoUpdate = true)

Definition at line 9 of file ISingleTextLocalized.cpp.

◆ ~ISingleTextLocalized()

virtual gui_framework::interfaces::ISingleTextLocalized::~ISingleTextLocalized ( )
virtualdefault

Member Function Documentation

◆ getLocalizationKey()

const string & gui_framework::interfaces::ISingleTextLocalized::getLocalizationKey ( ) const
finalvirtual

Definition at line 25 of file ISingleTextLocalized.cpp.

◆ setLocalizationKey() [1/2]

virtual void gui_framework::interfaces::ISingleTextLocalized::setLocalizationKey ( std::string && localizationKey)
finalvirtualnoexcept

◆ setLocalizationKey() [2/2]

virtual void gui_framework::interfaces::ISingleTextLocalized::setLocalizationKey ( std::string_view localizationKey)
finalvirtual

◆ updateLocalization()

virtual void gui_framework::interfaces::ISingleTextLocalized::updateLocalization ( std::wstring_view localizedText)
protectedpure virtual

◆ updateLocalizationEvent()

bool gui_framework::interfaces::ISingleTextLocalized::updateLocalizationEvent ( )
finaloverridevirtual

The documentation for this class was generated from the following files: