LibreOffice Module svx (master) 1
|
#include <ThemeDialog.hxx>
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 Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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::Window * | mpWindow |
model::Theme * | mpTheme |
std::vector< model::ColorSet > | maColorSets |
std::unique_ptr< svx::ThemeColorValueSet > | mxValueSetThemeColors |
std::unique_ptr< weld::CustomWeld > | mxValueSetThemeColorsWindow |
std::unique_ptr< weld::Button > | mxAdd |
std::shared_ptr< model::ColorSet > | mpCurrentColorSet |
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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 28 of file ThemeDialog.hxx.
svx::ThemeDialog::ThemeDialog | ( | weld::Window * | pParent, |
model::Theme * | pTheme | ||
) |
Definition at line 21 of file ThemeDialog.cxx.
References Application::GetSettings(), initColorSets(), LINK, maColorSets, mpCurrentColorSet, mpWindow, mxAdd, and mxValueSetThemeColors.
|
overridevirtualdefault |
svx::ThemeDialog::DECL_LINK | ( | ButtonClicked | , |
weld::Button & | , | ||
void | |||
) |
svx::ThemeDialog::DECL_LINK | ( | DoubleClickValueSetHdl | , |
ValueSet * | , | ||
void | |||
) |
svx::ThemeDialog::DECL_LINK | ( | SelectItem | , |
ValueSet * | , | ||
void | |||
) |
|
inline |
Definition at line 52 of file ThemeDialog.hxx.
|
private |
Definition at line 49 of file ThemeDialog.cxx.
References svx::ColorSets::get(), model::Theme::getColorSet(), svx::ColorSets::getColorSetVector(), maColorSets, mpTheme, and mxValueSetThemeColors.
Referenced by ThemeDialog().
|
private |
Definition at line 86 of file ThemeDialog.cxx.
References mpCurrentColorSet, mpWindow, mxAdd, RET_OK, and weld::DialogController::runAsync().
|
private |
Definition at line 33 of file ThemeDialog.hxx.
Referenced by initColorSets(), and ThemeDialog().
|
private |
Definition at line 39 of file ThemeDialog.hxx.
Referenced by runThemeColorEditDialog(), and ThemeDialog().
|
private |
Definition at line 32 of file ThemeDialog.hxx.
Referenced by initColorSets().
|
private |
Definition at line 31 of file ThemeDialog.hxx.
Referenced by runThemeColorEditDialog().
|
private |
Definition at line 37 of file ThemeDialog.hxx.
Referenced by runThemeColorEditDialog(), and ThemeDialog().
|
private |
Definition at line 35 of file ThemeDialog.hxx.
Referenced by initColorSets(), and ThemeDialog().
|
private |
Definition at line 36 of file ThemeDialog.hxx.