LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
sw::sidebar::ThemePanel Class Reference

#include <ThemePanel.hxx>

Inheritance diagram for sw::sidebar::ThemePanel:
[legend]
Collaboration diagram for sw::sidebar::ThemePanel:
[legend]

Public Member Functions

 ThemePanel (weld::Widget *pParent)
 
virtual ~ThemePanel () override
 
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) override
 
virtual void GetControlState (const sal_uInt16, boost::property_tree::ptree &) override
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (weld::Widget *pParent, const OUString &rID, const OUString &rUIXMLDescription)
 
void SetPanel (sfx2::sidebar::Panel *pPanel)
 
virtual ~PanelLayout ()
 
Size get_preferred_size () const
 
void queue_resize ()
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState)=0
 
virtual void GetControlState (const sal_uInt16 nSId, boost::property_tree::ptree &rState)=0
 
virtual ~ItemUpdateReceiverInterface ()
 

Static Public Member Functions

static std::unique_ptr< PanelLayoutCreate (weld::Widget *pParent)
 

Private Member Functions

 DECL_LINK (ClickHdl, weld::Button &, void)
 
 DECL_LINK (DoubleClickHdl, weld::TreeView &, bool)
 
 DECL_LINK (DoubleClickValueSetHdl, ValueSet *, void)
 
void DoubleClickHdl ()
 

Private Attributes

std::unique_ptr< weld::TreeViewmxListBoxFonts
 
std::unique_ptr< svx::ThemeColorValueSetmxValueSetColors
 
std::unique_ptr< weld::CustomWeldmxValueSetColorsWin
 
std::unique_ptr< weld::ButtonmxApplyButton
 

Additional Inherited Members

- Protected Member Functions inherited from PanelLayout
virtual void DataChanged (const DataChangedEvent &rEvent)
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
virtual weld::WindowGetFrameWeld () const
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

Definition at line 23 of file ThemePanel.hxx.

Constructor & Destructor Documentation

◆ ThemePanel()

sw::sidebar::ThemePanel::ThemePanel ( weld::Widget pParent)

◆ ~ThemePanel()

sw::sidebar::ThemePanel::~ThemePanel ( )
overridevirtual

Definition at line 62 of file ThemePanel.cxx.

References mxApplyButton, mxValueSetColors, and mxValueSetColorsWin.

Member Function Documentation

◆ Create()

std::unique_ptr< PanelLayout > sw::sidebar::ThemePanel::Create ( weld::Widget pParent)
static

Definition at line 29 of file ThemePanel.cxx.

◆ DECL_LINK() [1/3]

sw::sidebar::ThemePanel::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/3]

sw::sidebar::ThemePanel::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [3/3]

sw::sidebar::ThemePanel::DECL_LINK ( DoubleClickValueSetHdl  ,
ValueSet ,
void   
)
private

◆ DoubleClickHdl()

void sw::sidebar::ThemePanel::DoubleClickHdl ( )
private

◆ GetControlState()

virtual void sw::sidebar::ThemePanel::GetControlState ( const  sal_uInt16,
boost::property_tree::ptree &   
)
inlineoverridevirtual

◆ NotifyItemUpdate()

void sw::sidebar::ThemePanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

Member Data Documentation

◆ mxApplyButton

std::unique_ptr<weld::Button> sw::sidebar::ThemePanel::mxApplyButton
private

Definition at line 44 of file ThemePanel.hxx.

Referenced by ThemePanel(), and ~ThemePanel().

◆ mxListBoxFonts

std::unique_ptr<weld::TreeView> sw::sidebar::ThemePanel::mxListBoxFonts
private

Definition at line 41 of file ThemePanel.hxx.

◆ mxValueSetColors

std::unique_ptr<svx::ThemeColorValueSet> sw::sidebar::ThemePanel::mxValueSetColors
private

Definition at line 42 of file ThemePanel.hxx.

Referenced by DoubleClickHdl(), ThemePanel(), and ~ThemePanel().

◆ mxValueSetColorsWin

std::unique_ptr<weld::CustomWeld> sw::sidebar::ThemePanel::mxValueSetColorsWin
private

Definition at line 43 of file ThemePanel.hxx.

Referenced by ~ThemePanel().


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