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

#include <ChartAxisPanel.hxx>

Inheritance diagram for chart::sidebar::ChartAxisPanel:
[legend]
Collaboration diagram for chart::sidebar::ChartAxisPanel:
[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
 
 ChartAxisPanel (weld::Widget *pParent, ChartController *pController)
 
virtual ~ChartAxisPanel () 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 (ListBoxHdl, weld::ComboBox &, void)
 
 DECL_LINK (TextRotationHdl, weld::MetricSpinButton &, void)
 

Private Attributes

std::unique_ptr< weld::CheckButtonmxCBShowLabel
 
std::unique_ptr< weld::CheckButtonmxCBReverse
 
std::unique_ptr< weld::ComboBoxmxLBLabelPos
 
std::unique_ptr< weld::WidgetmxGridLabel
 
std::unique_ptr< weld::MetricSpinButtonmxNFRotation
 
rtl::Reference<::chart::ChartModel > mxModel
 
css::uno::Reference< css::util::XModifyListener > mxModifyListener
 
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 29 of file ChartAxisPanel.hxx.

Constructor & Destructor Documentation

◆ ChartAxisPanel()

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

Definition at line 201 of file ChartAxisPanel.cxx.

References DEGREE, Initialize(), and mxModel.

◆ ~ChartAxisPanel()

chart::sidebar::ChartAxisPanel::~ChartAxisPanel ( )
overridevirtual

Member Function Documentation

◆ Create()

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

◆ DataChanged()

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

Reimplemented from PanelLayout.

Definition at line 279 of file ChartAxisPanel.cxx.

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

◆ DECL_LINK() [1/3]

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

◆ DECL_LINK() [2/3]

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

◆ DECL_LINK() [3/3]

chart::sidebar::ChartAxisPanel::DECL_LINK ( TextRotationHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ doUpdateModel()

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

Definition at line 303 of file ChartAxisPanel.cxx.

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

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

◆ GetControlState()

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

◆ HandleContextChange()

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

Definition at line 285 of file ChartAxisPanel.cxx.

References updateData().

◆ Initialize()

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

◆ modelInvalid()

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

Implements chart::sidebar::ChartSidebarModifyListenerParent.

Definition at line 298 of file ChartAxisPanel.cxx.

References mbModelValid.

◆ NotifyItemUpdate()

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

◆ selectionChanged()

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

Implements chart::sidebar::ChartSidebarSelectionListenerParent.

Definition at line 336 of file ChartAxisPanel.cxx.

References updateData().

◆ updateData()

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

◆ updateModel()

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

Definition at line 329 of file ChartAxisPanel.cxx.

References doUpdateModel(), and xModel.

Member Data Documentation

◆ mbModelValid

bool chart::sidebar::ChartAxisPanel::mbModelValid
private

Definition at line 81 of file ChartAxisPanel.hxx.

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

◆ mxCBReverse

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartAxisPanel::mxCBReverse
private

Definition at line 72 of file ChartAxisPanel.hxx.

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

◆ mxCBShowLabel

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartAxisPanel::mxCBShowLabel
private

Definition at line 71 of file ChartAxisPanel.hxx.

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

◆ mxGridLabel

std::unique_ptr<weld::Widget> chart::sidebar::ChartAxisPanel::mxGridLabel
private

Definition at line 74 of file ChartAxisPanel.hxx.

Referenced by ~ChartAxisPanel().

◆ mxLBLabelPos

std::unique_ptr<weld::ComboBox> chart::sidebar::ChartAxisPanel::mxLBLabelPos
private

Definition at line 73 of file ChartAxisPanel.hxx.

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

◆ mxModel

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

Definition at line 77 of file ChartAxisPanel.hxx.

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

◆ mxModifyListener

css::uno::Reference<css::util::XModifyListener> chart::sidebar::ChartAxisPanel::mxModifyListener
private

Definition at line 78 of file ChartAxisPanel.hxx.

Referenced by doUpdateModel(), and Initialize().

◆ mxNFRotation

std::unique_ptr<weld::MetricSpinButton> chart::sidebar::ChartAxisPanel::mxNFRotation
private

Definition at line 75 of file ChartAxisPanel.hxx.

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

◆ mxSelectionListener

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

Definition at line 79 of file ChartAxisPanel.hxx.

Referenced by doUpdateModel(), and Initialize().


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