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

#include <formatpaintbrushctrl.hxx>

Inheritance diagram for svx::FormatPaintBrushToolBoxControl:
[legend]
Collaboration diagram for svx::FormatPaintBrushToolBoxControl:
[legend]

Public Member Functions

 SFX_DECL_TOOLBOX_CONTROL ()
 
 FormatPaintBrushToolBoxControl (sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx)
 
virtual ~FormatPaintBrushToolBoxControl () override
 
virtual void DoubleClick () override
 
virtual void Click () override
 
virtual void Select (sal_uInt16 nSelectModifier) override
 
virtual void StateChangedAtToolBoxControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
 
- Public Member Functions inherited from SfxToolBoxControl
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual void SAL_CALL execute (sal_Int16 KeyModifier) override
 
virtual void SAL_CALL click () override
 
virtual void SAL_CALL doubleClick () override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow () override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow (const css::uno::Reference< css::awt::XWindow > &rParent) override
 
 SFX_DECL_TOOLBOX_CONTROL ()
 
 SfxToolBoxControl (sal_uInt16 nSlotID, ToolBoxItemId nId, ToolBox &rBox, bool bShowStrings=false)
 
virtual ~SfxToolBoxControl () override
 
ToolBoxGetToolBox () const
 
ToolBoxItemId GetId () const
 
unsigned short GetSlotId () const
 
void Dispatch (const OUString &aCommand, css::uno::Sequence< css::beans::PropertyValue > const &aArgs)
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (WaitDoubleClickHdl, Timer *, void)
 
void impl_executePaintBrush ()
 

Private Attributes

bool m_bPersistentCopy
 
Timer m_aDoubleClickTimer
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxToolBoxControl
static void Dispatch (const css::uno::Reference< css::frame::XDispatchProvider > &rDispatchProvider, const OUString &rCommand, css::uno::Sequence< css::beans::PropertyValue > const &aArgs)
 
static SfxItemState GetItemState (const SfxPoolItem *pState)
 
static rtl::Reference< SfxToolBoxControlCreateControl (sal_uInt16 nSlotId, ToolBoxItemId nTbxId, ToolBox *pBox, SfxModule const *pMod)
 
static void RegisterToolBoxControl (SfxModule *, const SfxTbxCtrlFactory &)
 
- Protected Member Functions inherited from SfxToolBoxControl
virtual void StateChangedAtToolBoxControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState)
 
virtual void Select (sal_uInt16 nSelectModifier)
 
virtual void DoubleClick ()
 
virtual void Click ()
 
virtual void CreatePopupWindow ()
 
virtual VclPtr< InterimItemWindowCreateItemWindow (vcl::Window *pParent)
 

Detailed Description

Definition at line 32 of file formatpaintbrushctrl.hxx.

Constructor & Destructor Documentation

◆ FormatPaintBrushToolBoxControl()

svx::FormatPaintBrushToolBoxControl::FormatPaintBrushToolBoxControl ( sal_uInt16  nSlotId,
ToolBoxItemId  nId,
ToolBox rTbx 
)

◆ ~FormatPaintBrushToolBoxControl()

svx::FormatPaintBrushToolBoxControl::~FormatPaintBrushToolBoxControl ( )
overridevirtual

Definition at line 50 of file formatpaintbrushctrl.cxx.

References m_aDoubleClickTimer, and Task::Stop().

Member Function Documentation

◆ Click()

void svx::FormatPaintBrushToolBoxControl::Click ( )
overridevirtual

Reimplemented from SfxToolBoxControl.

Definition at line 74 of file formatpaintbrushctrl.cxx.

References m_aDoubleClickTimer, m_bPersistentCopy, and Timer::Start().

◆ DECL_DLLPRIVATE_LINK()

svx::FormatPaintBrushToolBoxControl::DECL_DLLPRIVATE_LINK ( WaitDoubleClickHdl  ,
Timer ,
void   
)
private

◆ DoubleClick()

void svx::FormatPaintBrushToolBoxControl::DoubleClick ( )
overridevirtual

◆ impl_executePaintBrush()

void svx::FormatPaintBrushToolBoxControl::impl_executePaintBrush ( )
private

◆ Select()

void svx::FormatPaintBrushToolBoxControl::Select ( sal_uInt16  nSelectModifier)
overridevirtual

Reimplemented from SfxToolBoxControl.

Definition at line 88 of file formatpaintbrushctrl.cxx.

◆ SFX_DECL_TOOLBOX_CONTROL()

svx::FormatPaintBrushToolBoxControl::SFX_DECL_TOOLBOX_CONTROL ( )

References Select.

◆ StateChangedAtToolBoxControl()

void svx::FormatPaintBrushToolBoxControl::StateChangedAtToolBoxControl ( sal_uInt16  nSID,
SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

Member Data Documentation

◆ m_aDoubleClickTimer

Timer svx::FormatPaintBrushToolBoxControl::m_aDoubleClickTimer
private

◆ m_bPersistentCopy

bool svx::FormatPaintBrushToolBoxControl::m_bPersistentCopy
private

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