LibreOffice Module basctl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
basctl::ManageLanguageDialog Class Reference

#include <managelang.hxx>

Inheritance diagram for basctl::ManageLanguageDialog:
[legend]
Collaboration diagram for basctl::ManageLanguageDialog:
[legend]

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 DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () 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< LocalizationMgrm_xLocalizationMgr
 
OUString m_sDefLangStr
 
OUString m_sCreateLangStr
 
std::unique_ptr< weld::TreeViewm_xLanguageLB
 
std::unique_ptr< weld::Buttonm_xAddPB
 
std::unique_ptr< weld::Buttonm_xDeletePB
 
std::unique_ptr< weld::Buttonm_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::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 46 of file managelang.hxx.

Constructor & Destructor Documentation

◆ ManageLanguageDialog()

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.

◆ ~ManageLanguageDialog()

basctl::ManageLanguageDialog::~ManageLanguageDialog ( )
overridevirtual

Definition at line 74 of file managelang.cxx.

References ClearLanguageBox().

Member Function Documentation

◆ ClearLanguageBox()

void basctl::ManageLanguageDialog::ClearLanguageBox ( )
private

Definition at line 124 of file managelang.cxx.

References i, m_xLanguageLB, and nCount.

Referenced by ~ManageLanguageDialog().

◆ DECL_LINK() [1/4]

basctl::ManageLanguageDialog::DECL_LINK ( AddHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

basctl::ManageLanguageDialog::DECL_LINK ( DeleteHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

basctl::ManageLanguageDialog::DECL_LINK ( MakeDefHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/4]

basctl::ManageLanguageDialog::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

◆ FillLanguageBox()

void basctl::ManageLanguageDialog::FillLanguageBox ( )
private

◆ Init()

void basctl::ManageLanguageDialog::Init ( void  )
private

Member Data Documentation

◆ m_sCreateLangStr

OUString basctl::ManageLanguageDialog::m_sCreateLangStr
private

Definition at line 52 of file managelang.hxx.

Referenced by FillLanguageBox().

◆ m_sDefLangStr

OUString basctl::ManageLanguageDialog::m_sDefLangStr
private

Definition at line 51 of file managelang.hxx.

Referenced by FillLanguageBox().

◆ m_xAddPB

std::unique_ptr<weld::Button> basctl::ManageLanguageDialog::m_xAddPB
private

Definition at line 55 of file managelang.hxx.

Referenced by Init().

◆ m_xDeletePB

std::unique_ptr<weld::Button> basctl::ManageLanguageDialog::m_xDeletePB
private

Definition at line 56 of file managelang.hxx.

Referenced by Init().

◆ m_xLanguageLB

std::unique_ptr<weld::TreeView> basctl::ManageLanguageDialog::m_xLanguageLB
private

Definition at line 54 of file managelang.hxx.

Referenced by ClearLanguageBox(), FillLanguageBox(), Init(), and ManageLanguageDialog().

◆ m_xLocalizationMgr

std::shared_ptr<LocalizationMgr> basctl::ManageLanguageDialog::m_xLocalizationMgr
private

Definition at line 49 of file managelang.hxx.

Referenced by FillLanguageBox().

◆ m_xMakeDefPB

std::unique_ptr<weld::Button> basctl::ManageLanguageDialog::m_xMakeDefPB
private

Definition at line 57 of file managelang.hxx.

Referenced by Init().


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