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 OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 

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
 
SwGlossaryHdlm_pGlosHdl
 
OUString m_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::SwGlossaryGroupDlg ( weld::Window pParent,
std::vector< OUString > const &  rPathArr,
SwGlossaryHdl pGlosHdl 
)

◆ ~SwGlossaryGroupDlg()

SwGlossaryGroupDlg::~SwGlossaryGroupDlg ( )
overridevirtual

Definition at line 116 of file glosbib.cxx.

References i, m_xGroupTLB, and nCount.

Member Function Documentation

◆ Apply()

void SwGlossaryGroupDlg::Apply ( )
private

◆ DECL_LINK() [1/7]

SwGlossaryGroupDlg::DECL_LINK ( DeleteHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/7]

SwGlossaryGroupDlg::DECL_LINK ( EntrySizeAllocHdl  ,
const Size ,
void   
)
private

◆ DECL_LINK() [3/7]

SwGlossaryGroupDlg::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [4/7]

SwGlossaryGroupDlg::DECL_LINK ( ModifyListBoxHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [5/7]

SwGlossaryGroupDlg::DECL_LINK ( NewHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [6/7]

SwGlossaryGroupDlg::DECL_LINK ( RenameHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [7/7]

SwGlossaryGroupDlg::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_STATIC_LINK()

SwGlossaryGroupDlg::DECL_STATIC_LINK ( SwGlossaryGroupDlg  ,
EditInsertTextHdl  ,
OUString &  ,
bool   
)
private

◆ GetCreatedGroupName()

const OUString & SwGlossaryGroupDlg::GetCreatedGroupName ( ) const
inline

Definition at line 75 of file glosbib.hxx.

References m_sCreatedGroup.

Referenced by IMPL_LINK_NOARG().

◆ IsDeleteAllowed()

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

Definition at line 384 of file glosbib.cxx.

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

◆ run()

short SwGlossaryGroupDlg::run ( )
overridevirtual

Definition at line 126 of file glosbib.cxx.

References Apply(), and RET_OK.

Referenced by IMPL_LINK_NOARG().

Member Data Documentation

◆ m_InsertedArr

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

Definition at line 41 of file glosbib.hxx.

Referenced by Apply(), and IsDeleteAllowed().

◆ m_pGlosHdl

SwGlossaryHdl* SwGlossaryGroupDlg::m_pGlosHdl
private

Definition at line 45 of file glosbib.hxx.

Referenced by Apply(), and IsDeleteAllowed().

◆ m_pParent

weld::Window* SwGlossaryGroupDlg::m_pParent
private

Definition at line 44 of file glosbib.hxx.

Referenced by Apply().

◆ m_RemovedArr

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

Definition at line 40 of file glosbib.hxx.

Referenced by Apply().

◆ m_RenamedArr

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

Definition at line 42 of file glosbib.hxx.

Referenced by Apply().

◆ m_sCreatedGroup

OUString SwGlossaryGroupDlg::m_sCreatedGroup
private

Definition at line 47 of file glosbib.hxx.

Referenced by Apply(), and GetCreatedGroupName().

◆ m_xDelPB

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

Definition at line 54 of file glosbib.hxx.

Referenced by SwGlossaryGroupDlg().

◆ m_xGroupTLB

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

Definition at line 51 of file glosbib.hxx.

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

◆ m_xNameED

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

Definition at line 49 of file glosbib.hxx.

Referenced by SwGlossaryGroupDlg().

◆ m_xNewPB

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

Definition at line 53 of file glosbib.hxx.

Referenced by Apply(), and SwGlossaryGroupDlg().

◆ m_xPathLB

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

Definition at line 50 of file glosbib.hxx.

Referenced by SwGlossaryGroupDlg().

◆ m_xRenamePB

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

Definition at line 55 of file glosbib.hxx.

Referenced by SwGlossaryGroupDlg().


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