LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svx::ThemeDialog Class Referencefinal

#include <ThemeDialog.hxx>

Inheritance diagram for svx::ThemeDialog:
[legend]
Collaboration diagram for svx::ThemeDialog:
[legend]

Public Member Functions

 ThemeDialog (weld::Window *pParent, model::Theme *pTheme)
 
virtual ~ThemeDialog () override
 
 DECL_LINK (DoubleClickValueSetHdl, ValueSet *, void)
 
 DECL_LINK (SelectItem, ValueSet *, void)
 
 DECL_LINK (ButtonClicked, weld::Button &, void)
 
std::shared_ptr< model::ColorSet > const & getCurrentColorSet ()
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void runThemeColorEditDialog ()
 
void initColorSets ()
 

Private Attributes

weld::WindowmpWindow
 
model::ThemempTheme
 
std::vector< model::ColorSetmaColorSets
 
std::unique_ptr< svx::ThemeColorValueSetmxValueSetThemeColors
 
std::unique_ptr< weld::CustomWeldmxValueSetThemeColorsWindow
 
std::unique_ptr< weld::ButtonmxAdd
 
std::shared_ptr< model::ColorSetmpCurrentColorSet
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 28 of file ThemeDialog.hxx.

Constructor & Destructor Documentation

◆ ThemeDialog()

svx::ThemeDialog::ThemeDialog ( weld::Window pParent,
model::Theme pTheme 
)

◆ ~ThemeDialog()

svx::ThemeDialog::~ThemeDialog ( )
overridevirtualdefault

Member Function Documentation

◆ DECL_LINK() [1/3]

svx::ThemeDialog::DECL_LINK ( ButtonClicked  ,
weld::Button ,
void   
)

◆ DECL_LINK() [2/3]

svx::ThemeDialog::DECL_LINK ( DoubleClickValueSetHdl  ,
ValueSet ,
void   
)

◆ DECL_LINK() [3/3]

svx::ThemeDialog::DECL_LINK ( SelectItem  ,
ValueSet ,
void   
)

◆ getCurrentColorSet()

std::shared_ptr< model::ColorSet > const & svx::ThemeDialog::getCurrentColorSet ( )
inline

Definition at line 52 of file ThemeDialog.hxx.

◆ initColorSets()

void svx::ThemeDialog::initColorSets ( )
private

◆ runThemeColorEditDialog()

void svx::ThemeDialog::runThemeColorEditDialog ( )
private

Member Data Documentation

◆ maColorSets

std::vector<model::ColorSet> svx::ThemeDialog::maColorSets
private

Definition at line 33 of file ThemeDialog.hxx.

Referenced by initColorSets(), and ThemeDialog().

◆ mpCurrentColorSet

std::shared_ptr<model::ColorSet> svx::ThemeDialog::mpCurrentColorSet
private

Definition at line 39 of file ThemeDialog.hxx.

Referenced by runThemeColorEditDialog(), and ThemeDialog().

◆ mpTheme

model::Theme* svx::ThemeDialog::mpTheme
private

Definition at line 32 of file ThemeDialog.hxx.

Referenced by initColorSets().

◆ mpWindow

weld::Window* svx::ThemeDialog::mpWindow
private

Definition at line 31 of file ThemeDialog.hxx.

Referenced by runThemeColorEditDialog().

◆ mxAdd

std::unique_ptr<weld::Button> svx::ThemeDialog::mxAdd
private

Definition at line 37 of file ThemeDialog.hxx.

Referenced by runThemeColorEditDialog(), and ThemeDialog().

◆ mxValueSetThemeColors

std::unique_ptr<svx::ThemeColorValueSet> svx::ThemeDialog::mxValueSetThemeColors
private

Definition at line 35 of file ThemeDialog.hxx.

Referenced by initColorSets(), and ThemeDialog().

◆ mxValueSetThemeColorsWindow

std::unique_ptr<weld::CustomWeld> svx::ThemeDialog::mxValueSetThemeColorsWindow
private

Definition at line 36 of file ThemeDialog.hxx.


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