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, std::shared_ptr< DiagramDataInterface > pDiagramData)
 
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
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 (OnAddClick, weld::Button &, void)
 
 DECL_LINK (OnRemoveClick, weld::Button &, void)
 
void populateTree (const weld::TreeIter *pParent, const OUString &rParentId)
 

Private Attributes

std::shared_ptr< DiagramDataInterfacempDiagramData
 
std::unique_ptr< weld::ButtonmpBtnOk
 
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 ( weld::Window pWindow,
std::shared_ptr< DiagramDataInterface pDiagramData 
)
DiagramDialog::~DiagramDialog ( )
overridevirtual

Definition at line 78 of file DiagramDialog.cxx.

Member Function Documentation

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

Definition at line 66 of file DiagramDialog.cxx.

References mpDiagramData, and mpTreeDiagram.

Referenced by DiagramDialog().

Member Data Documentation

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

Definition at line 28 of file DiagramDialog.hxx.

Referenced by DiagramDialog().

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

Definition at line 27 of file DiagramDialog.hxx.

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

Definition at line 26 of file DiagramDialog.hxx.

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

Definition at line 29 of file DiagramDialog.hxx.

Referenced by DiagramDialog().

std::shared_ptr<DiagramDataInterface> DiagramDialog::mpDiagramData
private

Definition at line 25 of file DiagramDialog.hxx.

Referenced by populateTree().

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

Definition at line 31 of file DiagramDialog.hxx.

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

Definition at line 30 of file DiagramDialog.hxx.

Referenced by DiagramDialog(), and populateTree().


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