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

#include <templatedlg.hxx>

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

Public Member Functions

 DECL_LINK (NewCategoryEditHdl, weld::Entry &, void)
 
 DECL_LINK (SelectCategoryHdl, weld::TreeView &, void)
 
void SetCategoryLBEntries (std::vector< OUString > names)
 
const OUString & GetSelectedCategory () const
 
bool IsNewCategoryCreated () const
 
 SfxTemplateCategoryDialog (weld::Window *pParent)
 
virtual ~SfxTemplateCategoryDialog () 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 Attributes

OUString msSelectedCategory
 
bool mbIsNewCategory
 
std::unique_ptr< weld::TreeViewmxLBCategory
 
std::unique_ptr< weld::EntrymxNewCategoryEdit
 
std::unique_ptr< weld::ButtonmxOKButton
 

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 140 of file templatedlg.hxx.

Constructor & Destructor Documentation

◆ SfxTemplateCategoryDialog()

SfxTemplateCategoryDialog::SfxTemplateCategoryDialog ( weld::Window pParent)
explicit

Definition at line 1264 of file templatedlg.cxx.

References LINK, mxLBCategory, mxNewCategoryEdit, mxOKButton, and SfxResId().

◆ ~SfxTemplateCategoryDialog()

SfxTemplateCategoryDialog::~SfxTemplateCategoryDialog ( )
overridevirtual

Definition at line 1279 of file templatedlg.cxx.

Member Function Documentation

◆ DECL_LINK() [1/2]

SfxTemplateCategoryDialog::DECL_LINK ( NewCategoryEditHdl  ,
weld::Entry ,
void   
)

◆ DECL_LINK() [2/2]

SfxTemplateCategoryDialog::DECL_LINK ( SelectCategoryHdl  ,
weld::TreeView ,
void   
)

◆ GetSelectedCategory()

const OUString & SfxTemplateCategoryDialog::GetSelectedCategory ( ) const
inline

Definition at line 156 of file templatedlg.hxx.

References msSelectedCategory.

Referenced by IMPL_LINK_NOARG(), and SfxTemplateManagerDlg::ImportActionHdl().

◆ IsNewCategoryCreated()

bool SfxTemplateCategoryDialog::IsNewCategoryCreated ( ) const
inline

Definition at line 158 of file templatedlg.hxx.

References mbIsNewCategory.

Referenced by IMPL_LINK_NOARG(), and SfxTemplateManagerDlg::ImportActionHdl().

◆ SetCategoryLBEntries()

void SfxTemplateCategoryDialog::SetCategoryLBEntries ( std::vector< OUString >  names)

Definition at line 1318 of file templatedlg.cxx.

References i, mxLBCategory, and n.

Referenced by IMPL_LINK_NOARG(), and SfxTemplateManagerDlg::ImportActionHdl().

Member Data Documentation

◆ mbIsNewCategory

bool SfxTemplateCategoryDialog::mbIsNewCategory
private

Definition at line 144 of file templatedlg.hxx.

Referenced by IsNewCategoryCreated().

◆ msSelectedCategory

OUString SfxTemplateCategoryDialog::msSelectedCategory
private

Definition at line 143 of file templatedlg.hxx.

Referenced by GetSelectedCategory().

◆ mxLBCategory

std::unique_ptr<weld::TreeView> SfxTemplateCategoryDialog::mxLBCategory
private

Definition at line 146 of file templatedlg.hxx.

Referenced by SetCategoryLBEntries(), and SfxTemplateCategoryDialog().

◆ mxNewCategoryEdit

std::unique_ptr<weld::Entry> SfxTemplateCategoryDialog::mxNewCategoryEdit
private

Definition at line 147 of file templatedlg.hxx.

Referenced by SfxTemplateCategoryDialog().

◆ mxOKButton

std::unique_ptr<weld::Button> SfxTemplateCategoryDialog::mxOKButton
private

Definition at line 148 of file templatedlg.hxx.

Referenced by SfxTemplateCategoryDialog().


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