LibreOffice Module cui (master)  1
Public Member Functions | Private Attributes | List of all members
ColorConfigWindow_Impl::Entry Class Reference
Collaboration diagram for ColorConfigWindow_Impl::Entry:
[legend]

Public Member Functions

 Entry (weld::Window *pTopLevel, weld::Builder &rBuilder, const char *pTextWidget, const char *pColorWidget, const Color &rColor, long nCheckBoxLabelOffset, bool bCheckBox, bool bShow)
 
void SetText (const OUString &rLabel)
 
void set_width_request (int nTextWidth)
 
void Hide ()
 
void SetLinks (Link< weld::ToggleButton &, void > const &, Link< ColorListBox &, void > const &, Link< weld::Widget &, void > const &)
 
void Update (ColorConfigValue const &)
 
void Update (ExtendedColorConfigValue const &)
 
void ColorChanged (ColorConfigValue &)
 
void ColorChanged (ExtendedColorConfigValue &)
 
bool Is (const weld::ToggleButton *pBox) const
 
bool Is (const ColorListBox *pBox) const
 

Private Attributes

std::unique_ptr< weld::Widgetm_xText
 
std::unique_ptr< ColorListBoxm_xColorList
 
Color m_aDefaultColor
 

Detailed Description

Definition at line 209 of file optcolor.cxx.

Constructor & Destructor Documentation

ColorConfigWindow_Impl::Entry::Entry ( weld::Window pTopLevel,
weld::Builder rBuilder,
const char *  pTextWidget,
const char *  pColorWidget,
const Color rColor,
long  nCheckBoxLabelOffset,
bool  bCheckBox,
bool  bShow 
)

Member Function Documentation

void ColorConfigWindow_Impl::Entry::ColorChanged ( ColorConfigValue &  rValue)

Definition at line 342 of file optcolor.cxx.

void ColorConfigWindow_Impl::Entry::ColorChanged ( ExtendedColorConfigValue &  rValue)

Definition at line 349 of file optcolor.cxx.

References COL_AUTO().

void ColorConfigWindow_Impl::Entry::Hide ( )

Definition at line 302 of file optcolor.cxx.

Referenced by Entry().

bool ColorConfigWindow_Impl::Entry::Is ( const weld::ToggleButton pBox) const
inline

Definition at line 227 of file optcolor.cxx.

References m_xText.

bool ColorConfigWindow_Impl::Entry::Is ( const ColorListBox pBox) const
inline

Definition at line 228 of file optcolor.cxx.

References m_xColorList.

void ColorConfigWindow_Impl::Entry::set_width_request ( int  nTextWidth)
inline

Definition at line 216 of file optcolor.cxx.

References m_xText.

void ColorConfigWindow_Impl::Entry::SetLinks ( Link< weld::ToggleButton &, void > const &  rCheckLink,
Link< ColorListBox &, void > const &  rColorLink,
Link< weld::Widget &, void > const &  rGetFocusLink 
)

Definition at line 309 of file optcolor.cxx.

void ColorConfigWindow_Impl::Entry::SetText ( const OUString &  rLabel)
inline

Definition at line 215 of file optcolor.cxx.

References weld::Label::set_label().

void ColorConfigWindow_Impl::Entry::Update ( ColorConfigValue const &  rValue)

Definition at line 323 of file optcolor.cxx.

void ColorConfigWindow_Impl::Entry::Update ( ExtendedColorConfigValue const &  rValue)

Definition at line 332 of file optcolor.cxx.

References COL_AUTO().

Member Data Documentation

Color ColorConfigWindow_Impl::Entry::m_aDefaultColor
private

Definition at line 235 of file optcolor.cxx.

Referenced by Entry().

std::unique_ptr<ColorListBox> ColorConfigWindow_Impl::Entry::m_xColorList
private

Definition at line 233 of file optcolor.cxx.

Referenced by Entry(), and Is().

std::unique_ptr<weld::Widget> ColorConfigWindow_Impl::Entry::m_xText
private

Definition at line 231 of file optcolor.cxx.

Referenced by Entry(), Is(), and set_width_request().


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