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

#include <tp_RangeChooser.hxx>

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

Public Member Functions

 RangeChooserTabPage (weld::Container *pPage, weld::DialogController *pController, DialogModel &rDialogModel, ChartTypeTemplateProvider *pTemplateProvider, bool bHideDescription=false)
 
virtual ~RangeChooserTabPage () override
 
virtual void listeningFinished (const OUString &rNewRange) override
 
virtual void disposingRangeSelection () override
 
virtual void Activate () override
 
void commitPage ()
 
- 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
 
virtual void listeningFinished (const OUString &rNewRange)=0
 
virtual void disposingRangeSelection ()=0
 

Private Member Functions

virtual bool commitPage (::vcl::WizardTypes::CommitPageReason eReason) override
 
virtual void Deactivate () override
 
void initControlsFromModel ()
 
void changeDialogModelAccordingToControls ()
 
bool isValid ()
 
void setDirty ()
 
 DECL_LINK (ChooseRangeHdl, weld::Button &, void)
 
 DECL_LINK (ControlChangedHdl, weld::Entry &, void)
 
 DECL_LINK (ControlChangedCheckBoxHdl, weld::Toggleable &, void)
 
 DECL_LINK (ControlChangedRadioHdl, weld::Toggleable &, void)
 
 DECL_LINK (ControlEditedHdl, weld::Entry &, void)
 

Private Attributes

sal_Int32 m_nChangingControlCalls
 
bool m_bIsDirty
 
OUString m_aLastValidRangeString
 
rtl::Reference< ::chart::ChartTypeTemplatem_xCurrentChartTypeTemplate
 
ChartTypeTemplateProviderm_pTemplateProvider
 
DialogModelm_rDialogModel
 
TabPageNotifiable * m_pTabPageNotifiable
 
std::unique_ptr< weld::Labelm_xFT_Caption
 
std::unique_ptr< weld::Entrym_xED_Range
 
std::unique_ptr< weld::Buttonm_xIB_Range
 
std::unique_ptr< weld::RadioButtonm_xRB_Rows
 
std::unique_ptr< weld::RadioButtonm_xRB_Columns
 
std::unique_ptr< weld::CheckButtonm_xCB_FirstRowAsLabel
 
std::unique_ptr< weld::CheckButtonm_xCB_FirstColumnAsLabel
 
std::unique_ptr< weld::Labelm_xFTTitle
 
std::unique_ptr< weld::Widgetm_xFL_TimeBased
 
std::unique_ptr< weld::CheckButtonm_xCB_TimeBased
 
std::unique_ptr< weld::Labelm_xFT_TimeStart
 
std::unique_ptr< weld::Entrym_xEd_TimeStart
 
std::unique_ptr< weld::Labelm_xFT_TimeEnd
 
std::unique_ptr< weld::Entrym_xEd_TimeEnd
 

Additional Inherited Members

- Protected Member Functions inherited from vcl::OWizardPage
virtual void Activate () override
 
void updateDialogTravelUI ()
 
- Protected Member Functions inherited from chart::RangeSelectionListenerParent
 ~RangeSelectionListenerParent ()
 
- 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 34 of file tp_RangeChooser.hxx.

Constructor & Destructor Documentation

◆ RangeChooserTabPage()

chart::RangeChooserTabPage::RangeChooserTabPage ( weld::Container pPage,
weld::DialogController pController,
DialogModel rDialogModel,
ChartTypeTemplateProvider pTemplateProvider,
bool  bHideDescription = false 
)

◆ ~RangeChooserTabPage()

chart::RangeChooserTabPage::~RangeChooserTabPage ( )
overridevirtual

Definition at line 122 of file tp_RangeChooser.cxx.

Member Function Documentation

◆ Activate()

void chart::RangeChooserTabPage::Activate ( )
overridevirtual

Reimplemented from vcl::OWizardPage.

Definition at line 126 of file tp_RangeChooser.cxx.

References initControlsFromModel(), and m_xED_Range.

◆ changeDialogModelAccordingToControls()

void chart::RangeChooserTabPage::changeDialogModelAccordingToControls ( )
private

◆ commitPage() [1/2]

void chart::RangeChooserTabPage::commitPage ( )

Definition at line 169 of file tp_RangeChooser.cxx.

References commitPage().

Referenced by commitPage(), and Deactivate().

◆ commitPage() [2/2]

bool chart::RangeChooserTabPage::commitPage ( ::vcl::WizardTypes::CommitPageReason  eReason)
overrideprivatevirtual

Definition at line 174 of file tp_RangeChooser.cxx.

References changeDialogModelAccordingToControls(), and isValid().

◆ Deactivate()

void chart::RangeChooserTabPage::Deactivate ( )
overrideprivatevirtual

Reimplemented from BuilderPage.

Definition at line 163 of file tp_RangeChooser.cxx.

References commitPage(), and BuilderPage::Deactivate().

◆ DECL_LINK() [1/5]

chart::RangeChooserTabPage::DECL_LINK ( ChooseRangeHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/5]

