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

#include <ChartSeriesPanel.hxx>

Inheritance diagram for chart::sidebar::ChartSeriesPanel:
[legend]
Collaboration diagram for chart::sidebar::ChartSeriesPanel:
[legend]

Public Member Functions

virtual void DataChanged (const DataChangedEvent &rEvent) override
 
virtual void HandleContextChange (const vcl::EnumContext &rContext) override
 
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) override
 
virtual void GetControlState (const sal_uInt16, boost::property_tree::ptree &) override
 
 ChartSeriesPanel (weld::Widget *pParent, ChartController *pController)
 
virtual ~ChartSeriesPanel () override
 
virtual void updateData () override
 
virtual void modelInvalid () override
 
virtual void selectionChanged (bool bCorrectType) override
 
virtual void updateModel (css::uno::Reference< css::frame::XModel > xModel) override
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (weld::Widget *pParent, const OUString &rID, const OUString &rUIXMLDescription)
 
void SetPanel (sfx2::sidebar::Panel *pPanel)
 
virtual ~PanelLayout ()
 
Size get_preferred_size () const
 
void queue_resize ()
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState)=0
 
virtual void GetControlState (const sal_uInt16 nSId, boost::property_tree::ptree &rState)=0
 
virtual ~ItemUpdateReceiverInterface ()
 
- Public Member Functions inherited from chart::sidebar::ChartSidebarModifyListenerParent
virtual ~ChartSidebarModifyListenerParent ()
 
virtual void updateData ()=0
 
virtual void modelInvalid ()=0
 
- Public Member Functions inherited from chart::sidebar::ChartSidebarSelectionListenerParent
virtual ~ChartSidebarSelectionListenerParent ()
 
virtual void selectionChanged (bool bSelected)=0
 

Static Public Member Functions

static std::unique_ptr< PanelLayoutCreate (weld::Widget *pParent, ChartController *pController)
 

Private Member Functions

void Initialize ()
 
void doUpdateModel (rtl::Reference<::chart::ChartModel > xModel)
 
 DECL_LINK (CheckBoxHdl, weld::Toggleable &, void)
 
 DECL_LINK (RadioBtnHdl, weld::Toggleable &, void)
 
 DECL_LINK (ListBoxHdl, weld::ComboBox &, void)
 

Private Attributes

std::unique_ptr< weld::CheckButtonmxCBLabel
 
std::unique_ptr< weld::CheckButtonmxCBTrendline
 
std::unique_ptr< weld::CheckButtonmxCBXError
 
std::unique_ptr< weld::CheckButtonmxCBYError
 
std::unique_ptr< weld::RadioButtonmxRBPrimaryAxis
 
std::unique_ptr< weld::RadioButtonmxRBSecondaryAxis
 
std::unique_ptr< weld::WidgetmxBoxLabelPlacement
 
std::unique_ptr< weld::ComboBoxmxLBLabelPlacement
 
std::unique_ptr< weld::LabelmxFTSeriesName
 
std::unique_ptr< weld::LabelmxFTSeriesTemplate
 
rtl::Reference<::chart::ChartModel > mxModel
 
css::uno::Reference< css::util::XModifyListener > mxListener
 
css::uno::Reference< css::view::XSelectionChangeListener > mxSelectionListener
 
bool mbModelValid
 

Additional Inherited Members

- Protected Member Functions inherited from PanelLayout
virtual void DataChanged (const DataChangedEvent &rEvent)
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
virtual weld::WindowGetFrameWeld () const
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

Definition at line 38 of file ChartSeriesPanel.hxx.

Constructor & Destructor Documentation

◆ ChartSeriesPanel()

chart::sidebar::ChartSeriesPanel::ChartSeriesPanel ( weld::Widget pParent,
ChartController pController 
)

Definition at line 275 of file ChartSeriesPanel.cxx.

References Initialize(), mxListener, and mxModel.

◆ ~ChartSeriesPanel()

chart::sidebar::ChartSeriesPanel::~ChartSeriesPanel ( )
overridevirtual

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > chart::sidebar::ChartSeriesPanel::Create ( weld::Widget pParent,
ChartController pController 
)
static

◆ DataChanged()

void chart::sidebar::ChartSeriesPanel::DataChanged ( const DataChangedEvent rEvent)
overridevirtual

Reimplemented from PanelLayout.

Definition at line 379 of file ChartSeriesPanel.cxx.

References PanelLayout::DataChanged(), and updateData().

◆ DECL_LINK() [1/3]

chart::sidebar::ChartSeriesPanel::DECL_LINK ( CheckBoxHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/3]

chart::sidebar::ChartSeriesPanel::DECL_LINK ( ListBoxHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/3]

chart::sidebar::ChartSeriesPanel::DECL_LINK ( RadioBtnHdl  ,
weld::Toggleable ,
void   
)
private

◆ doUpdateModel()

void chart::sidebar::ChartSeriesPanel::doUpdateModel ( rtl::Reference<::chart::ChartModel >  xModel)
private

Definition at line 403 of file ChartSeriesPanel.cxx.

References mbModelValid, mxListener, mxModel, mxSelectionListener, and xModel.

Referenced by updateModel(), and ~ChartSeriesPanel().

