20 #ifndef INCLUDED_SVX_DIALCONTROL_HXX
21 #define INCLUDED_SVX_DIALCONTROL_HXX
40 void SetSize(
const Size& rSize);
42 void DrawBackground(
const Size& rSize,
bool bEnabled );
43 void DrawBackground();
44 void DrawElements(
const OUString& rText,
Degree100 nAngle );
45 Color GetBackgroundColor()
const override;
48 const Color& GetTextColor()
const;
49 const Color& GetScaleLineColor()
const;
50 const Color& GetButtonLineColor()
const;
51 const Color& GetButtonFillColor(
bool bMain )
const;
83 virtual void StyleUpdated()
override;
91 virtual void Resize()
override;
98 bool HasRotation()
const;
100 void SetNoRotation();
114 bool IsValueModified()
const;
116 const OUString&
GetText()
const {
return mpImpl->maText; }
117 void SetText(
const OUString& rText) { mpImpl->maText = rText; }
151 void SetSize(
const Size& rWinSize );
153 std::unique_ptr< DialControl_Impl >
mpImpl;
155 void HandleMouseEvent(
const Point& rPos,
bool bInitial );
156 void HandleEscapeEvent();
158 void SetRotation(
Degree100 nAngle,
bool bBroadcast );
162 void InvalidateControl();
ScopedVclPtr< DialControlBmp > mxBmpDisabled
#define DECL_LINK(Member, ArgType, RetType)
This control allows to input a rotation angle, visualized by a dial.
weld::MetricSpinButton * mpLinkField
void SetText(const OUString &rText)
Frame border has a visible style.
std::unique_ptr< DialControl_Impl > mpImpl
ScopedVclPtr< DialControlBmp > mxBmpEnabled
ScopedVclPtr< DialControlBmp > mxBmpBuffered
Link< DialControl &, void > maModifyHdl
sal_Int32 mnLinkedFieldValueMultiplyer
const OUString & GetText() const
void set_visible(bool bVisible)