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

#include <ChartElementsPanel.hxx>

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

Public Member Functions

virtual void DataChanged (const DataChangedEvent &rEvent) override
 
virtual void HandleContextChange (const vcl::EnumContext &rContext) override
 
 ChartElementsPanel (weld::Widget *pParent, ChartController *pController)
 
virtual ~ChartElementsPanel () 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 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)
 
void setTitleVisible (TitleHelper::eTitleType eTitle, bool bVisible)
 
 DECL_LINK (CheckBoxHdl, weld::Toggleable &, void)
 
 DECL_LINK (EditHdl, weld::Entry &, void)
 
 DECL_LINK (LegendPosHdl, weld::ComboBox &, void)
 

Private Attributes

std::unique_ptr< weld::CheckButtonmxCBTitle
 
std::unique_ptr< weld::EntrymxEditTitle
 
std::unique_ptr< weld::CheckButtonmxCBSubtitle
 
std::unique_ptr< weld::EntrymxEditSubtitle
 
std::unique_ptr< weld::CheckButtonmxCBXAxis
 
std::unique_ptr< weld::CheckButtonmxCBXAxisTitle
 
std::unique_ptr< weld::CheckButtonmxCBYAxis
 
std::unique_ptr< weld::CheckButtonmxCBYAxisTitle
 
std::unique_ptr< weld::CheckButtonmxCBZAxis
 
std::unique_ptr< weld::CheckButtonmxCBZAxisTitle
 
std::unique_ptr< weld::CheckButtonmxCB2ndXAxis
 
std::unique_ptr< weld::CheckButtonmxCB2ndXAxisTitle
 
std::unique_ptr< weld::CheckButtonmxCB2ndYAxis
 
std::unique_ptr< weld::CheckButtonmxCB2ndYAxisTitle
 
std::unique_ptr< weld::CheckButtonmxCBLegend
 
std::unique_ptr< weld::CheckButtonmxCBLegendNoOverlay
 
std::unique_ptr< weld::CheckButtonmxCBGridVerticalMajor
 
std::unique_ptr< weld::CheckButtonmxCBGridHorizontalMajor
 
std::unique_ptr< weld::CheckButtonmxCBGridVerticalMinor
 
std::unique_ptr< weld::CheckButtonmxCBGridHorizontalMinor
 
std::unique_ptr< weld::LabelmxTextTitle
 
std::unique_ptr< weld::LabelmxTextSubTitle
 
std::unique_ptr< weld::LabelmxLBAxis
 
std::unique_ptr< weld::LabelmxLBGrid
 
std::unique_ptr< weld::ComboBoxmxLBLegendPosition
 
std::unique_ptr< weld::WidgetmxBoxLegend
 
vcl::EnumContext maContext
 
rtl::Reference<::chart::ChartModel > mxModel
 
css::uno::Reference< css::util::XModifyListener > mxListener
 
bool mbModelValid
 
OUString maTextTitle
 
OUString maTextSubTitle
 

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 36 of file ChartElementsPanel.hxx.

Constructor & Destructor Documentation

◆ ChartElementsPanel()

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

◆ ~ChartElementsPanel()

chart::sidebar::ChartElementsPanel::~ChartElementsPanel ( )
overridevirtual

Member Function Documentation

◆ Create()

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

◆ DataChanged()

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

Reimplemented from PanelLayout.

Definition at line 536 of file ChartElementsPanel.cxx.

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

◆ DECL_LINK() [1/3]

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

◆ DECL_LINK() [2/3]

