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

#include <dlg_DataSource.hxx>

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

Public Member Functions

 DataSourceDialog (weld::Window *pParent, const rtl::Reference<::chart::ChartModel > &xChartDocument)
 
virtual ~DataSourceDialog () override
 
virtual short run () override
 
virtual void setInvalidPage (BuilderPage *pTabPage) override
 
virtual void setValidPage (BuilderPage *pTabPage) 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 Member Functions

 DECL_LINK (ActivatePageHdl, const OUString &, void)
 
 DECL_LINK (DeactivatePageHdl, const OUString &, bool)
 

Private Attributes

std::unique_ptr< ChartTypeTemplateProviderm_apDocTemplateProvider
 
std::unique_ptr< DialogModelm_apDialogModel
 
std::unique_ptr< RangeChooserTabPagem_xRangeChooserTabPage
 
std::unique_ptr< DataSourceTabPagem_xDataSourceTabPage
 
bool m_bRangeChooserTabIsValid
 
bool m_bDataSourceTabIsValid
 
bool m_bTogglingEnabled
 
std::unique_ptr< weld::Notebookm_xTabControl
 
std::unique_ptr< weld::Buttonm_xBtnOK
 

Static Private Attributes

static sal_uInt16 m_nLastPageId = 0
 

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 37 of file dlg_DataSource.hxx.

Constructor & Destructor Documentation

◆ DataSourceDialog()

chart::DataSourceDialog::DataSourceDialog ( weld::Window pParent,
const rtl::Reference<::chart::ChartModel > &  xChartDocument 
)
explicit

◆ ~DataSourceDialog()

chart::DataSourceDialog::~DataSourceDialog ( )
overridevirtual

Member Function Documentation

◆ DECL_LINK() [1/2]

chart::DataSourceDialog::DECL_LINK ( ActivatePageHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [2/2]

chart::DataSourceDialog::DECL_LINK ( DeactivatePageHdl  ,
const OUString &  ,
bool   
)
private

◆ run()

short chart::DataSourceDialog::run ( )
overridevirtual

◆ setInvalidPage()

void chart::DataSourceDialog::setInvalidPage ( BuilderPage pTabPage)
overridevirtual

◆ setValidPage()

void chart::DataSourceDialog::setValidPage ( BuilderPage pTabPage)
overridevirtual

Member Data Documentation

◆ m_apDialogModel

std::unique_ptr< DialogModel > chart::DataSourceDialog::m_apDialogModel
private

Definition at line 59 of file dlg_DataSource.hxx.

Referenced by DataSourceDialog().

◆ m_apDocTemplateProvider

std::unique_ptr< ChartTypeTemplateProvider > chart::DataSourceDialog::m_apDocTemplateProvider
private

Definition at line 58 of file dlg_DataSource.hxx.

Referenced by DataSourceDialog().

◆ m_bDataSourceTabIsValid

bool chart::DataSourceDialog::m_bDataSourceTabIsValid
private

Definition at line 64 of file dlg_DataSource.hxx.

Referenced by setInvalidPage(), and setValidPage().

◆ m_bRangeChooserTabIsValid

bool chart::DataSourceDialog::m_bRangeChooserTabIsValid
private

Definition at line 63 of file dlg_DataSource.hxx.

Referenced by setInvalidPage(), and setValidPage().

◆ m_bTogglingEnabled

bool chart::DataSourceDialog::m_bTogglingEnabled
private

Definition at line 65 of file dlg_DataSource.hxx.

Referenced by setInvalidPage(), and setValidPage().

◆ m_nLastPageId

sal_uInt16 chart::DataSourceDialog::m_nLastPageId = 0
staticprivate

Definition at line 70 of file dlg_DataSource.hxx.

Referenced by DataSourceDialog(), and ~DataSourceDialog().

◆ m_xBtnOK

std::unique_ptr<weld::Button> chart::DataSourceDialog::m_xBtnOK
private

Definition at line 68 of file dlg_DataSource.hxx.

Referenced by setInvalidPage(), and setValidPage().

◆ m_xDataSourceTabPage

std::unique_ptr<DataSourceTabPage> chart::DataSourceDialog::m_xDataSourceTabPage
private

◆ m_xRangeChooserTabPage

std::unique_ptr<RangeChooserTabPage> chart::DataSourceDialog::m_xRangeChooserTabPage
private

◆ m_xTabControl

std::unique_ptr<weld::Notebook> chart::DataSourceDialog::m_xTabControl
private

Definition at line 67 of file dlg_DataSource.hxx.

Referenced by DataSourceDialog(), setInvalidPage(), and ~DataSourceDialog().


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