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

#include <ShadowPropertyPanel.hxx>

Inheritance diagram for svx::sidebar::ShadowPropertyPanel:
[legend]
Collaboration diagram for svx::sidebar::ShadowPropertyPanel:
[legend]

Public Member Functions

virtual ~ShadowPropertyPanel () 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
 
SfxBindingsGetBindings ()
 
void Initialize ()
 
 ShadowPropertyPanel (weld::Widget *pParent, SfxBindings *pBindings)
 
- 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 ()
 

Static Public Member Functions

static std::unique_ptr< PanelLayoutCreate (weld::Widget *pParent, SfxBindings *pBindings)
 

Private Member Functions

void InsertAngleValues ()
 
void SetTransparencyValue (tools::Long)
 
void UpdateControls ()
 
void ModifyShadowDistance ()
 
 DECL_LINK (ClickShadowHdl, weld::Toggleable &, void)
 
 DECL_LINK (ModifyShadowColorHdl, ColorListBox &, void)
 
 DECL_LINK (ModifyShadowTransMetricHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ModifyShadowAngleHdl, weld::ComboBox &, void)
 
 DECL_LINK (ModifyShadowDistanceHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ModifyShadowTransSliderHdl, weld::Scale &, void)
 
 DECL_LINK (ModifyShadowBlurMetricHdl, weld::MetricSpinButton &, void)
 

Private Attributes

::sfx2::sidebar::ControllerItem maShadowController
 
::sfx2::sidebar::ControllerItem maShadowTransController
 
::sfx2::sidebar::ControllerItem maShadowBlurController
 
::sfx2::sidebar::ControllerItem maShadowColorController
 
::sfx2::sidebar::ControllerItem maShadowXDistanceController
 
::sfx2::sidebar::ControllerItem maShadowYDistanceController
 
SfxBindingsmpBindings
 
tools::Long nX
 
tools::Long nY
 
tools::Long nXY
 
std::unique_ptr< weld::CheckButtonmxShowShadow
 
std::unique_ptr< weld::MetricSpinButtonmxShadowDistance
 
std::unique_ptr< ColorListBoxmxLBShadowColor
 
std::unique_ptr< weld::ComboBoxmxShadowAngle
 
std::unique_ptr< weld::LabelmxFTAngle
 
std::unique_ptr< weld::LabelmxFTDistance
 
std::unique_ptr< weld::LabelmxFTTransparency
 
std::unique_ptr< weld::LabelmxFTBlur
 
std::unique_ptr< weld::LabelmxFTColor
 
std::unique_ptr< weld::ScalemxShadowTransSlider
 
std::unique_ptr< weld::MetricSpinButtonmxShadowTransMetric
 
std::unique_ptr< weld::MetricSpinButtonmxShadowBlurMetric
 

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 19 of file ShadowPropertyPanel.hxx.

Constructor & Destructor Documentation

◆ ~ShadowPropertyPanel()

svx::sidebar::ShadowPropertyPanel::~ShadowPropertyPanel ( )
overridevirtual

◆ ShadowPropertyPanel()

svx::sidebar::ShadowPropertyPanel::ShadowPropertyPanel ( weld::Widget pParent,
SfxBindings pBindings 
)

Definition at line 31 of file ShadowPropertyPanel.cxx.

References PanelLayout::GetFrameWeld(), and POINT.

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > svx::sidebar::ShadowPropertyPanel::Create ( weld::Widget pParent,
SfxBindings pBindings 
)
static

Definition at line 349 of file ShadowPropertyPanel.cxx.

◆ DECL_LINK() [1/7]

svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ClickShadowHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/7]

svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ModifyShadowAngleHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/7]

svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ModifyShadowBlurMetricHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [4/7]

svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ModifyShadowColorHdl  ,
ColorListBox ,
void   
)
private

◆ DECL_LINK() [5/7]

svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ModifyShadowDistanceHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [6/7]

svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ModifyShadowTransMetricHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [7/7]

svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ModifyShadowTransSliderHdl  ,
weld::Scale ,
void   
)
private

◆ GetBindings()

SfxBindings * svx::sidebar::ShadowPropertyPanel::GetBindings ( )
inline

Definition at line 39 of file ShadowPropertyPanel.hxx.

References mpBindings.

Referenced by ModifyShadowDistance().

◆ GetControlState()

virtual void svx::sidebar::ShadowPropertyPanel::GetControlState ( const  sal_uInt16,
boost::property_tree::ptree &   
)
inlineoverridevirtual

◆ Initialize()

void svx::sidebar::ShadowPropertyPanel::Initialize ( )

◆ InsertAngleValues()

void svx::sidebar::ShadowPropertyPanel::InsertAngleValues ( )
private

◆ ModifyShadowDistance()

void svx::sidebar::ShadowPropertyPanel::ModifyShadowDistance ( )
private

◆ NotifyItemUpdate()

void svx::sidebar::ShadowPropertyPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

◆ SetTransparencyValue()

void svx::sidebar::ShadowPropertyPanel::SetTransparencyValue ( tools::Long  nVal)
private

Definition at line 240 of file ShadowPropertyPanel.cxx.

References mxShadowTransMetric, and mxShadowTransSlider.

