LibreOffice Module basctl (master) 1
|
#include <managelang.hxx>
Public Member Functions | |
ManageLanguageDialog (weld::Window *pParent, std::shared_ptr< LocalizationMgr > _pLMgr) | |
virtual | ~ManageLanguageDialog () override |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
void | Init () |
void | FillLanguageBox () |
void | ClearLanguageBox () |
DECL_LINK (AddHdl, weld::Button &, void) | |
DECL_LINK (DeleteHdl, weld::Button &, void) | |
DECL_LINK (MakeDefHdl, weld::Button &, void) | |
DECL_LINK (SelectHdl, weld::TreeView &, void) | |
Private Attributes | |
std::shared_ptr< LocalizationMgr > | m_xLocalizationMgr |
OUString | m_sDefLangStr |
OUString | m_sCreateLangStr |
std::unique_ptr< weld::TreeView > | m_xLanguageLB |
std::unique_ptr< weld::Button > | m_xAddPB |
std::unique_ptr< weld::Button > | m_xDeletePB |
std::unique_ptr< weld::Button > | m_xMakeDefPB |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 46 of file managelang.hxx.
basctl::ManageLanguageDialog::ManageLanguageDialog | ( | weld::Window * | pParent, |
std::shared_ptr< LocalizationMgr > | _pLMgr | ||
) |
Definition at line 56 of file managelang.cxx.
References FillLanguageBox(), Init(), and m_xLanguageLB.
|
overridevirtual |
Definition at line 74 of file managelang.cxx.
References ClearLanguageBox().
|
private |
Definition at line 124 of file managelang.cxx.
References i, m_xLanguageLB, and nCount.
Referenced by ~ManageLanguageDialog().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 97 of file managelang.cxx.
References LanguageTag::convertToLanguageType(), DBG_ASSERT, SvtLanguageTable::GetLanguageString(), i, Locale, basctl::localesAreEqual(), m_sCreateLangStr, m_sDefLangStr, m_xLanguageLB, m_xLocalizationMgr, nCount, pLocale, and weld::toId().
Referenced by ManageLanguageDialog().
|
private |
Definition at line 79 of file managelang.cxx.
References basctl::Shell::GetCurLibName(), basctl::GetShell(), LINK, m_xAddPB, m_xDeletePB, weld::GenericDialogController::m_xDialog, m_xLanguageLB, and m_xMakeDefPB.
Referenced by ManageLanguageDialog().
|
private |
Definition at line 52 of file managelang.hxx.
Referenced by FillLanguageBox().
|
private |
Definition at line 51 of file managelang.hxx.
Referenced by FillLanguageBox().
|
private |
Definition at line 55 of file managelang.hxx.
Referenced by Init().
|
private |
Definition at line 56 of file managelang.hxx.
Referenced by Init().
|
private |
Definition at line 54 of file managelang.hxx.
Referenced by ClearLanguageBox(), FillLanguageBox(), Init(), and ManageLanguageDialog().
|
private |
Definition at line 49 of file managelang.hxx.
Referenced by FillLanguageBox().
|
private |
Definition at line 57 of file managelang.hxx.
Referenced by Init().