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

#include <LineWidthPopup.hxx>

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

Public Member Functions

 LineWidthPopup (weld::Widget *pParent, LinePropertyPanelBase &rParent)
 
 ~LineWidthPopup ()
 
void SetWidthSelect (tools::Long lValue, bool bValuable, MapUnit eMapUnit)
 
weld::ContainergetTopLevel () const
 
virtual void GrabFocus () override
 
- Public Member Functions inherited from WeldToolbarPopup
 WeldToolbarPopup (css::uno::Reference< css::frame::XFrame > xFrame, weld::Widget *pParent, const OUString &rUIFile, const OUString &rId)
 
virtual ~WeldToolbarPopup ()
 
weld::ContainergetTopLevel ()
 
weld::ContainergetContainer ()
 
void AddStatusListener (const OUString &rCommandURL)
 
virtual void statusChanged (const css::frame::FeatureStateEvent &Event)
 
virtual void GrabFocus ()=0
 

Private Member Functions

 DECL_LINK (VSSelectHdl, ValueSet *, void)
 
 DECL_LINK (MFModifyHdl, weld::MetricSpinButton &, void)
 

Private Attributes

LinePropertyPanelBasem_rParent
 
std::array< OUString, 9 > maStrUnits
 
OUString m_sPt
 
MapUnit m_eMapUnit
 
bool m_bVSFocus
 
bool m_bCustom
 
tools::Long m_nCustomWidth
 
Image m_aIMGCus
 
Image m_aIMGCusGray
 
std::unique_ptr< weld::MetricSpinButtonm_xMFWidth
 
std::unique_ptr< LineWidthValueSetm_xVSWidth
 
std::unique_ptr< weld::CustomWeldm_xVSWidthWin
 

Additional Inherited Members

- Protected Attributes inherited from WeldToolbarPopup
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xTopLevel
 
std::unique_ptr< weld::Containerm_xContainer
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
rtl::Reference< svt::FrameStatusListenerm_xStatusListener
 

Detailed Description

Definition at line 36 of file LineWidthPopup.hxx.

Constructor & Destructor Documentation

◆ LineWidthPopup()

svx::sidebar::LineWidthPopup::LineWidthPopup ( weld::Widget pParent,
LinePropertyPanelBase rParent 
)

◆ ~LineWidthPopup()

svx::sidebar::LineWidthPopup::~LineWidthPopup ( )

Definition at line 93 of file LineWidthPopup.cxx.

Member Function Documentation

◆ DECL_LINK() [1/2]

svx::sidebar::LineWidthPopup::DECL_LINK ( MFModifyHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [2/2]

svx::sidebar::LineWidthPopup::DECL_LINK ( VSSelectHdl  ,
ValueSet ,
void   
)
private

◆ getTopLevel()

weld::Container * svx::sidebar::LineWidthPopup::getTopLevel ( ) const
inline

Definition at line 44 of file LineWidthPopup.hxx.

References WeldToolbarPopup::m_xTopLevel.

◆ GrabFocus()

void svx::sidebar::LineWidthPopup::GrabFocus ( )
overridevirtual

Implements WeldToolbarPopup.

Definition at line 213 of file LineWidthPopup.cxx.

References m_bVSFocus, m_xMFWidth, and m_xVSWidth.

◆ SetWidthSelect()

void svx::sidebar::LineWidthPopup::SetWidthSelect ( tools::Long  lValue,
bool  bValuable,
MapUnit  eMapUnit 
)

Member Data Documentation

◆ m_aIMGCus

Image svx::sidebar::LineWidthPopup::m_aIMGCus
private

Definition at line 56 of file LineWidthPopup.hxx.

Referenced by SetWidthSelect().

◆ m_aIMGCusGray

Image svx::sidebar::LineWidthPopup::m_aIMGCusGray
private

Definition at line 57 of file LineWidthPopup.hxx.

Referenced by LineWidthPopup(), and SetWidthSelect().

◆ m_bCustom

bool svx::sidebar::LineWidthPopup::m_bCustom
private

Definition at line 54 of file LineWidthPopup.hxx.

Referenced by SetWidthSelect().

◆ m_bVSFocus

bool svx::sidebar::LineWidthPopup::m_bVSFocus
private

Definition at line 53 of file LineWidthPopup.hxx.

Referenced by GrabFocus(), and SetWidthSelect().

◆ m_eMapUnit

MapUnit svx::sidebar::LineWidthPopup::m_eMapUnit
private

Definition at line 52 of file LineWidthPopup.hxx.

Referenced by SetWidthSelect().

◆ m_nCustomWidth

tools::Long svx::sidebar::LineWidthPopup::m_nCustomWidth
private

Definition at line 55 of file LineWidthPopup.hxx.

Referenced by SetWidthSelect().

◆ m_rParent

LinePropertyPanelBase& svx::sidebar::LineWidthPopup::m_rParent
private

Definition at line 49 of file LineWidthPopup.hxx.

◆ m_sPt

OUString svx::sidebar::LineWidthPopup::m_sPt
private

Definition at line 51 of file LineWidthPopup.hxx.

Referenced by LineWidthPopup(), and SetWidthSelect().

◆ m_xMFWidth

std::unique_ptr<weld::MetricSpinButton> svx::sidebar::LineWidthPopup::m_xMFWidth
private

Definition at line 59 of file LineWidthPopup.hxx.

Referenced by GrabFocus(), LineWidthPopup(), and SetWidthSelect().

◆ m_xVSWidth

std::unique_ptr<LineWidthValueSet> svx::sidebar::LineWidthPopup::m_xVSWidth
private

Definition at line 60 of file LineWidthPopup.hxx.

Referenced by GrabFocus(), LineWidthPopup(), and SetWidthSelect().

◆ m_xVSWidthWin

std::unique_ptr<weld::CustomWeld> svx::sidebar::LineWidthPopup::m_xVSWidthWin
private

Definition at line 61 of file LineWidthPopup.hxx.

◆ maStrUnits

std::array<OUString, 9> svx::sidebar::LineWidthPopup::maStrUnits
private

Definition at line 50 of file LineWidthPopup.hxx.

Referenced by LineWidthPopup(), and SetWidthSelect().


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