LibreOffice Module basctl (master) 1
|
#include <managelang.hxx>
Public Member Functions | |
SetDefaultLanguageDialog (weld::Window *pParent, std::shared_ptr< LocalizationMgr > xLMgr) | |
virtual | ~SetDefaultLanguageDialog () override |
css::uno::Sequence< css::lang::Locale > | GetLocales () const |
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 | FillLanguageBox () |
Private Attributes | |
std::shared_ptr< LocalizationMgr > | m_xLocalizationMgr |
std::unique_ptr< weld::Label > | m_xLanguageFT |
std::unique_ptr< weld::TreeView > | m_xLanguageLB |
std::unique_ptr< weld::Label > | m_xCheckLangFT |
std::unique_ptr< weld::TreeView > | m_xCheckLangLB |
std::unique_ptr< weld::Label > | m_xDefinedFT |
std::unique_ptr< weld::Label > | m_xAddedFT |
std::unique_ptr< weld::Label > | m_xAltTitle |
std::unique_ptr< SvxLanguageBox > | m_xLanguageCB |
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 73 of file managelang.hxx.
basctl::SetDefaultLanguageDialog::SetDefaultLanguageDialog | ( | weld::Window * | pParent, |
std::shared_ptr< LocalizationMgr > | xLMgr | ||
) |
Definition at line 217 of file managelang.cxx.
References weld::Check, FillLanguageBox(), m_xAddedFT, m_xAltTitle, m_xCheckLangFT, m_xCheckLangLB, m_xDefinedFT, weld::GenericDialogController::m_xDialog, m_xLanguageFT, m_xLanguageLB, and m_xLocalizationMgr.
|
overridevirtual |
Definition at line 248 of file managelang.cxx.
|
private |
Definition at line 252 of file managelang.cxx.
References LanguageTag::convertToLanguageType(), o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), get(), Application::GetSettings(), i, Locale, m_xCheckLangLB, m_xLanguageCB, m_xLanguageLB, m_xLocalizationMgr, pLocale, and TRISTATE_FALSE.
Referenced by SetDefaultLanguageDialog().
Sequence< Locale > basctl::SetDefaultLanguageDialog::GetLocales | ( | ) | const |
Definition at line 295 of file managelang.cxx.
References comphelper::containerToSequence(), LanguageTag::convertToLocale(), eType, LanguageTag::getLocale(), i, m_xCheckLangLB, m_xLanguageLB, m_xLocalizationMgr, nCount, and TRISTATE_TRUE.
|
private |
Definition at line 85 of file managelang.hxx.
Referenced by SetDefaultLanguageDialog().
|
private |
Definition at line 86 of file managelang.hxx.
Referenced by SetDefaultLanguageDialog().
|
private |
Definition at line 82 of file managelang.hxx.
Referenced by SetDefaultLanguageDialog().
|
private |
Definition at line 83 of file managelang.hxx.
Referenced by FillLanguageBox(), GetLocales(), and SetDefaultLanguageDialog().
|
private |
Definition at line 84 of file managelang.hxx.
Referenced by SetDefaultLanguageDialog().
|
private |
Definition at line 87 of file managelang.hxx.
Referenced by FillLanguageBox().
|
private |
Definition at line 80 of file managelang.hxx.
Referenced by SetDefaultLanguageDialog().
|
private |
Definition at line 81 of file managelang.hxx.
Referenced by FillLanguageBox(), GetLocales(), and SetDefaultLanguageDialog().
|
private |
Definition at line 76 of file managelang.hxx.
Referenced by FillLanguageBox(), GetLocales(), and SetDefaultLanguageDialog().