LibreOffice Module cui (master) 1
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
19{
20public:
22 virtual ~ToolbarmodeDialog() override;
23
24private:
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);
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: */
DECL_LINK(OnApplyClick, weld::Button &, void)
DECL_LINK(SelectToolbarmode, weld::Toggleable &, void)
void UpdateImage(std::u16string_view sFileName)
std::unique_ptr< weld::Label > m_pInfoLabel
std::unique_ptr< weld::Button > m_pApplyAll
std::unique_ptr< weld::Image > m_pImage
virtual ~ToolbarmodeDialog() override
ToolbarmodeDialog(weld::Window *pWindow)
std::unique_ptr< weld::Button > m_pApply
std::unique_ptr< weld::RadioButton > m_pRadioButtons[9]