LibreOffice Module svx (master) 1
|
#include <AreaTransparencyGradientPopup.hxx>
Public Member Functions | |
AreaTransparencyGradientPopup (const css::uno::Reference< css::frame::XFrame > &rFrame, AreaPropertyPanelBase &rPanel, weld::Widget *pParent) | |
~AreaTransparencyGradientPopup () | |
void | Rearrange (XFillFloatTransparenceItem const *pItem) |
virtual void | GrabFocus () override |
![]() | |
WeldToolbarPopup (css::uno::Reference< css::frame::XFrame > xFrame, weld::Widget *pParent, const OUString &rUIFile, const OString &rId) | |
virtual | ~WeldToolbarPopup () |
weld::Container * | getTopLevel () |
weld::Container * | getContainer () |
void | AddStatusListener (const OUString &rCommandURL) |
virtual void | statusChanged (const css::frame::FeatureStateEvent &Event) |
virtual void | GrabFocus ()=0 |
Private Member Functions | |
void | InitStatus (XFillFloatTransparenceItem const *pGradientItem) |
void | ExecuteValueModify (sal_uInt8 nStartCol, sal_uInt8 nEndCol) |
DECL_LINK (ModifiedTrgrHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (Left_Click45_Impl, const OString &, void) | |
DECL_LINK (Right_Click45_Impl, const OString &, void) | |
Private Attributes | |
AreaPropertyPanelBase & | mrAreaPropertyPanel |
std::unique_ptr< weld::Widget > | mxCenterGrid |
std::unique_ptr< weld::Widget > | mxAngleGrid |
std::unique_ptr< weld::MetricSpinButton > | mxMtrTrgrCenterX |
std::unique_ptr< weld::MetricSpinButton > | mxMtrTrgrCenterY |
std::unique_ptr< weld::MetricSpinButton > | mxMtrTrgrAngle |
std::unique_ptr< weld::Toolbar > | mxBtnLeft45 |
std::unique_ptr< weld::Toolbar > | mxBtnRight45 |
std::unique_ptr< weld::MetricSpinButton > | mxMtrTrgrStartValue |
std::unique_ptr< weld::MetricSpinButton > | mxMtrTrgrEndValue |
std::unique_ptr< weld::MetricSpinButton > | mxMtrTrgrBorder |
Additional Inherited Members | |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xTopLevel |
std::unique_ptr< weld::Container > | m_xContainer |
css::uno::Reference< css::frame::XFrame > | m_xFrame |
rtl::Reference< svt::FrameStatusListener > | m_xStatusListener |
Definition at line 32 of file AreaTransparencyGradientPopup.hxx.
svx::sidebar::AreaTransparencyGradientPopup::AreaTransparencyGradientPopup | ( | const css::uno::Reference< css::frame::XFrame > & | rFrame, |
AreaPropertyPanelBase & | rPanel, | ||
weld::Widget * | pParent | ||
) |
Definition at line 27 of file AreaTransparencyGradientPopup.cxx.
References DEGREE, LINK, mxBtnLeft45, mxBtnRight45, mxMtrTrgrAngle, mxMtrTrgrBorder, mxMtrTrgrCenterX, mxMtrTrgrCenterY, mxMtrTrgrEndValue, mxMtrTrgrStartValue, and PERCENT().
svx::sidebar::AreaTransparencyGradientPopup::~AreaTransparencyGradientPopup | ( | ) |
Definition at line 53 of file AreaTransparencyGradientPopup.cxx.
|
private |
|
private |
|
private |
|
private |
Definition at line 118 of file AreaTransparencyGradientPopup.cxx.
References basegfx::utils::createColorStopsFromStartEndColor(), svx::sidebar::AreaPropertyPanelBase::GetSelectedTransparencyTypeIndex(), mrAreaPropertyPanel, mxMtrTrgrAngle, mxMtrTrgrBorder, mxMtrTrgrCenterX, mxMtrTrgrCenterY, svx::sidebar::AreaPropertyPanelBase::setFillFloatTransparence(), and svx::sidebar::AreaPropertyPanelBase::SetGradient().
|
overridevirtual |
Implements WeldToolbarPopup.
Definition at line 177 of file AreaTransparencyGradientPopup.cxx.
References mxMtrTrgrCenterX.
|
private |
Definition at line 57 of file AreaTransparencyGradientPopup.cxx.
References svx::sidebar::AreaPropertyPanelBase::DEFAULT_ANGLE, svx::sidebar::AreaPropertyPanelBase::DEFAULT_BORDER, svx::sidebar::AreaPropertyPanelBase::DEFAULT_CENTERX, svx::sidebar::AreaPropertyPanelBase::DEFAULT_CENTERY, svx::sidebar::AreaPropertyPanelBase::DEFAULT_ENDVALUE, svx::sidebar::AreaPropertyPanelBase::DEFAULT_STARTVALUE, XGradient::GetAngle(), XGradient::GetBorder(), XGradient::GetColorStops(), svx::sidebar::AreaPropertyPanelBase::GetGradient(), XGradient::GetGradientStyle(), XFillGradientItem::GetGradientValue(), Color::GetRed(), XGradient::GetXOffset(), XGradient::GetYOffset(), mrAreaPropertyPanel, mxMtrTrgrAngle, mxMtrTrgrBorder, mxMtrTrgrCenterX, mxMtrTrgrCenterY, mxMtrTrgrEndValue, mxMtrTrgrStartValue, and toDegrees().
Referenced by Rearrange().
void svx::sidebar::AreaTransparencyGradientPopup::Rearrange | ( | XFillFloatTransparenceItem const * | pItem | ) |
Definition at line 90 of file AreaTransparencyGradientPopup.cxx.
References XGradient::GetGradientStyle(), XFillGradientItem::GetGradientValue(), InitStatus(), mxAngleGrid, and mxCenterGrid.
|
private |
Definition at line 35 of file AreaTransparencyGradientPopup.hxx.
Referenced by ExecuteValueModify(), and InitStatus().
|
private |
Definition at line 37 of file AreaTransparencyGradientPopup.hxx.
Referenced by Rearrange().
|
private |
Definition at line 41 of file AreaTransparencyGradientPopup.hxx.
Referenced by AreaTransparencyGradientPopup().
|
private |
Definition at line 42 of file AreaTransparencyGradientPopup.hxx.
Referenced by AreaTransparencyGradientPopup().
|
private |
Definition at line 36 of file AreaTransparencyGradientPopup.hxx.
Referenced by Rearrange().
|
private |
Definition at line 40 of file AreaTransparencyGradientPopup.hxx.
Referenced by AreaTransparencyGradientPopup(), ExecuteValueModify(), and InitStatus().
|
private |
Definition at line 45 of file AreaTransparencyGradientPopup.hxx.
Referenced by AreaTransparencyGradientPopup(), ExecuteValueModify(), and InitStatus().
|
private |
Definition at line 38 of file AreaTransparencyGradientPopup.hxx.
Referenced by AreaTransparencyGradientPopup(), ExecuteValueModify(), GrabFocus(), and InitStatus().
|
private |
Definition at line 39 of file AreaTransparencyGradientPopup.hxx.
Referenced by AreaTransparencyGradientPopup(), ExecuteValueModify(), and InitStatus().
|
private |
Definition at line 44 of file AreaTransparencyGradientPopup.hxx.
Referenced by AreaTransparencyGradientPopup(), and InitStatus().
|
private |
Definition at line 43 of file AreaTransparencyGradientPopup.hxx.
Referenced by AreaTransparencyGradientPopup(), and InitStatus().