LibreOffice Module cui (master)
1
cui
source
inc
toolbarmodedlg.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*/
9
10
#pragma once
11
12
#include <
sal/config.h
>
13
14
#include <string_view>
15
16
#include <
vcl/weld.hxx
>
17
18
class
ToolbarmodeDialog
:
public
weld::GenericDialogController
19
{
20
public
:
21
ToolbarmodeDialog
(
weld::Window
* pWindow);
22
virtual
~ToolbarmodeDialog
()
override
;
23
24
private
:
25
std::unique_ptr<weld::Image>
m_pImage
;
26
std::unique_ptr<weld::Button>
m_pApply
;
27
std::unique_ptr<weld::Button>
m_pApplyAll
;
28
std::unique_ptr<weld::RadioButton>
m_pRadioButtons
[9];
29
std::unique_ptr<weld::Label>
m_pInfoLabel
;
30
31
void
UpdateImage
(std::u16string_view sFileName);
32
int
GetActiveRadioButton
();
33
DECL_LINK
(SelectToolbarmode,
weld::Toggleable
&,
void
);
34
DECL_LINK
(OnApplyClick,
weld::Button
&,
void
);
35
};
36
37
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
ToolbarmodeDialog
Definition:
toolbarmodedlg.hxx:19
ToolbarmodeDialog::DECL_LINK
DECL_LINK(OnApplyClick, weld::Button &, void)
ToolbarmodeDialog::DECL_LINK
DECL_LINK(SelectToolbarmode, weld::Toggleable &, void)
ToolbarmodeDialog::UpdateImage
void UpdateImage(std::u16string_view sFileName)
Definition:
toolbarmodedlg.cxx:142
ToolbarmodeDialog::m_pInfoLabel
std::unique_ptr< weld::Label > m_pInfoLabel
Definition:
toolbarmodedlg.hxx:29
ToolbarmodeDialog::m_pApplyAll
std::unique_ptr< weld::Button > m_pApplyAll
Definition:
toolbarmodedlg.hxx:27
ToolbarmodeDialog::m_pImage
std::unique_ptr< weld::Image > m_pImage
Definition:
toolbarmodedlg.hxx:25
ToolbarmodeDialog::~ToolbarmodeDialog
virtual ~ToolbarmodeDialog() override
ToolbarmodeDialog::ToolbarmodeDialog
ToolbarmodeDialog(weld::Window *pWindow)
Definition:
toolbarmodedlg.cxx:81
ToolbarmodeDialog::m_pApply
std::unique_ptr< weld::Button > m_pApply
Definition:
toolbarmodedlg.hxx:26
ToolbarmodeDialog::m_pRadioButtons
std::unique_ptr< weld::RadioButton > m_pRadioButtons[9]
Definition:
toolbarmodedlg.hxx:28
ToolbarmodeDialog::GetActiveRadioButton
int GetActiveRadioButton()
Definition:
toolbarmodedlg.cxx:132
weld::Button
weld::GenericDialogController
weld::Toggleable
weld::Window
config.h
weld.hxx
Generated on Sun Jul 30 2023 04:33:15 for LibreOffice Module cui (master) by
1.9.3