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 
19 namespace svx
20 {
22 {
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;
28 
29  std::shared_ptr<sfx::AccessibilityIssue> const& m_pAccessibilityIssue;
30 
31 public:
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 {
42 private:
44  std::vector<std::unique_ptr<AccessibilityCheckEntry>> m_aAccessibilityCheckEntries;
45 
46  // Controls
47  std::unique_ptr<weld::Box> m_xAccessibilityCheckBox;
48 
49 public:
51  sfx::AccessibilityIssueCollection const& rIssueCollection);
52  virtual ~AccessibilityCheckDialog() override;
53  virtual short run() override;
54 };
55 
56 } // end svx namespace
57 
58 #endif // INCLUDED_SVX_ACCESSIBILITYCHECKDIALOG_HXX
59 
60 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::Label > m_xLabel
std::unique_ptr< weld::Builder > m_xBuilder
#define SVX_DLLPUBLIC
Definition: svxdllapi.h:28
sfx::AccessibilityIssueCollection m_aIssueCollection
std::unique_ptr< weld::Container > m_xContainer
DECL_LINK(GotoButtonClicked, weld::Button &, void)
def run
std::unique_ptr< weld::Box > m_xAccessibilityCheckBox
std::vector< std::unique_ptr< AccessibilityCheckEntry > > m_aAccessibilityCheckEntries
std::unique_ptr< weld::Button > m_xGotoButton
AccessibilityCheckEntry(weld::Container *pParent, std::shared_ptr< sfx::AccessibilityIssue > const &pAccessibilityIssue)
std::shared_ptr< sfx::AccessibilityIssue > const & m_pAccessibilityIssue