LibreOffice Module cui (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ColorConfigCtrl_Impl Class Reference

Public Member Functions

 ColorConfigCtrl_Impl (weld::Window *pTopLevel, weld::Builder &rbuilder)
 
void AdjustExtraWidths (int nTextWidth)
 
void SetConfig (EditableColorConfig &rConfig)
 
void SetExtendedConfig (EditableExtendedColorConfig &rConfig)
 
void Update ()
 
long GetScrollPosition () const
 
void SetScrollPosition (long nSet)
 
weld::WidgetGetWidget1 ()
 
weld::WidgetGetWidget2 ()
 

Private Member Functions

 DECL_LINK (ClickHdl, weld::ToggleButton &, void)
 
 DECL_LINK (ColorHdl, ColorListBox &, void)
 
 DECL_LINK (ControlFocusHdl, weld::Widget &, void)
 

Private Attributes

std::unique_ptr< weld::ScrolledWindowm_xVScroll
 
std::unique_ptr< weld::Containerm_xBody
 
std::unique_ptr< ColorConfigWindow_Implm_xScrollWindow
 
EditableColorConfig * pColorConfig
 
EditableExtendedColorConfig * pExtColorConfig
 

Detailed Description

Definition at line 575 of file optcolor.cxx.

Constructor & Destructor Documentation

ColorConfigCtrl_Impl::ColorConfigCtrl_Impl ( weld::Window pTopLevel,
weld::Builder rbuilder 
)
explicit

Definition at line 613 of file optcolor.cxx.

References get(), LINK, m_xBody, and m_xScrollWindow.

Member Function Documentation

void ColorConfigCtrl_Impl::AdjustExtraWidths ( int  nTextWidth)
inline

Definition at line 591 of file optcolor.cxx.

ColorConfigCtrl_Impl::DECL_LINK ( ClickHdl  ,
weld::ToggleButton ,
void   
)
private
ColorConfigCtrl_Impl::DECL_LINK ( ColorHdl  ,
ColorListBox ,
void   
)
private
ColorConfigCtrl_Impl::DECL_LINK ( ControlFocusHdl  ,
weld::Widget ,
void   
)
private
long ColorConfigCtrl_Impl::GetScrollPosition ( ) const
inline

Definition at line 595 of file optcolor.cxx.

weld::Widget& ColorConfigCtrl_Impl::GetWidget1 ( )
inline

Definition at line 603 of file optcolor.cxx.

weld::Widget& ColorConfigCtrl_Impl::GetWidget2 ( )
inline

Definition at line 607 of file optcolor.cxx.

void ColorConfigCtrl_Impl::SetConfig ( EditableColorConfig &  rConfig)
inline

Definition at line 592 of file optcolor.cxx.

void ColorConfigCtrl_Impl::SetExtendedConfig ( EditableExtendedColorConfig &  rConfig)
inline

Definition at line 593 of file optcolor.cxx.

void ColorConfigCtrl_Impl::SetScrollPosition ( long  nSet)
inline

Definition at line 599 of file optcolor.cxx.

void ColorConfigCtrl_Impl::Update ( )

Definition at line 628 of file optcolor.cxx.

References DBG_ASSERT, m_xScrollWindow, pColorConfig, and pExtColorConfig.

Member Data Documentation

std::unique_ptr<weld::Container> ColorConfigCtrl_Impl::m_xBody
private

Definition at line 578 of file optcolor.cxx.

Referenced by ColorConfigCtrl_Impl().

std::unique_ptr<ColorConfigWindow_Impl> ColorConfigCtrl_Impl::m_xScrollWindow
private

Definition at line 579 of file optcolor.cxx.

Referenced by ColorConfigCtrl_Impl(), and Update().

std::unique_ptr<weld::ScrolledWindow> ColorConfigCtrl_Impl::m_xVScroll
private

Definition at line 577 of file optcolor.cxx.

EditableColorConfig* ColorConfigCtrl_Impl::pColorConfig
private

Definition at line 581 of file optcolor.cxx.

Referenced by Update().

EditableExtendedColorConfig* ColorConfigCtrl_Impl::pExtColorConfig
private

Definition at line 582 of file optcolor.cxx.

Referenced by Update().


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