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 dispose () override
 
virtual void DataChanged (const DataChangedEvent &rEvent) 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 (vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame)
 
virtual ~PanelLayout () override
 
virtual Size GetOptimalSize () const override
 
virtual void GetFocus () override
 
virtual void setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) override
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout) override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual ~ItemUpdateReceiverInterface ()
 

Static Public Member Functions

static VclPtr< vcl::WindowCreate (vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 

Private Member Functions

void InsertAngleValues ()
 
void SetTransparencyValue (tools::Long)
 
void UpdateControls ()
 
void ModifyShadowDistance ()
 
 DECL_LINK (ClickShadowHdl, weld::ToggleButton &, 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 Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
VclPtr< vcl::Windowm_xVclContentArea
 
std::unique_ptr< weld::Containerm_xContainer
 
weld::Widgetm_pInitialFocusWidget
 

Detailed Description

Definition at line 20 of file ShadowPropertyPanel.hxx.

Constructor & Destructor Documentation

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

Definition at line 62 of file ShadowPropertyPanel.cxx.

svx::sidebar::ShadowPropertyPanel::ShadowPropertyPanel ( vcl::Window pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)

Definition at line 31 of file ShadowPropertyPanel.cxx.

References GetFrameWeld(), Initialize(), PERCENT(), and POINT.

Member Function Documentation

VclPtr< vcl::Window > svx::sidebar::ShadowPropertyPanel::Create ( vcl::Window pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
static

Definition at line 365 of file ShadowPropertyPanel.cxx.

References VclPtr< reference_type >::Create().

void svx::sidebar::ShadowPropertyPanel::DataChanged ( const DataChangedEvent rEvent)
overridevirtual

Definition at line 253 of file ShadowPropertyPanel.cxx.

svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ClickShadowHdl  ,
weld::ToggleButton ,
void   
)
private
svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ModifyShadowColorHdl  ,
ColorListBox ,
void   
)
private
svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ModifyShadowTransMetricHdl  ,
weld::MetricSpinButton ,
void   
)
private
svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ModifyShadowAngleHdl  ,
weld::ComboBox ,
void   
)
private
svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ModifyShadowDistanceHdl  ,
weld::MetricSpinButton ,
void   
)
private
svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ModifyShadowTransSliderHdl  ,
weld::Scale ,
void   
)
private
svx::sidebar::ShadowPropertyPanel::DECL_LINK ( ModifyShadowBlurMetricHdl  ,
weld::MetricSpinButton ,
void   
)
private
void svx::sidebar::ShadowPropertyPanel::dispose ( void  )
overridevirtual
SfxBindings* svx::sidebar::ShadowPropertyPanel::GetBindings ( )
inline

Definition at line 45 of file ShadowPropertyPanel.hxx.

References mpBindings.

Referenced by ModifyShadowDistance().

virtual void svx::sidebar::ShadowPropertyPanel::GetControlState ( const sal_uInt16  ,
boost::property_tree::ptree &   
)
inlineoverridevirtual
void svx::sidebar::ShadowPropertyPanel::Initialize ( )
void svx::sidebar::ShadowPropertyPanel::InsertAngleValues ( )
private
void svx::sidebar::ShadowPropertyPanel::ModifyShadowDistance ( )
private
void svx::sidebar::ShadowPropertyPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual
void svx::sidebar::ShadowPropertyPanel::SetTransparencyValue ( tools::Long  nVal)
private

Definition at line 247 of file ShadowPropertyPanel.cxx.

References mxShadowTransMetric, and mxShadowTransSlider.

Referenced by NotifyItemUpdate().

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

Member Data Documentation

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

Definition at line 57 of file ShadowPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 58 of file ShadowPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 55 of file ShadowPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 56 of file ShadowPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 59 of file ShadowPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 60 of file ShadowPropertyPanel.hxx.

Referenced by dispose().

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

Definition at line 62 of file ShadowPropertyPanel.hxx.

Referenced by GetBindings().

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

Definition at line 69 of file ShadowPropertyPanel.hxx.

Referenced by dispose(), and UpdateControls().

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

Definition at line 72 of file ShadowPropertyPanel.hxx.

Referenced by dispose(), and UpdateControls().

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

Definition at line 73 of file ShadowPropertyPanel.hxx.

Referenced by dispose(), and UpdateControls().

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

Definition at line 70 of file ShadowPropertyPanel.hxx.

Referenced by dispose(), and UpdateControls().

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

Definition at line 71 of file ShadowPropertyPanel.hxx.

Referenced by dispose(), and UpdateControls().

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

Definition at line 67 of file ShadowPropertyPanel.hxx.

Referenced by dispose(), Initialize(), NotifyItemUpdate(), and UpdateControls().

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

Definition at line 76 of file ShadowPropertyPanel.hxx.

Referenced by dispose(), Initialize(), NotifyItemUpdate(), and UpdateControls().

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

Definition at line 66 of file ShadowPropertyPanel.hxx.

Referenced by dispose(), Initialize(), ModifyShadowDistance(), and UpdateControls().

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

Definition at line 75 of file ShadowPropertyPanel.hxx.

Referenced by dispose(), Initialize(), SetTransparencyValue(), and UpdateControls().

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

Definition at line 74 of file ShadowPropertyPanel.hxx.

Referenced by dispose(), Initialize(), SetTransparencyValue(), and UpdateControls().

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

Definition at line 65 of file ShadowPropertyPanel.hxx.

Referenced by dispose(), Initialize(), NotifyItemUpdate(), and UpdateControls().

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

Definition at line 63 of file ShadowPropertyPanel.hxx.

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

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

Definition at line 63 of file ShadowPropertyPanel.hxx.

Referenced by ModifyShadowDistance(), and UpdateControls().

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

Definition at line 63 of file ShadowPropertyPanel.hxx.

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


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