17 : GenericDialogController(pParent,
"svx/ui/themecoloreditdialog.ui",
"ThemeColorEditDialog")
18 , maColorSet(rColorSet)
19 , mxThemeColorsNameEntry(m_xBuilder->weld_entry(
"entryThemeColorsName"))
20 , mxDark1(new
ColorListBox(m_xBuilder->weld_menu_button(
"buttonDark1"),
21 [pParent] {
return pParent; }))
22 , mxLight1(
new ColorListBox(m_xBuilder->weld_menu_button(
"buttonLight1"),
23 [pParent] { return pParent; }))
24 , mxDark2(
new ColorListBox(m_xBuilder->weld_menu_button(
"buttonDark2"),
25 [pParent] { return pParent; }))
26 , mxLight2(
new ColorListBox(m_xBuilder->weld_menu_button(
"buttonLight2"),
27 [pParent] { return pParent; }))
28 , mxAccent1(
new ColorListBox(m_xBuilder->weld_menu_button(
"buttonAccent1"),
29 [pParent] { return pParent; }))
30 , mxAccent2(
new ColorListBox(m_xBuilder->weld_menu_button(
"buttonAccent2"),
31 [pParent] { return pParent; }))
32 , mxAccent3(
new ColorListBox(m_xBuilder->weld_menu_button(
"buttonAccent3"),
33 [pParent] { return pParent; }))
34 , mxAccent4(
new ColorListBox(m_xBuilder->weld_menu_button(
"buttonAccent4"),
35 [pParent] { return pParent; }))
36 , mxAccent5(
new ColorListBox(m_xBuilder->weld_menu_button(
"buttonAccent5"),
37 [pParent] { return pParent; }))
38 , mxAccent6(
new ColorListBox(m_xBuilder->weld_menu_button(
"buttonAccent6"),
39 [pParent] { return pParent; }))
40 , mxHyperlink(
new ColorListBox(m_xBuilder->weld_menu_button(
"buttonHyperlink"),
41 [pParent] { return pParent; }))
42 , mxFollowHyperlink(
new ColorListBox(m_xBuilder->weld_menu_button(
"buttonFollowHyperlink"),
43 [pParent] { return pParent; }))
45 mxThemeColorsNameEntry->set_text(rColorSet.getName());
void add(model::ThemeColorType Type, Color aColorData)
std::unique_ptr< ColorListBox > mxHyperlink
std::unique_ptr< weld::Entry > mxThemeColorsNameEntry
std::unique_ptr< ColorListBox > mxFollowHyperlink
std::unique_ptr< ColorListBox > mxLight2
std::unique_ptr< ColorListBox > mxDark1
std::unique_ptr< ColorListBox > mxAccent1
std::unique_ptr< ColorListBox > mxAccent6
model::ColorSet getColorSet()
std::unique_ptr< ColorListBox > mxDark2
virtual ~ThemeColorEditDialog() override
std::unique_ptr< ColorListBox > mxAccent3
std::unique_ptr< ColorListBox > mxAccent5
ThemeColorEditDialog(weld::Window *pParent, model::ColorSet &rColorSet)
std::unique_ptr< ColorListBox > mxAccent4
std::unique_ptr< ColorListBox > mxAccent2
std::unique_ptr< ColorListBox > mxLight1