LibreOffice Module chart2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
chart::DataEditor Class Referencefinal

#include <dlg_DataEditor.hxx>

Inheritance diagram for chart::DataEditor:
[legend]
Collaboration diagram for chart::DataEditor:
[legend]

Public Member Functions

 DataEditor (weld::Window *pParent, rtl::Reference<::chart::ChartModel > xChartDoc, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ~DataEditor () override
 
 DECL_LINK (CloseHdl, weld::Button &, void)
 
void SetReadOnly (bool bReadOnly)
 
- 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 Member Functions

 DECL_LINK (ToolboxHdl, const OUString &, void)
 handles actions of the toolbox More...
 
 DECL_LINK (BrowserCursorMovedHdl, DataBrowser *, void)
 is called, if the cursor of the table has moved More...
 

Private Attributes

bool m_bReadOnly
 
rtl::Reference<::chart::ChartModel > m_xChartDoc
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
std::unique_ptr< weld::Toolbarm_xTbxData
 
std::unique_ptr< weld::Buttonm_xCloseBtn
 
std::unique_ptr< weld::Containerm_xTable
 
std::unique_ptr< weld::Containerm_xColumns
 
std::unique_ptr< weld::Containerm_xColors
 
css::uno::Reference< css::awt::XWindow > m_xTableCtrlParent
 
VclPtr< DataBrowserm_xBrwData
 

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 39 of file dlg_DataEditor.hxx.

Constructor & Destructor Documentation

◆ DataEditor()

chart::DataEditor::DataEditor ( weld::Window pParent,
rtl::Reference<::chart::ChartModel >  xChartDoc,
const css::uno::Reference< css::uno::XComponentContext > &  xContext 
)

◆ ~DataEditor()

chart::DataEditor::~DataEditor ( )
overridevirtual

Definition at line 69 of file dlg_DataEditor.cxx.

References m_xBrwData, and m_xTableCtrlParent.

Member Function Documentation

◆ DECL_LINK() [1/3]

chart::DataEditor::DECL_LINK ( BrowserCursorMovedHdl  ,
DataBrowser ,
void   
)
private

is called, if the cursor of the table has moved

◆ DECL_LINK() [2/3]

chart::DataEditor::DECL_LINK ( CloseHdl  ,
weld::Button ,
void   
)

◆ DECL_LINK() [3/3]

chart::DataEditor::DECL_LINK ( ToolboxHdl  ,
const OUString &  ,
void   
)
private

handles actions of the toolbox

◆ SetReadOnly()

void chart::DataEditor::SetReadOnly ( bool  bReadOnly)

Definition at line 120 of file dlg_DataEditor.cxx.

References bReadOnly, m_bReadOnly, m_xBrwData, and m_xTbxData.

Referenced by DataEditor().

Member Data Documentation

◆ m_bReadOnly

bool chart::DataEditor::m_bReadOnly
private

Definition at line 52 of file dlg_DataEditor.hxx.

Referenced by SetReadOnly().

◆ m_xBrwData

VclPtr<DataBrowser> chart::DataEditor::m_xBrwData
private

Definition at line 63 of file dlg_DataEditor.hxx.

Referenced by DataEditor(), SetReadOnly(), and ~DataEditor().

◆ m_xChartDoc

rtl::Reference<::chart::ChartModel> chart::DataEditor::m_xChartDoc
private

Definition at line 54 of file dlg_DataEditor.hxx.

Referenced by DataEditor().

◆ m_xCloseBtn

std::unique_ptr<weld::Button> chart::DataEditor::m_xCloseBtn
private

Definition at line 58 of file dlg_DataEditor.hxx.

Referenced by DataEditor().

◆ m_xColors

std::unique_ptr<weld::Container> chart::DataEditor::m_xColors
private

Definition at line 61 of file dlg_DataEditor.hxx.

◆ m_xColumns

std::unique_ptr<weld::Container> chart::DataEditor::m_xColumns
private

Definition at line 60 of file dlg_DataEditor.hxx.

◆ m_xContext

css::uno::Reference<css::uno::XComponentContext> chart::DataEditor::m_xContext
private

Definition at line 55 of file dlg_DataEditor.hxx.

◆ m_xTable

std::unique_ptr<weld::Container> chart::DataEditor::m_xTable
private

Definition at line 59 of file dlg_DataEditor.hxx.

Referenced by DataEditor().

◆ m_xTableCtrlParent

css::uno::Reference<css::awt::XWindow> chart::DataEditor::m_xTableCtrlParent
private

Definition at line 62 of file dlg_DataEditor.hxx.

Referenced by ~DataEditor().

◆ m_xTbxData

std::unique_ptr<weld::Toolbar> chart::DataEditor::m_xTbxData
private

Definition at line 57 of file dlg_DataEditor.hxx.

Referenced by DataEditor(), and SetReadOnly().


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