LibreOffice Module chart2 (master) 1
|
#include <tp_RangeChooser.hxx>
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::ChartTypeTemplate > | m_xCurrentChartTypeTemplate |
ChartTypeTemplateProvider * | m_pTemplateProvider |
DialogModel & | m_rDialogModel |
TabPageNotifiable * | m_pTabPageNotifiable |
std::unique_ptr< weld::Label > | m_xFT_Caption |
std::unique_ptr< weld::Entry > | m_xED_Range |
std::unique_ptr< weld::Button > | m_xIB_Range |
std::unique_ptr< weld::RadioButton > | m_xRB_Rows |
std::unique_ptr< weld::RadioButton > | m_xRB_Columns |
std::unique_ptr< weld::CheckButton > | m_xCB_FirstRowAsLabel |
std::unique_ptr< weld::CheckButton > | m_xCB_FirstColumnAsLabel |
std::unique_ptr< weld::Label > | m_xFTTitle |
std::unique_ptr< weld::Widget > | m_xFL_TimeBased |
std::unique_ptr< weld::CheckButton > | m_xCB_TimeBased |
std::unique_ptr< weld::Label > | m_xFT_TimeStart |
std::unique_ptr< weld::Entry > | m_xEd_TimeStart |
std::unique_ptr< weld::Label > | m_xFT_TimeEnd |
std::unique_ptr< weld::Entry > | m_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::DialogController * | m_pDialogController |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
Definition at line 34 of file tp_RangeChooser.hxx.
chart::RangeChooserTabPage::RangeChooserTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
DialogModel & | rDialogModel, | ||
ChartTypeTemplateProvider * | pTemplateProvider, | ||
bool | bHideDescription = false |
||
) |
Definition at line 62 of file tp_RangeChooser.cxx.
References LINK, m_xCB_FirstColumnAsLabel, m_xCB_FirstRowAsLabel, m_xCB_TimeBased, m_xED_Range, m_xEd_TimeEnd, m_xEd_TimeStart, m_xFL_TimeBased, m_xFT_Caption, m_xFT_TimeEnd, m_xFT_TimeStart, m_xFTTitle, m_xIB_Range, m_xRB_Columns, m_xRB_Rows, and BuilderPage::SetPageTitle().
|
overridevirtual |
Definition at line 122 of file tp_RangeChooser.cxx.
|
overridevirtual |
Reimplemented from vcl::OWizardPage.
Definition at line 126 of file tp_RangeChooser.cxx.
References initControlsFromModel(), and m_xED_Range.
|
private |
Definition at line 186 of file tp_RangeChooser.cxx.
References aArguments, chart::DataSourceHelper::createArguments(), chart::ChartTypeTemplateProvider::getCurrentTemplate(), m_aLastValidRangeString, m_bIsDirty, m_nChangingControlCalls, m_pTemplateProvider, m_rDialogModel, m_xCB_FirstColumnAsLabel, m_xCB_FirstRowAsLabel, m_xCB_TimeBased, m_xCurrentChartTypeTemplate, m_xED_Range, m_xEd_TimeEnd, m_xEd_TimeStart, m_xRB_Columns, m_xRB_Rows, chart::DialogModel::setData(), chart::DialogModel::setTemplate(), and chart::DialogModel::setTimeBasedRange().
Referenced by commitPage(), and listeningFinished().
void chart::RangeChooserTabPage::commitPage | ( | ) |
Definition at line 169 of file tp_RangeChooser.cxx.
References commitPage().
Referenced by commitPage(), and Deactivate().
|
overrideprivatevirtual |
Definition at line 174 of file tp_RangeChooser.cxx.
References changeDialogModelAccordingToControls(), and isValid().
|
overrideprivatevirtual |
Reimplemented from BuilderPage.
Definition at line 163 of file tp_RangeChooser.cxx.
References commitPage(), and BuilderPage::Deactivate().
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Implements chart::RangeSelectionListenerParent.
Definition at line 367 of file tp_RangeChooser.cxx.
References chart::DialogModel::getRangeSelectionHelper(), and m_rDialogModel.
|
private |
Definition at line 133 of file tp_RangeChooser.cxx.
References chart::DialogModel::allArgumentsForRectRangeDetected(), chart::DialogModel::detectArguments(), chart::ChartTypeTemplateProvider::getCurrentTemplate(), isValid(), m_aLastValidRangeString, m_nChangingControlCalls, m_pTemplateProvider, m_rDialogModel, m_xCB_FirstColumnAsLabel, m_xCB_FirstRowAsLabel, m_xCurrentChartTypeTemplate, m_xED_Range, m_xRB_Columns, and m_xRB_Rows.
Referenced by Activate().
|
private |
Definition at line 247 of file tp_RangeChooser.cxx.
References chart::DataSourceHelper::createArguments(), weld::Error, chart::DialogModel::getRangeSelectionHelper(), m_aLastValidRangeString, m_pTabPageNotifiable, m_rDialogModel, m_xCB_FirstColumnAsLabel, m_xCB_FirstRowAsLabel, m_xED_Range, m_xIB_Range, m_xRB_Columns, m_xRB_Rows, and weld::Normal.
Referenced by commitPage(), initControlsFromModel(), and listeningFinished().
|
overridevirtual |
Implements chart::RangeSelectionListenerParent.
Definition at line 344 of file tp_RangeChooser.cxx.
References changeDialogModelAccordingToControls(), chart::DialogModel::getRangeSelectionHelper(), isValid(), BuilderPage::m_pDialogController, m_rDialogModel, m_xED_Range, setDirty(), and chart::DialogModel::startControllerLockTimer().
|
private |
Definition at line 372 of file tp_RangeChooser.cxx.
References m_bIsDirty, and m_nChangingControlCalls.
Referenced by listeningFinished().
|
private |
Definition at line 73 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), initControlsFromModel(), and isValid().
|
private |
Definition at line 71 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), and setDirty().
|
private |
Definition at line 70 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), initControlsFromModel(), and setDirty().
|
private |
Definition at line 78 of file tp_RangeChooser.hxx.
Referenced by isValid().
|
private |
Definition at line 75 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), and initControlsFromModel().
|
private |
Definition at line 77 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), disposingRangeSelection(), initControlsFromModel(), isValid(), and listeningFinished().
|
private |
Definition at line 86 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), initControlsFromModel(), isValid(), and RangeChooserTabPage().
|
private |
Definition at line 85 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), initControlsFromModel(), isValid(), and RangeChooserTabPage().
|
private |
Definition at line 89 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), and RangeChooserTabPage().
|
private |
Definition at line 74 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), and initControlsFromModel().
|
private |
Definition at line 81 of file tp_RangeChooser.hxx.
Referenced by Activate(), changeDialogModelAccordingToControls(), initControlsFromModel(), isValid(), listeningFinished(), and RangeChooserTabPage().
|
private |
Definition at line 93 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), and RangeChooserTabPage().
|
private |
Definition at line 91 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), and RangeChooserTabPage().
|
private |
Definition at line 88 of file tp_RangeChooser.hxx.
Referenced by RangeChooserTabPage().
|
private |
Definition at line 80 of file tp_RangeChooser.hxx.
Referenced by RangeChooserTabPage().
|
private |
Definition at line 92 of file tp_RangeChooser.hxx.
Referenced by RangeChooserTabPage().
|
private |
Definition at line 90 of file tp_RangeChooser.hxx.
Referenced by RangeChooserTabPage().
|
private |
Definition at line 87 of file tp_RangeChooser.hxx.
Referenced by RangeChooserTabPage().
|
private |
Definition at line 82 of file tp_RangeChooser.hxx.
Referenced by isValid(), and RangeChooserTabPage().
|
private |
Definition at line 84 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), initControlsFromModel(), isValid(), and RangeChooserTabPage().
|
private |
Definition at line 83 of file tp_RangeChooser.hxx.
Referenced by changeDialogModelAccordingToControls(), initControlsFromModel(), isValid(), and RangeChooserTabPage().