Referenced by NotifyItemUpdate().

◆ UpdateControls()

void svx::sidebar::ShadowPropertyPanel::UpdateControls ( )
private

Member Data Documentation

◆ maShadowBlurController

::sfx2::sidebar::ControllerItem svx::sidebar::ShadowPropertyPanel::maShadowBlurController
private

Definition at line 50 of file ShadowPropertyPanel.hxx.

Referenced by ~ShadowPropertyPanel().

◆ maShadowColorController

::sfx2::sidebar::ControllerItem svx::sidebar::ShadowPropertyPanel::maShadowColorController
private

Definition at line 51 of file ShadowPropertyPanel.hxx.

Referenced by ~ShadowPropertyPanel().

◆ maShadowController

::sfx2::sidebar::ControllerItem svx::sidebar::ShadowPropertyPanel::maShadowController
private

Definition at line 48 of file ShadowPropertyPanel.hxx.

Referenced by ~ShadowPropertyPanel().

◆ maShadowTransController

::sfx2::sidebar::ControllerItem svx::sidebar::ShadowPropertyPanel::maShadowTransController
private

Definition at line 49 of file ShadowPropertyPanel.hxx.

Referenced by ~ShadowPropertyPanel().

◆ maShadowXDistanceController

::sfx2::sidebar::ControllerItem svx::sidebar::ShadowPropertyPanel::maShadowXDistanceController
private

Definition at line 52 of file ShadowPropertyPanel.hxx.

Referenced by ~ShadowPropertyPanel().

◆ maShadowYDistanceController

::sfx2::sidebar::ControllerItem svx::sidebar::ShadowPropertyPanel::maShadowYDistanceController
private

Definition at line 53 of file ShadowPropertyPanel.hxx.

Referenced by ~ShadowPropertyPanel().

◆ mpBindings

SfxBindings* svx::sidebar::ShadowPropertyPanel::mpBindings
private

Definition at line 55 of file ShadowPropertyPanel.hxx.

Referenced by GetBindings().

◆ mxFTAngle

std::unique_ptr<weld::Label> svx::sidebar::ShadowPropertyPanel::mxFTAngle
private

Definition at line 62 of file ShadowPropertyPanel.hxx.

Referenced by UpdateControls(), and ~ShadowPropertyPanel().

◆ mxFTBlur

std::unique_ptr<weld::Label> svx::sidebar::ShadowPropertyPanel::mxFTBlur
private

Definition at line 65 of file ShadowPropertyPanel.hxx.

Referenced by UpdateControls(), and ~ShadowPropertyPanel().

◆ mxFTColor

std::unique_ptr<weld::Label> svx::sidebar::ShadowPropertyPanel::mxFTColor
private

Definition at line 66 of file ShadowPropertyPanel.hxx.

Referenced by UpdateControls(), and ~ShadowPropertyPanel().

◆ mxFTDistance

std::unique_ptr<weld::Label> svx::sidebar::ShadowPropertyPanel::mxFTDistance
private

Definition at line 63 of file ShadowPropertyPanel.hxx.

Referenced by UpdateControls(), and ~ShadowPropertyPanel().

◆ mxFTTransparency

std::unique_ptr<weld::Label> svx::sidebar::ShadowPropertyPanel::mxFTTransparency
private

Definition at line 64 of file ShadowPropertyPanel.hxx.

Referenced by UpdateControls(), and ~ShadowPropertyPanel().

◆ mxLBShadowColor

std::unique_ptr<ColorListBox> svx::sidebar::ShadowPropertyPanel::mxLBShadowColor
private

◆ mxShadowAngle

std::unique_ptr<weld::ComboBox> svx::sidebar::ShadowPropertyPanel::mxShadowAngle
private

◆ mxShadowBlurMetric

std::unique_ptr<weld::MetricSpinButton> svx::sidebar::ShadowPropertyPanel::mxShadowBlurMetric
private

◆ mxShadowDistance

std::unique_ptr<weld::MetricSpinButton> svx::sidebar::ShadowPropertyPanel::mxShadowDistance
private

◆ mxShadowTransMetric

std::unique_ptr<weld::MetricSpinButton> svx::sidebar::ShadowPropertyPanel::mxShadowTransMetric
private

◆ mxShadowTransSlider

std::unique_ptr<weld::Scale> svx::sidebar::ShadowPropertyPanel::mxShadowTransSlider
private

◆ mxShowShadow

std::unique_ptr<weld::CheckButton> svx::sidebar::ShadowPropertyPanel::mxShowShadow
private

◆ nX

tools::Long svx::sidebar::ShadowPropertyPanel::nX
private

Definition at line 56 of file ShadowPropertyPanel.hxx.

Referenced by ModifyShadowDistance(), NotifyItemUpdate(), and UpdateControls().

◆ nXY

tools::Long svx::sidebar::ShadowPropertyPanel::nXY
private

Definition at line 56 of file ShadowPropertyPanel.hxx.

Referenced by ModifyShadowDistance(), and UpdateControls().

◆ nY

tools::Long svx::sidebar::ShadowPropertyPanel::nY
private

Definition at line 56 of file ShadowPropertyPanel.hxx.

Referenced by ModifyShadowDistance(), NotifyItemUpdate(), and UpdateControls().


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