LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwGlossaryGroupDlg Class Referencefinal

#include <glosbib.hxx>

Inheritance diagram for SwGlossaryGroupDlg:
[legend]
Collaboration diagram for SwGlossaryGroupDlg:
[legend]

Public Member Functions

 SwGlossaryGroupDlg (weld::Window *pParent, std::vector< OUString > const &rPathArr, SwGlossaryHdl *pGlosHdl)
 
virtual short run () override
 
virtual ~SwGlossaryGroupDlg () override
 
const OUString & GetCreatedGroupName () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog ()
 

Private Member Functions

bool IsDeleteAllowed (const OUString &rGroup)
 
void Apply ()
 
 DECL_LINK (SelectHdl, weld::TreeView &, void)
 
 DECL_LINK (NewHdl, weld::Button &, void)
 
 DECL_LINK (DeleteHdl, weld::Button &, void)
 
 DECL_LINK (ModifyHdl, weld::Entry &, void)
 
 DECL_LINK (ModifyListBoxHdl, weld::ComboBox &, void)
 
 DECL_LINK (RenameHdl, weld::Button &, void)
 
 DECL_STATIC_LINK (SwGlossaryGroupDlg, EditInsertTextHdl, OUString &, bool)
 
 DECL_LINK (EntrySizeAllocHdl, const Size &, void)
 

Private Attributes

std::vector< OUString > m_RemovedArr
 
std::vector< OUString > m_InsertedArr
 
std::vector< OUString > m_RenamedArr
 
weld::Windowm_pParent
 
SwGlossaryHdlpGlosHdl
 
OUString sCreatedGroup
 
std::unique_ptr< weld::Entrym_xNameED
 
std::unique_ptr< weld::ComboBoxm_xPathLB
 
std::unique_ptr< weld::TreeViewm_xGroupTLB
 
std::unique_ptr< weld::Buttonm_xNewPB
 
std::unique_ptr< weld::Buttonm_xDelPB
 
std::unique_ptr< weld::Buttonm_xRenamePB
 

Detailed Description

Definition at line 38 of file glosbib.hxx.

Constructor & Destructor Documentation

SwGlossaryGroupDlg::SwGlossaryGroupDlg ( weld::Window pParent,
std::vector< OUString > const &  rPathArr,
SwGlossaryHdl pGlosHdl 
)
SwGlossaryGroupDlg::~SwGlossaryGroupDlg ( )
overridevirtual

Definition at line 120 of file glosbib.cxx.

References i, and m_xGroupTLB.

Member Function Documentation

void SwGlossaryGroupDlg::Apply ( )
private
SwGlossaryGroupDlg::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private
SwGlossaryGroupDlg::DECL_LINK ( NewHdl  ,
weld::Button ,
void   
)
private
SwGlossaryGroupDlg::DECL_LINK ( DeleteHdl  ,
weld::Button ,
void   
)
private
SwGlossaryGroupDlg::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private
SwGlossaryGroupDlg::DECL_LINK ( ModifyListBoxHdl  ,
weld::ComboBox ,
void   
)
private
SwGlossaryGroupDlg::DECL_LINK ( RenameHdl  ,
weld::Button ,
void   
)
private
SwGlossaryGroupDlg::DECL_LINK ( EntrySizeAllocHdl  ,
const Size ,
void   
)
private
SwGlossaryGroupDlg::DECL_STATIC_LINK ( SwGlossaryGroupDlg  ,
EditInsertTextHdl  ,
OUString &  ,
bool   
)
private
const OUString& SwGlossaryGroupDlg::GetCreatedGroupName ( ) const
inline

Definition at line 76 of file glosbib.hxx.

References sCreatedGroup.

bool SwGlossaryGroupDlg::IsDeleteAllowed ( const OUString &  rGroup)
private

Definition at line 393 of file glosbib.cxx.

References SwGlossaryHdl::IsReadOnly(), m_InsertedArr, and pGlosHdl.

short SwGlossaryGroupDlg::run ( )
overridevirtual

Definition at line 130 of file glosbib.cxx.

References Apply(), and RET_OK.

Member Data Documentation

std::vector<OUString> SwGlossaryGroupDlg::m_InsertedArr
private

Definition at line 41 of file glosbib.hxx.

Referenced by Apply(), and IsDeleteAllowed().

weld::Window* SwGlossaryGroupDlg::m_pParent
private

Definition at line 44 of file glosbib.hxx.

Referenced by Apply().

std::vector<OUString> SwGlossaryGroupDlg::m_RemovedArr
private

Definition at line 40 of file glosbib.hxx.

Referenced by Apply().

std::vector<OUString> SwGlossaryGroupDlg::m_RenamedArr
private

Definition at line 42 of file glosbib.hxx.

Referenced by Apply().

std::unique_ptr<weld::Button> SwGlossaryGroupDlg::m_xDelPB
private

Definition at line 54 of file glosbib.hxx.

Referenced by SwGlossaryGroupDlg().

std::unique_ptr<weld::TreeView> SwGlossaryGroupDlg::m_xGroupTLB
private

Definition at line 51 of file glosbib.hxx.

Referenced by Apply(), SwGlossaryGroupDlg(), and ~SwGlossaryGroupDlg().

std::unique_ptr<weld::Entry> SwGlossaryGroupDlg::m_xNameED
private

Definition at line 49 of file glosbib.hxx.

Referenced by SwGlossaryGroupDlg().

std::unique_ptr<weld::Button> SwGlossaryGroupDlg::m_xNewPB
private

Definition at line 53 of file glosbib.hxx.

Referenced by Apply(), and SwGlossaryGroupDlg().

std::unique_ptr<weld::ComboBox> SwGlossaryGroupDlg::m_xPathLB
private

Definition at line 50 of file glosbib.hxx.

Referenced by SwGlossaryGroupDlg().

std::unique_ptr<weld::Button> SwGlossaryGroupDlg::m_xRenamePB
private

Definition at line 55 of file glosbib.hxx.

Referenced by SwGlossaryGroupDlg().

SwGlossaryHdl* SwGlossaryGroupDlg::pGlosHdl
private

Definition at line 45 of file glosbib.hxx.

Referenced by Apply(), and IsDeleteAllowed().

OUString SwGlossaryGroupDlg::sCreatedGroup
private

Definition at line 47 of file glosbib.hxx.

Referenced by Apply(), and GetCreatedGroupName().


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