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

#include <tp_ChartType.hxx>

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

Public Member Functions

 ChartTypeTabPage (weld::Container *pPage, weld::DialogController *pController, rtl::Reference<::chart::ChartModel > xChartModel, bool bShowDescription=true)
 
virtual ~ChartTypeTabPage () override
 
virtual void initializePage () override
 
virtual bool commitPage (::vcl::WizardTypes::CommitPageReason eReason) override
 
virtual rtl::Reference< ::chart::ChartTypeTemplategetCurrentTemplate () const override
 
- Public Member Functions inherited from chart::ResourceChangeListener
virtual void stateChanged ()=0
 
virtual ~ResourceChangeListener ()
 
- Public Member Functions inherited from vcl::OWizardPage
 OWizardPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID)
 
virtual ~OWizardPage () override
 
virtual void initializePage () override
 
virtual bool commitPage (WizardTypes::CommitPageReason _eReason) override
 
virtual bool canAdvance () const override
 
- Public Member Functions inherited from BuilderPage
 BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, bool bIsMobile=false)
 
virtual ~BuilderPage () COVERITY_NOEXCEPT_FALSE
 
void SetPageTitle (const OUString &rPageTitle)
 
const OUString & GetPageTitle () const
 
virtual void Activate ()
 
virtual void Deactivate ()
 
void SetHelpId (const OUString &rHelpId)
 
OUString GetHelpId () const
 
- Public Member Functions inherited from chart::ChartTypeTemplateProvider
virtual rtl::Reference<::chart::ChartTypeTemplategetCurrentTemplate () const =0
 
virtual ~ChartTypeTemplateProvider ()
 

Private Member Functions

ChartTypeDialogControllergetSelectedMainType ()
 
void showAllControls (ChartTypeDialogController &rTypeController)
 
void fillAllControls (const ChartTypeParameter &rParameter, bool bAlsoResetSubTypeList=true)
 
ChartTypeParameter getCurrentParamter () const
 
virtual void stateChanged () override
 
void commitToModel (const ChartTypeParameter &rParameter)
 
void selectMainType ()
 
 DECL_LINK (SelectMainTypeHdl, weld::TreeView &, void)
 
 DECL_LINK (SelectSubTypeHdl, ValueSet *, void)
 

Private Attributes

std::unique_ptr< Dim3DLookResourceGroupm_pDim3DLookResourceGroup
 
std::unique_ptr< StackingResourceGroupm_pStackingResourceGroup
 
std::unique_ptr< SplineResourceGroupm_pSplineResourceGroup
 
std::unique_ptr< GeometryResourceGroupm_pGeometryResourceGroup
 
std::unique_ptr< SortByXValuesResourceGroupm_pSortByXValuesResourceGroup
 
rtl::Reference<::chart::ChartModel > m_xChartModel
 
std::vector< std::unique_ptr< ChartTypeDialogController > > m_aChartTypeDialogControllerList
 
ChartTypeDialogControllerm_pCurrentMainType
 
sal_Int32 m_nChangingCalls
 
TimerTriggeredControllerLock m_aTimerTriggeredControllerLock
 
std::unique_ptr< weld::Labelm_xFT_ChooseType
 
std::unique_ptr< weld::TreeViewm_xMainTypeList
 
std::unique_ptr< ValueSetm_xSubTypeList
 
std::unique_ptr< weld::CustomWeldm_xSubTypeListWin
 

Additional Inherited Members

- Protected Member Functions inherited from vcl::OWizardPage
virtual void Activate () override
 
void updateDialogTravelUI ()
 
- Protected Attributes inherited from BuilderPage
weld::DialogControllerm_pDialogController
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 44 of file tp_ChartType.hxx.

Constructor & Destructor Documentation

◆ ChartTypeTabPage()

chart::ChartTypeTabPage::ChartTypeTabPage ( weld::Container pPage,
weld::DialogController pController,
rtl::Reference<::chart::ChartModel >  xChartModel,
bool  bShowDescription = true 
)

◆ ~ChartTypeTabPage()

chart::ChartTypeTabPage::~ChartTypeTabPage ( )
overridevirtual

Member Function Documentation

◆ commitPage()

bool chart::ChartTypeTabPage::commitPage ( ::vcl::WizardTypes::CommitPageReason  eReason)
overridevirtual

