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 (const css::uno::Reference< css::frame::XFrame > &rFrame, weld::Widget *pParent, const OUString &rUIFile, const OString &rId)
 
virtual ~WeldToolbarPopup ()
 
weld::ContainergetTopLevel ()
 
weld::ContainergetContainer ()
 
void AddStatusListener (const OUString &rCommandURL)
 
virtual void statusChanged (const css::frame::FeatureStateEvent &Event)
 

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

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

Definition at line 93 of file LineWidthPopup.cxx.

Member Function Documentation

svx::sidebar::LineWidthPopup::DECL_LINK ( VSSelectHdl  ,
ValueSet ,
void   
)
private
svx::sidebar::LineWidthPopup::DECL_LINK ( MFModifyHdl  ,
weld::MetricSpinButton ,
void   
)
private
weld::Container* svx::sidebar::LineWidthPopup::getTopLevel ( ) const
inline

Definition at line 44 of file LineWidthPopup.hxx.

References WeldToolbarPopup::m_xTopLevel.

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

Implements WeldToolbarPopup.

Definition at line 213 of file LineWidthPopup.cxx.

References m_bVSFocus, m_xMFWidth, and m_xVSWidth.

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

Member Data Documentation

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

Definition at line 56 of file LineWidthPopup.hxx.

Referenced by SetWidthSelect().

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

Definition at line 57 of file LineWidthPopup.hxx.

Referenced by LineWidthPopup(), and SetWidthSelect().

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

Definition at line 54 of file LineWidthPopup.hxx.

Referenced by SetWidthSelect().

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

Definition at line 53 of file LineWidthPopup.hxx.

Referenced by GrabFocus(), and SetWidthSelect().

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

Definition at line 52 of file LineWidthPopup.hxx.

Referenced by SetWidthSelect().

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

Definition at line 55 of file LineWidthPopup.hxx.

Referenced by SetWidthSelect().

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

Definition at line 49 of file LineWidthPopup.hxx.

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

Definition at line 51 of file LineWidthPopup.hxx.

Referenced by LineWidthPopup(), and SetWidthSelect().

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().

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

Definition at line 60 of file LineWidthPopup.hxx.

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

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

Definition at line 61 of file LineWidthPopup.hxx.

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: