summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-12-20 12:12:35 +0100
committerTomaž Vajngerl <quikee@gmail.com>2019-12-29 17:00:30 +0100
commit50f13bbedf0bba0509b7bf98bc782ec821c7777b (patch)
tree075561038379e173ea04f626accb0ee00f2d255c /include
parent22db41d4078f56d03905efbc71c16c322b2df091 (diff)
acc. check: add "goto" button to see the acc. issue in document
This adds the UI for the goto functionality to the UI, but currently no goto implementation to jump to the specific issue area in the document is written. Change-Id: I5b326a000e62231c491c179b1ff8accde15e1e98 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85920 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/AccessibilityCheckDialog.hxx3
-rw-r--r--include/svx/AccessibilityIssue.hxx1
2 files changed, 4 insertions, 0 deletions
diff --git a/include/svx/AccessibilityCheckDialog.hxx b/include/svx/AccessibilityCheckDialog.hxx
index d1cb2b8e20ab..0656abe1593d 100644
--- a/include/svx/AccessibilityCheckDialog.hxx
+++ b/include/svx/AccessibilityCheckDialog.hxx
@@ -26,6 +26,7 @@ private:
std::unique_ptr<weld::Builder> m_xBuilder;
std::unique_ptr<weld::Container> m_xContainer;
std::unique_ptr<weld::Label> m_xLabel;
+ std::unique_ptr<weld::Button> m_xGotoButton;
std::shared_ptr<AccessibilityIssue> const& m_pAccessibilityIssue;
@@ -34,6 +35,8 @@ public:
std::shared_ptr<AccessibilityIssue> const& pAccessibilityIssue);
weld::Widget* get_widget() const { return m_xContainer.get(); }
+
+ DECL_LINK(GotoButtonClicked, weld::Button&, void);
};
class SVX_DLLPUBLIC AccessibilityCheckDialog final : public weld::GenericDialogController
diff --git a/include/svx/AccessibilityIssue.hxx b/include/svx/AccessibilityIssue.hxx
index 1f5089d97064..b0508f5801b9 100644
--- a/include/svx/AccessibilityIssue.hxx
+++ b/include/svx/AccessibilityIssue.hxx
@@ -31,6 +31,7 @@ public:
{
}
virtual ~AccessibilityIssue() {}
+ virtual void gotoIssue() const = 0;
AccessibilityIssueID m_eIssueID;
OUString m_aIssueText;