LibreOffice Module svx (master) 1
AccessibilityCheckDialog.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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
11#ifndef INCLUDED_SVX_ACCESSIBILITYCHECKDIALOG_HXX
12#define INCLUDED_SVX_ACCESSIBILITYCHECKDIALOG_HXX
13
15#include <svx/svxdllapi.h>
16#include <tools/link.hxx>
17#include <vcl/weld.hxx>
18
19namespace svx
20{
22{
23private:
24 std::unique_ptr<weld::Builder> m_xBuilder;
25 std::unique_ptr<weld::Container> m_xContainer;
26 std::unique_ptr<weld::Label> m_xLabel;
27 std::unique_ptr<weld::Button> m_xGotoButton;
28
29 std::shared_ptr<sfx::AccessibilityIssue> const& m_pAccessibilityIssue;
30
31public:
33 std::shared_ptr<sfx::AccessibilityIssue> const& pAccessibilityIssue);
34
35 weld::Widget* get_widget() const { return m_xContainer.get(); }
36
37 DECL_LINK(GotoButtonClicked, weld::Button&, void);
38};
39
41{
42private:
44 std::vector<std::unique_ptr<AccessibilityCheckEntry>> m_aAccessibilityCheckEntries;
45
46 // Controls
47 std::unique_ptr<weld::Box> m_xAccessibilityCheckBox;
48
49public:
51 sfx::AccessibilityIssueCollection rIssueCollection);
52 virtual ~AccessibilityCheckDialog() override;
53};
54
55} // end svx namespace
56
57#endif // INCLUDED_SVX_ACCESSIBILITYCHECKDIALOG_HXX
58
59/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sfx::AccessibilityIssueCollection m_aIssueCollection
std::unique_ptr< weld::Box > m_xAccessibilityCheckBox
std::vector< std::unique_ptr< AccessibilityCheckEntry > > m_aAccessibilityCheckEntries
std::unique_ptr< weld::Button > m_xGotoButton
DECL_LINK(GotoButtonClicked, weld::Button &, void)
std::unique_ptr< weld::Container > m_xContainer
std::shared_ptr< sfx::AccessibilityIssue > const & m_pAccessibilityIssue
std::unique_ptr< weld::Builder > m_xBuilder
AccessibilityCheckEntry(weld::Container *pParent, std::shared_ptr< sfx::AccessibilityIssue > const &pAccessibilityIssue)
std::unique_ptr< weld::Label > m_xLabel
#define SVX_DLLPUBLIC
Definition: svxdllapi.h:28