tdf#151073 - enable firebird for appstore build w/o experimental mode
[LibreOffice.git] / include / svx / AccessibilityCheckDialog.hxx
blob53fcdaf4a031b7c96c598285f30fbc798ab35c34
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 */
11 #ifndef INCLUDED_SVX_ACCESSIBILITYCHECKDIALOG_HXX
12 #define INCLUDED_SVX_ACCESSIBILITYCHECKDIALOG_HXX
14 #include <sfx2/AccessibilityIssue.hxx>
15 #include <svx/svxdllapi.h>
16 #include <tools/link.hxx>
17 #include <vcl/weld.hxx>
19 namespace svx
21 class AccessibilityCheckEntry final
23 private:
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;
29 std::shared_ptr<sfx::AccessibilityIssue> const& m_pAccessibilityIssue;
31 public:
32 AccessibilityCheckEntry(weld::Container* pParent,
33 std::shared_ptr<sfx::AccessibilityIssue> const& pAccessibilityIssue);
35 weld::Widget* get_widget() const { return m_xContainer.get(); }
37 DECL_LINK(GotoButtonClicked, weld::Button&, void);
40 class SVX_DLLPUBLIC AccessibilityCheckDialog final : public weld::GenericDialogController
42 private:
43 sfx::AccessibilityIssueCollection m_aIssueCollection;
44 std::vector<std::unique_ptr<AccessibilityCheckEntry>> m_aAccessibilityCheckEntries;
46 // Controls
47 std::unique_ptr<weld::Box> m_xAccessibilityCheckBox;
49 public:
50 AccessibilityCheckDialog(weld::Window* pParent,
51 sfx::AccessibilityIssueCollection rIssueCollection);
52 virtual ~AccessibilityCheckDialog() override;
55 } // end svx namespace
57 #endif // INCLUDED_SVX_ACCESSIBILITYCHECKDIALOG_HXX
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */