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 SetConfig (EditableColorConfig &rConfig)
 
void SetExtendedConfig (EditableExtendedColorConfig &rConfig)
 
void Update ()
 
void UpdateEntries ()
 
tools::Long GetScrollPosition () const
 
void SetScrollPosition (tools::Long nSet)
 
weld::WidgetGetWidget1 ()
 
weld::WidgetGetWidget2 ()
 
int GetLabelIndent () const
 

Private Member Functions

 DECL_LINK (ClickHdl, weld::Toggleable &, 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_Impl > m_xScrollWindow
 
EditableColorConfig * pColorConfig
 
EditableExtendedColorConfig * pExtColorConfig
 

Detailed Description

Definition at line 624 of file optcolor.cxx.

Constructor & Destructor Documentation

◆ ColorConfigCtrl_Impl()

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

Definition at line 666 of file optcolor.cxx.

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

Member Function Documentation

◆ DECL_LINK() [1/3]

ColorConfigCtrl_Impl::DECL_LINK ( ClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/3]

ColorConfigCtrl_Impl::DECL_LINK ( ColorHdl  ,
ColorListBox ,
void   
)
private

◆ DECL_LINK() [3/3]

ColorConfigCtrl_Impl::DECL_LINK ( ControlFocusHdl  ,
weld::Widget ,
void   
)
private

◆ GetLabelIndent()

int ColorConfigCtrl_Impl::GetLabelIndent ( ) const
inline

Definition at line 660 of file optcolor.cxx.

References m_xScrollWindow.

◆ GetScrollPosition()

tools::Long ColorConfigCtrl_Impl::GetScrollPosition ( ) const
inline

Definition at line 644 of file optcolor.cxx.

References m_xVScroll.

◆ GetWidget1()

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

Definition at line 652 of file optcolor.cxx.

References m_xScrollWindow.

◆ GetWidget2()

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

Definition at line 656 of file optcolor.cxx.

References m_xScrollWindow.

◆ SetConfig()

void ColorConfigCtrl_Impl::SetConfig ( EditableColorConfig &  rConfig)
inline

Definition at line 640 of file optcolor.cxx.

References pColorConfig.

◆ SetExtendedConfig()

void ColorConfigCtrl_Impl::SetExtendedConfig ( EditableExtendedColorConfig &  rConfig)
inline

Definition at line 641 of file optcolor.cxx.

References pExtColorConfig.

◆ SetScrollPosition()

void ColorConfigCtrl_Impl::SetScrollPosition ( tools::Long  nSet)
inline

Definition at line 648 of file optcolor.cxx.

References m_xVScroll.

◆ Update()

void ColorConfigCtrl_Impl::Update ( )

Definition at line 681 of file optcolor.cxx.

References DBG_ASSERT, m_xScrollWindow, pColorConfig, and pExtColorConfig.

◆ UpdateEntries()

void ColorConfigCtrl_Impl::UpdateEntries ( )

Definition at line 687 of file optcolor.cxx.

References m_xScrollWindow.

Member Data Documentation

◆ m_xBody

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

Definition at line 627 of file optcolor.cxx.

Referenced by ColorConfigCtrl_Impl().

◆ m_xScrollWindow

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

◆ m_xVScroll

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

Definition at line 626 of file optcolor.cxx.

Referenced by ColorConfigCtrl_Impl(), GetScrollPosition(), and SetScrollPosition().

◆ pColorConfig

EditableColorConfig* ColorConfigCtrl_Impl::pColorConfig
private

Definition at line 630 of file optcolor.cxx.

Referenced by SetConfig(), and Update().

◆ pExtColorConfig

EditableExtendedColorConfig* ColorConfigCtrl_Impl::pExtColorConfig
private

Definition at line 631 of file optcolor.cxx.

Referenced by SetExtendedConfig(), and Update().


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