LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
weld::HexColorControl Class Reference

#include <hexcolorcontrol.hxx>

Collaboration diagram for weld::HexColorControl:
[legend]

Public Member Functions

 HexColorControl (std::unique_ptr< weld::Entry > pEdit)
 
 ~HexColorControl ()
 
void connect_changed (const Link< weld::Entry &, void > &rLink)
 
void SetColor (::Color nColor)
 
::Color GetColor () const
 

Private Member Functions

 DECL_STATIC_LINK (HexColorControl, ImplProcessInputHdl, OUString &, bool)
 
 DECL_LINK (ImplProcessModifyHdl, weld::Entry &, void)
 
 DECL_LINK (OnAsyncModifyHdl, void *, void)
 

Private Attributes

std::unique_ptr< weld::Entrym_xEntry
 
Link< weld::Entry &, voidm_aModifyHdl
 
ImplSVEventm_nAsyncModifyEvent
 

Detailed Description

Definition at line 33 of file hexcolorcontrol.hxx.

Constructor & Destructor Documentation

weld::HexColorControl::HexColorControl ( std::unique_ptr< weld::Entry pEdit)

Definition at line 28 of file hexcolorcontrol.cxx.

References LINK, and m_xEntry.

weld::HexColorControl::~HexColorControl ( )

Definition at line 38 of file hexcolorcontrol.cxx.

References m_nAsyncModifyEvent, and Application::RemoveUserEvent().

Member Function Documentation

void weld::HexColorControl::connect_changed ( const Link< weld::Entry &, void > &  rLink)
inline

Definition at line 47 of file hexcolorcontrol.hxx.

weld::HexColorControl::DECL_LINK ( ImplProcessModifyHdl  ,
weld::Entry ,
void   
)
private
weld::HexColorControl::DECL_LINK ( OnAsyncModifyHdl  ,
void ,
void   
)
private
weld::HexColorControl::DECL_STATIC_LINK ( HexColorControl  ,
ImplProcessInputHdl  ,
OUString &  ,
bool   
)
private
Color weld::HexColorControl::GetColor ( ) const

Definition at line 69 of file hexcolorcontrol.cxx.

References aStr, COL_RED(), sax::Converter::convertColor(), and m_xEntry.

void weld::HexColorControl::SetColor ( ::Color  nColor)

Definition at line 59 of file hexcolorcontrol.cxx.

References sax::Converter::convertColor(), and m_xEntry.

Member Data Documentation

Link<weld::Entry&, void> weld::HexColorControl::m_aModifyHdl
private

Definition at line 37 of file hexcolorcontrol.hxx.

ImplSVEvent* weld::HexColorControl::m_nAsyncModifyEvent
private

Definition at line 38 of file hexcolorcontrol.hxx.

Referenced by ~HexColorControl().

std::unique_ptr<weld::Entry> weld::HexColorControl::m_xEntry
private

Definition at line 36 of file hexcolorcontrol.hxx.

Referenced by GetColor(), HexColorControl(), and SetColor().


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