◆ GetControlState()

virtual void chart::sidebar::ChartSeriesPanel::GetControlState ( const  sal_uInt16,
boost::property_tree::ptree &   
)
inlineoverridevirtual

◆ HandleContextChange()

void chart::sidebar::ChartSeriesPanel::HandleContextChange ( const vcl::EnumContext rContext)
overridevirtual

Definition at line 385 of file ChartSeriesPanel.cxx.

References updateData().

◆ Initialize()

void chart::sidebar::ChartSeriesPanel::Initialize ( )
private

◆ modelInvalid()

void chart::sidebar::ChartSeriesPanel::modelInvalid ( )
overridevirtual

Implements chart::sidebar::ChartSidebarModifyListenerParent.

Definition at line 398 of file ChartSeriesPanel.cxx.

References mbModelValid.

◆ NotifyItemUpdate()

void chart::sidebar::ChartSeriesPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

◆ selectionChanged()

void chart::sidebar::ChartSeriesPanel::selectionChanged ( bool  bCorrectType)
overridevirtual

◆ updateData()

void chart::sidebar::ChartSeriesPanel::updateData ( )
overridevirtual

◆ updateModel()

void chart::sidebar::ChartSeriesPanel::updateModel ( css::uno::Reference< css::frame::XModel >  xModel)
overridevirtual

Definition at line 429 of file ChartSeriesPanel.cxx.

References doUpdateModel(), and xModel.

Member Data Documentation

◆ mbModelValid

bool chart::sidebar::ChartSeriesPanel::mbModelValid
private

Definition at line 98 of file ChartSeriesPanel.hxx.

Referenced by doUpdateModel(), modelInvalid(), and updateData().

◆ mxBoxLabelPlacement

std::unique_ptr<weld::Widget> chart::sidebar::ChartSeriesPanel::mxBoxLabelPlacement
private

Definition at line 88 of file ChartSeriesPanel.hxx.

Referenced by updateData(), and ~ChartSeriesPanel().

◆ mxCBLabel

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartSeriesPanel::mxCBLabel
private

Definition at line 80 of file ChartSeriesPanel.hxx.

Referenced by Initialize(), updateData(), and ~ChartSeriesPanel().

◆ mxCBTrendline

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartSeriesPanel::mxCBTrendline
private

Definition at line 81 of file ChartSeriesPanel.hxx.

Referenced by Initialize(), updateData(), and ~ChartSeriesPanel().

◆ mxCBXError

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartSeriesPanel::mxCBXError
private

Definition at line 82 of file ChartSeriesPanel.hxx.

Referenced by Initialize(), updateData(), and ~ChartSeriesPanel().

◆ mxCBYError

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartSeriesPanel::mxCBYError
private

Definition at line 83 of file ChartSeriesPanel.hxx.

Referenced by Initialize(), updateData(), and ~ChartSeriesPanel().

◆ mxFTSeriesName

std::unique_ptr<weld::Label> chart::sidebar::ChartSeriesPanel::mxFTSeriesName
private

Definition at line 91 of file ChartSeriesPanel.hxx.

Referenced by updateData(), and ~ChartSeriesPanel().

◆ mxFTSeriesTemplate

std::unique_ptr<weld::Label> chart::sidebar::ChartSeriesPanel::mxFTSeriesTemplate
private

Definition at line 92 of file ChartSeriesPanel.hxx.

Referenced by updateData(), and ~ChartSeriesPanel().

◆ mxLBLabelPlacement

std::unique_ptr<weld::ComboBox> chart::sidebar::ChartSeriesPanel::mxLBLabelPlacement
private

Definition at line 89 of file ChartSeriesPanel.hxx.

Referenced by Initialize(), updateData(), and ~ChartSeriesPanel().

◆ mxListener

css::uno::Reference<css::util::XModifyListener> chart::sidebar::ChartSeriesPanel::mxListener
private

Definition at line 95 of file ChartSeriesPanel.hxx.

Referenced by doUpdateModel(), and Initialize().

◆ mxModel

rtl::Reference<::chart::ChartModel> chart::sidebar::ChartSeriesPanel::mxModel
private

Definition at line 94 of file ChartSeriesPanel.hxx.

Referenced by doUpdateModel(), Initialize(), and updateData().

◆ mxRBPrimaryAxis

std::unique_ptr<weld::RadioButton> chart::sidebar::ChartSeriesPanel::mxRBPrimaryAxis
private

Definition at line 85 of file ChartSeriesPanel.hxx.

Referenced by Initialize(), updateData(), and ~ChartSeriesPanel().

◆ mxRBSecondaryAxis

std::unique_ptr<weld::RadioButton> chart::sidebar::ChartSeriesPanel::mxRBSecondaryAxis
private

Definition at line 86 of file ChartSeriesPanel.hxx.

Referenced by Initialize(), updateData(), and ~ChartSeriesPanel().

◆ mxSelectionListener

css::uno::Reference<css::view::XSelectionChangeListener> chart::sidebar::ChartSeriesPanel::mxSelectionListener
private

Definition at line 96 of file ChartSeriesPanel.hxx.

Referenced by doUpdateModel(), and Initialize().


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