LibreOffice Module chart2 (master) 1
|
#include <tp_DataSource.hxx>
Public Member Functions | |
DataSourceTabPage (weld::Container *pPage, weld::DialogController *pController, DialogModel &rDialogModel, ChartTypeTemplateProvider *pTemplateProvider, bool bHideDescription=false) | |
virtual | ~DataSourceTabPage () 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 |
virtual void | initializePage () override |
DECL_LINK (SeriesSelectionChangedHdl, weld::TreeView &, void) | |
DECL_LINK (RoleSelectionChangedHdl, weld::TreeView &, void) | |
DECL_LINK (MainRangeButtonClickedHdl, weld::Button &, void) | |
DECL_LINK (CategoriesRangeButtonClickedHdl, weld::Button &, void) | |
DECL_LINK (AddButtonClickedHdl, weld::Button &, void) | |
DECL_LINK (RemoveButtonClickedHdl, weld::Button &, void) | |
DECL_LINK (RangeModifiedHdl, weld::Entry &, void) | |
DECL_LINK (UpButtonClickedHdl, weld::Button &, void) | |
DECL_LINK (DownButtonClickedHdl, weld::Button &, void) | |
virtual void | listeningFinished (const OUString &rNewRange) override |
virtual void | disposingRangeSelection () override |
void | InsertRoleLBEntry (const OUString &rRole, const OUString &rRange) |
void | updateControlState () |
bool | updateModelFromControl (const weld::Entry *pField=nullptr) |
updates the internal data according to the content of the given edit field. More... | |
bool | isRangeFieldContentValid (weld::Entry &rEdit) |
bool | isValid () |
void | setDirty () |
void | updateControlsFromDialogModel () |
void | fillSeriesListBox () |
void | fillRoleListBox () |
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 52 of file tp_DataSource.hxx.
|
explicit |
Definition at line 160 of file tp_DataSource.cxx.
References LINK, m_aFixedTextRange, m_xBTN_ADD, m_xBTN_DOWN, m_xBTN_REMOVE, m_xBTN_UP, m_xEDT_CATEGORIES, m_xEDT_RANGE, m_xFT_CAPTION, m_xFT_RANGE, m_xIMB_RANGE_CAT, m_xIMB_RANGE_MAIN, m_xLB_ROLE, m_xLB_SERIES, chart::SchResId(), BuilderPage::SetPageTitle(), and updateControlsFromDialogModel().
|
overridevirtual |
Definition at line 234 of file tp_DataSource.cxx.
|
overridevirtual |
Reimplemented from vcl::OWizardPage.
Definition at line 238 of file tp_DataSource.cxx.
References m_xLB_SERIES, and updateControlsFromDialogModel().
void chart::DataSourceTabPage::commitPage | ( | ) |
Definition at line 255 of file tp_DataSource.cxx.
References commitPage().
Referenced by commitPage(), and Deactivate().
|
overrideprivatevirtual |
Definition at line 260 of file tp_DataSource.cxx.
References isValid(), and updateModelFromControl().
|
overrideprivatevirtual |
Reimplemented from BuilderPage.
Definition at line 249 of file tp_DataSource.cxx.
References commitPage(), and BuilderPage::Deactivate().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overrideprivatevirtual |
Implements chart::RangeSelectionListenerParent.
Definition at line 727 of file tp_DataSource.cxx.
References chart::DialogModel::getRangeSelectionHelper(), and m_rDialogModel.
|
private |
Definition at line 382 of file tp_DataSource.cxx.
References chart::DialogModel::getRolesWithRanges(), InsertRoleLBEntry(), chart::SeriesEntry::m_xChartType, chart::SeriesEntry::m_xDataSeries, m_xLB_ROLE, and m_xLB_SERIES.
|
private |
Definition at line 321 of file tp_DataSource.cxx.
References aLabel, chart::DialogModel::getAllDataSeriesWithLabel(), m_aEntries, m_rDialogModel, chart::SeriesEntry::m_xChartType, chart::SeriesEntry::m_xDataSeries, m_xLB_SERIES, nIndex, chart::SchResId(), weld::toId(), and u.
Referenced by listeningFinished(), and updateControlsFromDialogModel().
|
overrideprivatevirtual |
Reimplemented from vcl::OWizardPage.
Definition at line 245 of file tp_DataSource.cxx.
|
private |
Definition at line 224 of file tp_DataSource.cxx.
References chart::DialogModel::ConvertRoleFromInternalToUI(), m_aEntries, chart::SeriesEntry::m_sRole, m_xLB_ROLE, and weld::toId().
Referenced by fillRoleListBox().
|
private |
Definition at line 272 of file tp_DataSource.cxx.
References weld::Error, weld::Entry::get_text(), chart::DialogModel::getRangeSelectionHelper(), m_rDialogModel, weld::Normal, and weld::Entry::set_message_type().
Referenced by isValid().
|
private |
Definition at line 281 of file tp_DataSource.cxx.
References isRangeFieldContentValid(), m_pTabPageNotifiable, m_xEDT_CATEGORIES, m_xEDT_RANGE, and m_xLB_SERIES.
Referenced by commitPage(), and updateControlState().
|
overrideprivatevirtual |
Implements chart::RangeSelectionListenerParent.
Definition at line 688 of file tp_DataSource.cxx.
References fillSeriesListBox(), chart::DialogModel::getRangeSelectionHelper(), weld::Widget::grab_focus(), m_pCurrentRangeChoosingField, BuilderPage::m_pDialogController, m_rDialogModel, m_xEDT_CATEGORIES, m_xEDT_RANGE, m_xLB_SERIES, weld::Entry::set_text(), setDirty(), chart::DialogModel::startControllerLockTimer(), updateControlState(), and updateModelFromControl().
|
private |
Definition at line 304 of file tp_DataSource.cxx.
References m_bIsDirty.
Referenced by listeningFinished().
|
private |
Definition at line 309 of file tp_DataSource.cxx.
References fillSeriesListBox(), chart::DialogModel::getCategoriesRange(), m_rDialogModel, m_xEDT_CATEGORIES, m_xLB_SERIES, and updateControlState().
Referenced by Activate(), and DataSourceTabPage().
|
private |
Definition at line 420 of file tp_DataSource.cxx.
References chart::DialogModel::getRangeSelectionHelper(), chart::DialogModel::isCategoryDiagram(), isValid(), m_rDialogModel, m_xBTN_ADD, m_xBTN_DOWN, m_xBTN_REMOVE, m_xBTN_UP, m_xEDT_RANGE, m_xFT_CATEGORIES, m_xFT_DATALABELS, m_xFT_RANGE, m_xFT_ROLE, m_xFT_SERIES, m_xIMB_RANGE_CAT, m_xIMB_RANGE_MAIN, m_xLB_ROLE, and m_xLB_SERIES.
Referenced by listeningFinished(), and updateControlsFromDialogModel().
|
private |
updates the internal data according to the content of the given edit field.
If pField is 0, all relevant fields are used
Definition at line 732 of file tp_DataSource.cxx.
References chart::DialogModelTimeBasedInfo::bTimeBased, chart::DataSourceHelper::createLabeledDataSequence(), DBG_UNHANDLED_EXCEPTION, chart::DialogModel::getCategories(), chart::DialogModel::getChartModel(), chart::DialogModel::getDataProvider(), chart::DataSeriesHelper::getDataSequenceByRole(), chart::DialogModel::getTimeBasedInfo(), chart::lcl_findLSequenceWithOnlyLabel(), m_bIsDirty, m_rDialogModel, chart::SeriesEntry::m_xDataSeries, m_xEDT_CATEGORIES, m_xEDT_RANGE, m_xLB_ROLE, m_xLB_SERIES, chart::DialogModelTimeBasedInfo::nEnd, chart::DialogModelTimeBasedInfo::nStart, chart::DialogModel::setCategories(), and chart::DialogModel::setTimeBasedRange().
Referenced by commitPage(), and listeningFinished().
|
private |
Definition at line 118 of file tp_DataSource.hxx.
Referenced by fillSeriesListBox(), and InsertRoleLBEntry().
|
private |
Definition at line 120 of file tp_DataSource.hxx.
Referenced by DataSourceTabPage().
|
private |
Definition at line 125 of file tp_DataSource.hxx.
Referenced by setDirty(), and updateModelFromControl().
|
private |
Definition at line 124 of file tp_DataSource.hxx.
Referenced by listeningFinished().
|
private |
Definition at line 127 of file tp_DataSource.hxx.
Referenced by isValid().
|
private |
Definition at line 122 of file tp_DataSource.hxx.
|
private |
Definition at line 123 of file tp_DataSource.hxx.
Referenced by disposingRangeSelection(), fillSeriesListBox(), isRangeFieldContentValid(), listeningFinished(), updateControlsFromDialogModel(), updateControlState(), and updateModelFromControl().
|
private |
Definition at line 132 of file tp_DataSource.hxx.
Referenced by DataSourceTabPage(), and updateControlState().
|
private |
Definition at line 135 of file tp_DataSource.hxx.
Referenced by DataSourceTabPage(), and updateControlState().
|
private |
Definition at line 133 of file tp_DataSource.hxx.
Referenced by DataSourceTabPage(), and updateControlState().
|
private |
Definition at line 134 of file tp_DataSource.hxx.
Referenced by DataSourceTabPage(), and updateControlState().
|
private |
Definition at line 143 of file tp_DataSource.hxx.
Referenced by DataSourceTabPage(), isValid(), listeningFinished(), updateControlsFromDialogModel(), and updateModelFromControl().
|
private |
Definition at line 139 of file tp_DataSource.hxx.
Referenced by DataSourceTabPage(), isValid(), listeningFinished(), updateControlState(), and updateModelFromControl().
|
private |
Definition at line 129 of file tp_DataSource.hxx.
Referenced by DataSourceTabPage().
|
private |
Definition at line 141 of file tp_DataSource.hxx.
Referenced by updateControlState().
|
private |
Definition at line 142 of file tp_DataSource.hxx.
Referenced by updateControlState().
|
private |
Definition at line 138 of file tp_DataSource.hxx.
Referenced by DataSourceTabPage(), and updateControlState().
|
private |
Definition at line 136 of file tp_DataSource.hxx.
Referenced by updateControlState().
|
private |
Definition at line 130 of file tp_DataSource.hxx.
Referenced by updateControlState().
|
private |
Definition at line 144 of file tp_DataSource.hxx.
Referenced by DataSourceTabPage(), and updateControlState().
|
private |
Definition at line 140 of file tp_DataSource.hxx.
Referenced by DataSourceTabPage(), and updateControlState().
|
private |
Definition at line 137 of file tp_DataSource.hxx.
Referenced by DataSourceTabPage(), fillRoleListBox(), InsertRoleLBEntry(), updateControlState(), and updateModelFromControl().
|
private |
Definition at line 131 of file tp_DataSource.hxx.
Referenced by Activate(), DataSourceTabPage(), fillRoleListBox(), fillSeriesListBox(), isValid(), listeningFinished(), updateControlsFromDialogModel(), updateControlState(), and updateModelFromControl().