chart::RangeChooserTabPage::DECL_LINK ( ControlChangedCheckBoxHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/5]

chart::RangeChooserTabPage::DECL_LINK ( ControlChangedHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [4/5]

chart::RangeChooserTabPage::DECL_LINK ( ControlChangedRadioHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [5/5]

chart::RangeChooserTabPage::DECL_LINK ( ControlEditedHdl  ,
weld::Entry ,
void   
)
private

◆ disposingRangeSelection()

void chart::RangeChooserTabPage::disposingRangeSelection ( )
overridevirtual

◆ initControlsFromModel()

void chart::RangeChooserTabPage::initControlsFromModel ( )
private

◆ isValid()

bool chart::RangeChooserTabPage::isValid ( )
private

◆ listeningFinished()

void chart::RangeChooserTabPage::listeningFinished ( const OUString &  rNewRange)
overridevirtual

◆ setDirty()

void chart::RangeChooserTabPage::setDirty ( )
private

Definition at line 372 of file tp_RangeChooser.cxx.

References m_bIsDirty, and m_nChangingControlCalls.

Referenced by listeningFinished().

Member Data Documentation

◆ m_aLastValidRangeString

OUString chart::RangeChooserTabPage::m_aLastValidRangeString
private

◆ m_bIsDirty

bool chart::RangeChooserTabPage::m_bIsDirty
private

Definition at line 71 of file tp_RangeChooser.hxx.

Referenced by changeDialogModelAccordingToControls(), and setDirty().

◆ m_nChangingControlCalls

sal_Int32 chart::RangeChooserTabPage::m_nChangingControlCalls
private

◆ m_pTabPageNotifiable

TabPageNotifiable* chart::RangeChooserTabPage::m_pTabPageNotifiable
private

Definition at line 78 of file tp_RangeChooser.hxx.

Referenced by isValid().

◆ m_pTemplateProvider

ChartTypeTemplateProvider* chart::RangeChooserTabPage::m_pTemplateProvider
private

◆ m_rDialogModel

DialogModel& chart::RangeChooserTabPage::m_rDialogModel
private

◆ m_xCB_FirstColumnAsLabel

std::unique_ptr<weld::CheckButton> chart::RangeChooserTabPage::m_xCB_FirstColumnAsLabel
private

◆ m_xCB_FirstRowAsLabel

std::unique_ptr<weld::CheckButton> chart::RangeChooserTabPage::m_xCB_FirstRowAsLabel
private

◆ m_xCB_TimeBased

std::unique_ptr<weld::CheckButton> chart::RangeChooserTabPage::m_xCB_TimeBased
private

◆ m_xCurrentChartTypeTemplate

rtl::Reference< ::chart::ChartTypeTemplate > chart::RangeChooserTabPage::m_xCurrentChartTypeTemplate
private

◆ m_xED_Range

std::unique_ptr<weld::Entry> chart::RangeChooserTabPage::m_xED_Range
private

◆ m_xEd_TimeEnd

std::unique_ptr<weld::Entry> chart::RangeChooserTabPage::m_xEd_TimeEnd
private

◆ m_xEd_TimeStart

std::unique_ptr<weld::Entry> chart::RangeChooserTabPage::m_xEd_TimeStart
private

◆ m_xFL_TimeBased

std::unique_ptr<weld::Widget> chart::RangeChooserTabPage::m_xFL_TimeBased
private

Definition at line 88 of file tp_RangeChooser.hxx.

Referenced by RangeChooserTabPage().

◆ m_xFT_Caption

std::unique_ptr<weld::Label> chart::RangeChooserTabPage::m_xFT_Caption
private

Definition at line 80 of file tp_RangeChooser.hxx.

Referenced by RangeChooserTabPage().

◆ m_xFT_TimeEnd

std::unique_ptr<weld::Label> chart::RangeChooserTabPage::m_xFT_TimeEnd
private

Definition at line 92 of file tp_RangeChooser.hxx.

Referenced by RangeChooserTabPage().

◆ m_xFT_TimeStart

std::unique_ptr<weld::Label> chart::RangeChooserTabPage::m_xFT_TimeStart
private

Definition at line 90 of file tp_RangeChooser.hxx.

Referenced by RangeChooserTabPage().

◆ m_xFTTitle

std::unique_ptr<weld::Label> chart::RangeChooserTabPage::m_xFTTitle
private

Definition at line 87 of file tp_RangeChooser.hxx.

Referenced by RangeChooserTabPage().

◆ m_xIB_Range

std::unique_ptr<weld::Button> chart::RangeChooserTabPage::m_xIB_Range
private

Definition at line 82 of file tp_RangeChooser.hxx.

Referenced by isValid(), and RangeChooserTabPage().

◆ m_xRB_Columns

std::unique_ptr<weld::RadioButton> chart::RangeChooserTabPage::m_xRB_Columns
private

◆ m_xRB_Rows

std::unique_ptr<weld::RadioButton> chart::RangeChooserTabPage::m_xRB_Rows
private

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