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

#include <colrctrl.hxx>

Inheritance diagram for SvxColorValueSet_docking:
Collaboration diagram for SvxColorValueSet_docking:

Public Member Functions

 SvxColorValueSet_docking (vcl::Window *pParent)
bool IsLeftButton () const
- Public Member Functions inherited from SvxColorValueSet
 SvxColorValueSet (vcl::Window *pParent, WinBits nWinStyle)
virtual void Resize () override
void addEntriesForXColorList (const XColorList &rXColorList, sal_uInt32 nStartIndex=1)
void addEntriesForColorSet (const std::set< Color > &rColorSet, const OUString &rNamePrefix)
Size layoutAllVisible (sal_uInt32 nEntryCount)
Size layoutToGivenHeight (sal_uInt32 nHeight, sal_uInt32 nEntryCount)
- Public Member Functions inherited from ValueSet
 ValueSet (vcl::Window *pParent, WinBits nWinStyle)
virtual ~ValueSet () override
virtual void dispose () override
virtual void MouseMove (const MouseEvent &rMEvt) override
virtual void Tracking (const TrackingEvent &rMEvt) override
virtual void KeyInput (const KeyEvent &rKEvt) override
virtual void Command (const CommandEvent &rCEvt) override
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual void GetFocus () override
virtual void LoseFocus () override
virtual Size GetOptimalSize () const override
virtual void RequestHelp (const HelpEvent &rHEvt) override
virtual void StateChanged (StateChangedType nStateChange) override
virtual void DataChanged (const DataChangedEvent &rDCEvt) override
virtual boost::property_tree::ptree DumpAsPropertyTree () override
virtual FactoryFunction GetUITestFactory () const override
void Select ()
void InsertItem (sal_uInt16 nItemId, const Image &rImage, const OUString &rStr, size_t nPos=VALUESET_APPEND)
void InsertItem (sal_uInt16 nItemId, const Color &rColor, const OUString &rStr)
void InsertItem (sal_uInt16 nItemId, size_t nPos=VALUESET_APPEND)
void Clear ()
size_t GetItemCount () const
size_t GetItemPos (sal_uInt16 nItemId) const
sal_uInt16 GetItemId (size_t nPos) const
sal_uInt16 GetItemId (const Point &rPos) const
tools::Rectangle GetItemRect (sal_uInt16 nItemId) const
void SetColCount (sal_uInt16 nNewCols=1)
void SetLineCount (sal_uInt16 nNewLines=0)
void SetItemWidth (long nItemWidth)
void SetItemHeight (long nLineHeight)
Size GetLargestItemSize ()
void SelectItem (sal_uInt16 nItemId)
sal_uInt16 GetSelectedItemId () const
bool IsItemSelected (sal_uInt16 nItemId) const
void SetNoSelection ()
bool IsNoSelection () const
Color GetItemColor (sal_uInt16 nItemId) const
OUString GetItemText (sal_uInt16 nItemId) const
bool IsColor () const
void EndSelection ()
Size CalcWindowSizePixel (const Size &rItemSize, sal_uInt16 nCalcCols=0, sal_uInt16 nCalcLines=0) const
Size CalcItemSizePixel (const Size &rSize) const
long GetScrollWidth () const
void SetSelectHdl (const Link< ValueSet *, void > &rLink)
bool GetEdgeBlending () const
void SetEdgeBlending (bool bNew)
- Public Member Functions inherited from DragSourceHelper
 DragSourceHelper (vcl::Window *pWindow)
void dispose ()
virtual ~DragSourceHelper ()

Private Member Functions

void DoDrag ()
virtual void MouseButtonDown (const MouseEvent &rMEvt) override
virtual void MouseButtonUp (const MouseEvent &rMEvt) override
virtual void StartDrag (sal_Int8 nAction, const Point &rPtPixel) override
 DECL_LINK (ExecDragHdl, void *, void)

Private Attributes

bool mbLeftButton
Point aDragPosPixel

Additional Inherited Members

- Static Public Member Functions inherited from SvxColorValueSet
static sal_uInt32 getMaxRowCount ()
static sal_uInt32 getEntryEdgeLength ()
static sal_uInt32 getColumnCount ()
- Protected Member Functions inherited from ValueSet
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override

Detailed Description

Definition at line 44 of file colrctrl.hxx.

Constructor & Destructor Documentation

SvxColorValueSet_docking::SvxColorValueSet_docking ( vcl::Window pParent)

Definition at line 92 of file colrctrl.cxx.

References SvxResId(), and WB_ITEMBORDER.

Member Function Documentation

SvxColorValueSet_docking::DECL_LINK ( ExecDragHdl  ,
void ,
void SvxColorValueSet_docking::DoDrag ( )
bool SvxColorValueSet_docking::IsLeftButton ( ) const

Definition at line 63 of file colrctrl.hxx.

void SvxColorValueSet_docking::MouseButtonDown ( const MouseEvent rMEvt)
void SvxColorValueSet_docking::MouseButtonUp ( const MouseEvent rMEvt)
void SvxColorValueSet_docking::StartDrag ( sal_Int8  nAction,
const Point rPtPixel 

Reimplemented from DragSourceHelper.

Definition at line 143 of file colrctrl.cxx.

References LINK, and Application::PostUserEvent().

Referenced by DoDrag().

Member Data Documentation

Point SvxColorValueSet_docking::aDragPosPixel

Definition at line 47 of file colrctrl.hxx.

Referenced by DoDrag(), and MouseButtonDown().

bool SvxColorValueSet_docking::mbLeftButton

Definition at line 46 of file colrctrl.hxx.

Referenced by MouseButtonDown(), and MouseButtonUp().

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