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

Change localization of combo boxes, list views, tab controls, etc. More...

#include <IMultipleTextLocalized.h>

Inheritance diagram for gui_framework::interfaces::IMultipleTextLocalized:
gui_framework::interfaces::ITextLocalized gui_framework::BaseListBox gui_framework::BaseListTextIconListView gui_framework::BaseListTextListView gui_framework::BaseTextIconListView gui_framework::BaseTextListView gui_framework::BaseMultipleSelectListBox gui_framework::ListBox gui_framework::ListTextIconListView gui_framework::ListTextListView gui_framework::TextIconListView gui_framework::TextListView gui_framework::MultipleSelectListBox

Public Member Functions

 IMultipleTextLocalized (bool autoUpdate=true)
 
void addLocalizationKey (std::string_view localizationKey)
 
void insertLocalizationKey (size_t index, const std::string &localizationKey)
 
void insertLocalizationKey (size_t index, std::string &&localizationKey) noexcept
 
void removeLocalizationKey (size_t index)
 
void removeLocalizationKey (std::string_view localizationKey)
 
const std::vector< std::string > & getLocalizationKeys () const
 
virtual bool updateLocalizationEvent () final override
 
virtual ~IMultipleTextLocalized ()=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 (size_t index, std::wstring_view localizedText)=0
 

Detailed Description

Change localization of combo boxes, list views, tab controls, etc.

Definition at line 10 of file IMultipleTextLocalized.h.

Constructor & Destructor Documentation

◆ IMultipleTextLocalized()

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

Definition at line 9 of file IMultipleTextLocalized.cpp.

◆ ~IMultipleTextLocalized()

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

Member Function Documentation

◆ addLocalizationKey()

void gui_framework::interfaces::IMultipleTextLocalized::addLocalizationKey ( std::string_view localizationKey)

Definition at line 15 of file IMultipleTextLocalized.cpp.

◆ getLocalizationKeys()

const vector< string > & gui_framework::interfaces::IMultipleTextLocalized::getLocalizationKeys ( ) const

Definition at line 55 of file IMultipleTextLocalized.cpp.

◆ insertLocalizationKey() [1/2]

void gui_framework::interfaces::IMultipleTextLocalized::insertLocalizationKey ( size_t index,
const std::string & localizationKey )

◆ insertLocalizationKey() [2/2]

void gui_framework::interfaces::IMultipleTextLocalized::insertLocalizationKey ( size_t index,
std::string && localizationKey )
noexcept

◆ removeLocalizationKey() [1/2]

void gui_framework::interfaces::IMultipleTextLocalized::removeLocalizationKey ( size_t index)

Definition at line 45 of file IMultipleTextLocalized.cpp.

◆ removeLocalizationKey() [2/2]

void gui_framework::interfaces::IMultipleTextLocalized::removeLocalizationKey ( std::string_view localizationKey)

◆ updateLocalization()

virtual void gui_framework::interfaces::IMultipleTextLocalized::updateLocalization ( size_t index,
std::wstring_view localizedText )
protectedpure virtual

◆ updateLocalizationEvent()

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

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