LibreOffice Module sw (master) 1
|
#include <ThemePanel.hxx>
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< PanelLayout > | Create (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::TreeView > | mxListBoxFonts |
std::unique_ptr< svx::ThemeColorValueSet > | mxValueSetColors |
std::unique_ptr< weld::CustomWeld > | mxValueSetColorsWin |
std::unique_ptr< weld::Button > | mxApplyButton |
Additional Inherited Members | |
Protected Member Functions inherited from PanelLayout | |
virtual void | DataChanged (const DataChangedEvent &rEvent) |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
virtual weld::Window * | GetFrameWeld () const |
Protected Attributes inherited from PanelLayout | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
sfx2::sidebar::Panel * | m_pPanel |
Definition at line 23 of file ThemePanel.hxx.
sw::sidebar::ThemePanel::ThemePanel | ( | weld::Widget * | pParent | ) |
Definition at line 37 of file ThemePanel.cxx.
References svx::ColorSets::get(), Application::GetSettings(), LINK, mxApplyButton, and mxValueSetColors.
|
overridevirtual |
Definition at line 62 of file ThemePanel.cxx.
References mxApplyButton, mxValueSetColors, and mxValueSetColorsWin.
|
static |
Definition at line 29 of file ThemePanel.cxx.
|
private |
|
private |
|
private |
|
private |
Definition at line 85 of file ThemePanel.cxx.
References sw::ThemeColorChanger::apply(), SfxObjectShell::Current(), svx::ColorSets::get(), mxValueSetColors, and nIndex.
|
inlineoverridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 36 of file ThemePanel.hxx.
|
overridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 103 of file ThemePanel.cxx.
|
private |
Definition at line 44 of file ThemePanel.hxx.
Referenced by ThemePanel(), and ~ThemePanel().
|
private |
Definition at line 41 of file ThemePanel.hxx.
|
private |
Definition at line 42 of file ThemePanel.hxx.
Referenced by DoubleClickHdl(), ThemePanel(), and ~ThemePanel().
|
private |
Definition at line 43 of file ThemePanel.hxx.
Referenced by ~ThemePanel().