chart::sidebar::ChartElementsPanel::DECL_LINK ( EditHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [3/3]

chart::sidebar::ChartElementsPanel::DECL_LINK ( LegendPosHdl  ,
weld::ComboBox ,
void   
)
private

◆ doUpdateModel()

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

Definition at line 560 of file ChartElementsPanel.cxx.

References mbModelValid, mxListener, mxModel, and xModel.

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

◆ HandleContextChange()

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

Definition at line 542 of file ChartElementsPanel.cxx.

References maContext, and updateData().

◆ Initialize()

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

◆ modelInvalid()

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

Implements chart::sidebar::ChartSidebarModifyListenerParent.

Definition at line 555 of file ChartElementsPanel.cxx.

References mbModelValid.

◆ setTitleVisible()

void chart::sidebar::ChartElementsPanel::setTitleVisible ( TitleHelper::eTitleType  eTitle,
bool  bVisible 
)
private

◆ updateData()

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

◆ updateModel()

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

Definition at line 576 of file ChartElementsPanel.cxx.

References doUpdateModel(), and xModel.

Member Data Documentation

◆ maContext

vcl::EnumContext chart::sidebar::ChartElementsPanel::maContext
private

Definition at line 94 of file ChartElementsPanel.hxx.

Referenced by HandleContextChange().

◆ maTextSubTitle

OUString chart::sidebar::ChartElementsPanel::maTextSubTitle
private

Definition at line 102 of file ChartElementsPanel.hxx.

Referenced by ChartElementsPanel(), and setTitleVisible().

◆ maTextTitle

OUString chart::sidebar::ChartElementsPanel::maTextTitle
private

Definition at line 101 of file ChartElementsPanel.hxx.

Referenced by ChartElementsPanel(), and setTitleVisible().

◆ mbModelValid

bool chart::sidebar::ChartElementsPanel::mbModelValid
private

Definition at line 99 of file ChartElementsPanel.hxx.

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

◆ mxBoxLegend

std::unique_ptr<weld::Widget> chart::sidebar::ChartElementsPanel::mxBoxLegend
private

Definition at line 92 of file ChartElementsPanel.hxx.

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

◆ mxCB2ndXAxis

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCB2ndXAxis
private

Definition at line 76 of file ChartElementsPanel.hxx.

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

◆ mxCB2ndXAxisTitle

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCB2ndXAxisTitle
private

Definition at line 77 of file ChartElementsPanel.hxx.

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

◆ mxCB2ndYAxis

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCB2ndYAxis
private

Definition at line 78 of file ChartElementsPanel.hxx.

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

◆ mxCB2ndYAxisTitle

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCB2ndYAxisTitle
private

Definition at line 79 of file ChartElementsPanel.hxx.

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

◆ mxCBGridHorizontalMajor

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBGridHorizontalMajor
private

Definition at line 83 of file ChartElementsPanel.hxx.

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

◆ mxCBGridHorizontalMinor

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBGridHorizontalMinor
private

Definition at line 85 of file ChartElementsPanel.hxx.

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

◆ mxCBGridVerticalMajor

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBGridVerticalMajor
private

Definition at line 82 of file ChartElementsPanel.hxx.

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

◆ mxCBGridVerticalMinor

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBGridVerticalMinor
private

Definition at line 84 of file ChartElementsPanel.hxx.

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

◆ mxCBLegend

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBLegend
private

Definition at line 80 of file ChartElementsPanel.hxx.

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

◆ mxCBLegendNoOverlay

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBLegendNoOverlay
private

Definition at line 81 of file ChartElementsPanel.hxx.

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

◆ mxCBSubtitle

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBSubtitle
private

Definition at line 68 of file ChartElementsPanel.hxx.

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

◆ mxCBTitle

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBTitle
private

Definition at line 66 of file ChartElementsPanel.hxx.

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

◆ mxCBXAxis

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBXAxis
private

Definition at line 70 of file ChartElementsPanel.hxx.

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

◆ mxCBXAxisTitle

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBXAxisTitle
private

Definition at line 71 of file ChartElementsPanel.hxx.

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

◆ mxCBYAxis

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBYAxis
private

Definition at line 72 of file ChartElementsPanel.hxx.

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

◆ mxCBYAxisTitle

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBYAxisTitle
private

Definition at line 73 of file ChartElementsPanel.hxx.

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

◆ mxCBZAxis

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBZAxis
private

Definition at line 74 of file ChartElementsPanel.hxx.

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

◆ mxCBZAxisTitle

std::unique_ptr<weld::CheckButton> chart::sidebar::ChartElementsPanel::mxCBZAxisTitle
private

Definition at line 75 of file ChartElementsPanel.hxx.

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

◆ mxEditSubtitle

std::unique_ptr<weld::Entry> chart::sidebar::ChartElementsPanel::mxEditSubtitle
private

Definition at line 69 of file ChartElementsPanel.hxx.

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

◆ mxEditTitle

std::unique_ptr<weld::Entry> chart::sidebar::ChartElementsPanel::mxEditTitle
private

Definition at line 67 of file ChartElementsPanel.hxx.

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

◆ mxLBAxis

std::unique_ptr<weld::Label> chart::sidebar::ChartElementsPanel::mxLBAxis
private

Definition at line 88 of file ChartElementsPanel.hxx.

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

◆ mxLBGrid

std::unique_ptr<weld::Label> chart::sidebar::ChartElementsPanel::mxLBGrid
private

Definition at line 89 of file ChartElementsPanel.hxx.

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

◆ mxLBLegendPosition

std::unique_ptr<weld::ComboBox> chart::sidebar::ChartElementsPanel::mxLBLegendPosition
private

Definition at line 91 of file ChartElementsPanel.hxx.

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

◆ mxListener

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

Definition at line 97 of file ChartElementsPanel.hxx.

Referenced by doUpdateModel(), and Initialize().

◆ mxModel

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

Definition at line 96 of file ChartElementsPanel.hxx.

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

◆ mxTextSubTitle

std::unique_ptr<weld::Label> chart::sidebar::ChartElementsPanel::mxTextSubTitle
private

Definition at line 87 of file ChartElementsPanel.hxx.

Referenced by ChartElementsPanel(), and ~ChartElementsPanel().

◆ mxTextTitle

std::unique_ptr<weld::Label> chart::sidebar::ChartElementsPanel::mxTextTitle
private

Definition at line 86 of file ChartElementsPanel.hxx.

Referenced by ChartElementsPanel(), and ~ChartElementsPanel().


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