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

#include <ChartErrorBarPanel.hxx>

Inheritance diagram for chart::sidebar::ChartErrorBarPanel:
[legend]
Collaboration diagram for chart::sidebar::ChartErrorBarPanel:
[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
 
 ChartErrorBarPanel (weld::Widget *pParent, ChartController *pController)
 
virtual ~ChartErrorBarPanel () override
 
virtual void updateData () override
 
virtual void modelInvalid () 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
 

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 (RadioBtnHdl, weld::Toggleable &, void)
 
 DECL_LINK (ListBoxHdl, weld::ComboBox &, void)
 
 DECL_LINK (NumericFieldHdl, weld::SpinButton &, void)
 

Private Attributes

std::unique_ptr< weld::RadioButtonmxRBPosAndNeg
 
std::unique_ptr< weld::RadioButtonmxRBPos
 
std::unique_ptr< weld::RadioButtonmxRBNeg
 
std::unique_ptr< weld::ComboBoxmxLBType
 
std::unique_ptr< weld::SpinButtonmxMFPos
 
std::unique_ptr< weld::SpinButtonmxMFNeg
 
rtl::Reference<::chart::ChartModel > mxModel
 
css::uno::Reference< css::util::XModifyListener > mxListener
 
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 28 of file ChartErrorBarPanel.hxx.

Constructor & Destructor Documentation

◆ ChartErrorBarPanel()

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

Definition at line 237 of file ChartErrorBarPanel.cxx.

References Initialize(), mxListener, and mxModel.

◆ ~ChartErrorBarPanel()

chart::sidebar::ChartErrorBarPanel::~ChartErrorBarPanel ( )
overridevirtual

Definition at line 252 of file ChartErrorBarPanel.cxx.

References doUpdateModel(), mxLBType, mxMFNeg, mxMFPos, mxRBNeg, mxRBPos, and mxRBPosAndNeg.

Member Function Documentation

◆ Create()

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

◆ DataChanged()

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

Reimplemented from PanelLayout.

Definition at line 348 of file ChartErrorBarPanel.cxx.

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

◆ DECL_LINK() [1/3]

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

◆ DECL_LINK() [2/3]

chart::sidebar::ChartErrorBarPanel::DECL_LINK ( NumericFieldHdl  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [3/3]

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

◆ doUpdateModel()

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

Definition at line 372 of file ChartErrorBarPanel.cxx.

References mbModelValid, mxListener, mxModel, and xModel.

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

◆ GetControlState()

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

◆ HandleContextChange()

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

Definition at line 354 of file ChartErrorBarPanel.cxx.

References updateData().

◆ Initialize()

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

◆ modelInvalid()

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

Implements chart::sidebar::ChartSidebarModifyListenerParent.

Definition at line 367 of file ChartErrorBarPanel.cxx.

References mbModelValid.

◆ NotifyItemUpdate()

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

◆ updateData()

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

◆ updateModel()

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

Definition at line 388 of file ChartErrorBarPanel.cxx.

References doUpdateModel(), and xModel.

Member Data Documentation

◆ mbModelValid

bool chart::sidebar::ChartErrorBarPanel::mbModelValid
private

Definition at line 79 of file ChartErrorBarPanel.hxx.

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

◆ mxLBType

std::unique_ptr<weld::ComboBox> chart::sidebar::ChartErrorBarPanel::mxLBType
private

Definition at line 71 of file ChartErrorBarPanel.hxx.

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

◆ mxListener

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

Definition at line 77 of file ChartErrorBarPanel.hxx.

Referenced by doUpdateModel(), and Initialize().

◆ mxMFNeg

std::unique_ptr<weld::SpinButton> chart::sidebar::ChartErrorBarPanel::mxMFNeg
private

Definition at line 74 of file ChartErrorBarPanel.hxx.

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

◆ mxMFPos

std::unique_ptr<weld::SpinButton> chart::sidebar::ChartErrorBarPanel::mxMFPos
private

Definition at line 73 of file ChartErrorBarPanel.hxx.

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

◆ mxModel

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

Definition at line 76 of file ChartErrorBarPanel.hxx.

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

◆ mxRBNeg

std::unique_ptr<weld::RadioButton> chart::sidebar::ChartErrorBarPanel::mxRBNeg
private

Definition at line 69 of file ChartErrorBarPanel.hxx.

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

◆ mxRBPos

std::unique_ptr<weld::RadioButton> chart::sidebar::ChartErrorBarPanel::mxRBPos
private

Definition at line 68 of file ChartErrorBarPanel.hxx.

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

◆ mxRBPosAndNeg

std::unique_ptr<weld::RadioButton> chart::sidebar::ChartErrorBarPanel::mxRBPosAndNeg
private

Definition at line 67 of file ChartErrorBarPanel.hxx.

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


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