Definition at line 366 of file tp_ChartType.cxx.

◆ commitToModel()

void chart::ChartTypeTabPage::commitToModel ( const ChartTypeParameter rParameter)
private

◆ DECL_LINK() [1/2]

chart::ChartTypeTabPage::DECL_LINK ( SelectMainTypeHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [2/2]

chart::ChartTypeTabPage::DECL_LINK ( SelectSubTypeHdl  ,
ValueSet ,
void   
)
private

◆ fillAllControls()

void chart::ChartTypeTabPage::fillAllControls ( const ChartTypeParameter rParameter,
bool  bAlsoResetSubTypeList = true 
)
private

◆ getCurrentParamter()

ChartTypeParameter chart::ChartTypeTabPage::getCurrentParamter ( ) const
private

◆ getCurrentTemplate()

rtl::Reference< ChartTypeTemplate > chart::ChartTypeTabPage::getCurrentTemplate ( ) const
overridevirtual

◆ getSelectedMainType()

ChartTypeDialogController * chart::ChartTypeTabPage::getSelectedMainType ( )
private

Definition at line 203 of file tp_ChartType.cxx.

References get(), m_aChartTypeDialogControllerList, and m_xMainTypeList.

Referenced by initializePage(), and selectMainType().

◆ initializePage()

void chart::ChartTypeTabPage::initializePage ( )
overridevirtual

◆ selectMainType()

void chart::ChartTypeTabPage::selectMainType ( )
private

◆ showAllControls()

void chart::ChartTypeTabPage::showAllControls ( ChartTypeDialogController rTypeController)
private

◆ stateChanged()

void chart::ChartTypeTabPage::stateChanged ( )
overrideprivatevirtual

Member Data Documentation

◆ m_aChartTypeDialogControllerList

std::vector< std::unique_ptr<ChartTypeDialogController> > chart::ChartTypeTabPage::m_aChartTypeDialogControllerList
private

◆ m_aTimerTriggeredControllerLock

TimerTriggeredControllerLock chart::ChartTypeTabPage::m_aTimerTriggeredControllerLock
private

Definition at line 84 of file tp_ChartType.hxx.

Referenced by commitToModel().

◆ m_nChangingCalls

sal_Int32 chart::ChartTypeTabPage::m_nChangingCalls
private

Definition at line 82 of file tp_ChartType.hxx.

Referenced by fillAllControls(), and stateChanged().

◆ m_pCurrentMainType

ChartTypeDialogController* chart::ChartTypeTabPage::m_pCurrentMainType
private

◆ m_pDim3DLookResourceGroup

std::unique_ptr<Dim3DLookResourceGroup> chart::ChartTypeTabPage::m_pDim3DLookResourceGroup
private

◆ m_pGeometryResourceGroup

std::unique_ptr<GeometryResourceGroup> chart::ChartTypeTabPage::m_pGeometryResourceGroup
private

◆ m_pSortByXValuesResourceGroup

std::unique_ptr<SortByXValuesResourceGroup> chart::ChartTypeTabPage::m_pSortByXValuesResourceGroup
private

◆ m_pSplineResourceGroup

std::unique_ptr<SplineResourceGroup> chart::ChartTypeTabPage::m_pSplineResourceGroup
private

◆ m_pStackingResourceGroup

std::unique_ptr<StackingResourceGroup> chart::ChartTypeTabPage::m_pStackingResourceGroup
private

◆ m_xChartModel

rtl::Reference<::chart::ChartModel> chart::ChartTypeTabPage::m_xChartModel
private

◆ m_xFT_ChooseType

std::unique_ptr<weld::Label> chart::ChartTypeTabPage::m_xFT_ChooseType
private

Definition at line 86 of file tp_ChartType.hxx.

Referenced by ChartTypeTabPage().

◆ m_xMainTypeList

std::unique_ptr<weld::TreeView> chart::ChartTypeTabPage::m_xMainTypeList
private

◆ m_xSubTypeList

std::unique_ptr<ValueSet> chart::ChartTypeTabPage::m_xSubTypeList
private

◆ m_xSubTypeListWin

std::unique_ptr<weld::CustomWeld> chart::ChartTypeTabPage::m_xSubTypeListWin
private

Definition at line 89 of file tp_ChartType.hxx.

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


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