LibreOffice Module svx (master)
1
|
#include <ShadowPropertyPanel.hxx>
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 |
SfxBindings * | GetBindings () |
void | Initialize () |
ShadowPropertyPanel (weld::Widget *pParent, SfxBindings *pBindings) | |
![]() | |
PanelLayout (weld::Widget *pParent, const OString &rID, const OUString &rUIXMLDescription) | |
void | SetPanel (sfx2::sidebar::Panel *pPanel) |
virtual | ~PanelLayout () |
Size | get_preferred_size () const |
void | queue_resize () |
![]() | |
virtual | ~ItemUpdateReceiverInterface () |
Static Public Member Functions | |
static std::unique_ptr< PanelLayout > | Create (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) | |
Additional Inherited Members | |
![]() | |
virtual void | DataChanged (const DataChangedEvent &rEvent) |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
virtual weld::Window * | GetFrameWeld () const |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
sfx2::sidebar::Panel * | m_pPanel |
Definition at line 19 of file ShadowPropertyPanel.hxx.
|
overridevirtual |
Definition at line 61 of file ShadowPropertyPanel.cxx.
References SfxControllerItem::dispose(), maShadowBlurController, maShadowColorController, maShadowController, maShadowTransController, maShadowXDistanceController, maShadowYDistanceController, mxFTAngle, mxFTBlur, mxFTColor, mxFTDistance, mxFTTransparency, mxLBShadowColor, mxShadowAngle, mxShadowBlurMetric, mxShadowDistance, mxShadowTransMetric, mxShadowTransSlider, and mxShowShadow.
svx::sidebar::ShadowPropertyPanel::ShadowPropertyPanel | ( | weld::Widget * | pParent, |
SfxBindings * | pBindings | ||
) |
Definition at line 31 of file ShadowPropertyPanel.cxx.
References PanelLayout::GetFrameWeld(), and POINT.
|
static |
Definition at line 349 of file ShadowPropertyPanel.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 39 of file ShadowPropertyPanel.hxx.
References mpBindings.
Referenced by ModifyShadowDistance().
|
inlineoverridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 35 of file ShadowPropertyPanel.hxx.
void svx::sidebar::ShadowPropertyPanel::Initialize | ( | ) |
Definition at line 84 of file ShadowPropertyPanel.cxx.
References InsertAngleValues(), LINK, mxLBShadowColor, mxShadowAngle, mxShadowBlurMetric, mxShadowDistance, mxShadowTransMetric, mxShadowTransSlider, mxShowShadow, and TRISTATE_FALSE.
|
private |
Definition at line 246 of file ShadowPropertyPanel.cxx.
References AllSettings::GetLocaleDataWrapper(), LocaleDataWrapper::getNum(), Application::GetSettings(), weld::MetricSpinButton::MetricToString(), mxShadowAngle, and sSuffix.
Referenced by Initialize().
|
private |
Definition at line 172 of file ShadowPropertyPanel.cxx.
References SfxDispatcher::ExecuteList(), GetBindings(), SfxBindings::GetDispatcher(), makeSdrShadowXDistItem(), makeSdrShadowYDistItem(), mxShadowAngle, mxShadowDistance, nX, nXY, and nY.
|
overridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 262 of file ShadowPropertyPanel.cxx.
References XColorItem::GetColorValue(), SfxBoolItem::GetValue(), CntInt32Item::GetValue(), CntUInt16Item::GetValue(), mxLBShadowColor, mxShadowBlurMetric, mxShowShadow, nX, nY, SetTransparencyValue(), TRISTATE_FALSE, TRISTATE_TRUE, and UpdateControls().
|
private |
Definition at line 240 of file ShadowPropertyPanel.cxx.
References mxShadowTransMetric, and mxShadowTransSlider.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 195 of file ShadowPropertyPanel.cxx.
References mxFTAngle, mxFTBlur, mxFTColor, mxFTDistance, mxFTTransparency, mxLBShadowColor, mxShadowAngle, mxShadowBlurMetric, mxShadowDistance, mxShadowTransMetric, mxShadowTransSlider, mxShowShadow, nX, nXY, nY, and TRISTATE_FALSE.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 50 of file ShadowPropertyPanel.hxx.
Referenced by ~ShadowPropertyPanel().
|
private |
Definition at line 51 of file ShadowPropertyPanel.hxx.
Referenced by ~ShadowPropertyPanel().
|
private |
Definition at line 48 of file ShadowPropertyPanel.hxx.
Referenced by ~ShadowPropertyPanel().
|
private |
Definition at line 49 of file ShadowPropertyPanel.hxx.
Referenced by ~ShadowPropertyPanel().
|
private |
Definition at line 52 of file ShadowPropertyPanel.hxx.
Referenced by ~ShadowPropertyPanel().
|
private |
Definition at line 53 of file ShadowPropertyPanel.hxx.
Referenced by ~ShadowPropertyPanel().
|
private |
Definition at line 55 of file ShadowPropertyPanel.hxx.
Referenced by GetBindings().
|
private |
Definition at line 62 of file ShadowPropertyPanel.hxx.
Referenced by UpdateControls(), and ~ShadowPropertyPanel().
|
private |
Definition at line 65 of file ShadowPropertyPanel.hxx.
Referenced by UpdateControls(), and ~ShadowPropertyPanel().
|
private |
Definition at line 66 of file ShadowPropertyPanel.hxx.
Referenced by UpdateControls(), and ~ShadowPropertyPanel().
|
private |
Definition at line 63 of file ShadowPropertyPanel.hxx.
Referenced by UpdateControls(), and ~ShadowPropertyPanel().
|
private |
Definition at line 64 of file ShadowPropertyPanel.hxx.
Referenced by UpdateControls(), and ~ShadowPropertyPanel().
|
private |
Definition at line 60 of file ShadowPropertyPanel.hxx.
Referenced by Initialize(), NotifyItemUpdate(), UpdateControls(), and ~ShadowPropertyPanel().
|
private |
Definition at line 61 of file ShadowPropertyPanel.hxx.
Referenced by Initialize(), InsertAngleValues(), ModifyShadowDistance(), UpdateControls(), and ~ShadowPropertyPanel().
|
private |
Definition at line 69 of file ShadowPropertyPanel.hxx.
Referenced by Initialize(), NotifyItemUpdate(), UpdateControls(), and ~ShadowPropertyPanel().
|
private |
Definition at line 59 of file ShadowPropertyPanel.hxx.
Referenced by Initialize(), ModifyShadowDistance(), UpdateControls(), and ~ShadowPropertyPanel().
|
private |
Definition at line 68 of file ShadowPropertyPanel.hxx.
Referenced by Initialize(), SetTransparencyValue(), UpdateControls(), and ~ShadowPropertyPanel().
|
private |
Definition at line 67 of file ShadowPropertyPanel.hxx.
Referenced by Initialize(), SetTransparencyValue(), UpdateControls(), and ~ShadowPropertyPanel().
|
private |
Definition at line 58 of file ShadowPropertyPanel.hxx.
Referenced by Initialize(), NotifyItemUpdate(), UpdateControls(), and ~ShadowPropertyPanel().
|
private |
Definition at line 56 of file ShadowPropertyPanel.hxx.
Referenced by ModifyShadowDistance(), NotifyItemUpdate(), and UpdateControls().
|
private |
Definition at line 56 of file ShadowPropertyPanel.hxx.
Referenced by ModifyShadowDistance(), and UpdateControls().
|
private |
Definition at line 56 of file ShadowPropertyPanel.hxx.
Referenced by ModifyShadowDistance(), NotifyItemUpdate(), and UpdateControls().