LibreOffice Module cui (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
DiagramDialog Class Reference

Edit Diagram dialog. More...

#include <DiagramDialog.hxx>

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

Public Member Functions

 DiagramDialog (weld::Window *pWindow, SdrObjGroup &rDiagram)
 
virtual ~DiagramDialog () override
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &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 OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (OnAddCancel, weld::Button &, void)
 
 DECL_LINK (OnAddClick, weld::Button &, void)
 
 DECL_LINK (OnRemoveClick, weld::Button &, void)
 
void populateTree (const weld::TreeIter *pParent, const OUString &rParentId)
 

Private Attributes

SdrObjGroupm_rDiagram
 
sal_uInt32 m_nUndos
 
std::unique_ptr< weld::ButtonmpBtnCancel
 
std::unique_ptr< weld::ButtonmpBtnAdd
 
std::unique_ptr< weld::ButtonmpBtnRemove
 
std::unique_ptr< weld::TreeViewmpTreeDiagram
 
std::unique_ptr< weld::TextViewmpTextAdd
 

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

Edit Diagram dialog.

Definition at line 18 of file DiagramDialog.hxx.

Constructor & Destructor Documentation

◆ DiagramDialog()

DiagramDialog::DiagramDialog ( weld::Window pWindow,
SdrObjGroup rDiagram 
)

◆ ~DiagramDialog()

DiagramDialog::~DiagramDialog ( )
overridevirtual

Definition at line 153 of file DiagramDialog.cxx.

Member Function Documentation

◆ DECL_LINK() [1/3]

DiagramDialog::DECL_LINK ( OnAddCancel  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/3]

DiagramDialog::DECL_LINK ( OnAddClick  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/3]

DiagramDialog::DECL_LINK ( OnRemoveClick  ,
weld::Button ,
void   
)
private

◆ populateTree()

void DiagramDialog::populateTree ( const weld::TreeIter pParent,
const OUString &  rParentId 
)
private

Member Data Documentation

◆ m_nUndos

sal_uInt32 DiagramDialog::m_nUndos
private

Definition at line 26 of file DiagramDialog.hxx.

◆ m_rDiagram

SdrObjGroup& DiagramDialog::m_rDiagram
private

Definition at line 25 of file DiagramDialog.hxx.

Referenced by populateTree().

◆ mpBtnAdd

std::unique_ptr<weld::Button> DiagramDialog::mpBtnAdd
private

Definition at line 29 of file DiagramDialog.hxx.

Referenced by DiagramDialog().

◆ mpBtnCancel

std::unique_ptr<weld::Button> DiagramDialog::mpBtnCancel
private

Definition at line 28 of file DiagramDialog.hxx.

Referenced by DiagramDialog().

◆ mpBtnRemove

std::unique_ptr<weld::Button> DiagramDialog::mpBtnRemove
private

Definition at line 30 of file DiagramDialog.hxx.

Referenced by DiagramDialog().

◆ mpTextAdd

std::unique_ptr<weld::TextView> DiagramDialog::mpTextAdd
private

Definition at line 32 of file DiagramDialog.hxx.

◆ mpTreeDiagram

std::unique_ptr<weld::TreeView> DiagramDialog::mpTreeDiagram
private

Definition at line 31 of file DiagramDialog.hxx.

Referenced by DiagramDialog(), and populateTree().


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