summaryrefslogtreecommitdiff
path: root/svtools/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-03 02:38:11 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-18 17:01:55 +0200
commitae9dc22955e5b83cb2671c21d9bfea7dd3b389b5 (patch)
treeafa82d18e406419fad94677a93ac9ae0cd150177 /svtools/inc
parent65ce002f4ff1559d836c1af2749963031fdc4efe (diff)
uitest: add initial version of wrapper for tree list box
The tree list will also be the first case where we need non-vcl::Window based children. We should create one child for each entry to make it possible to interact with them correctly. Change-Id: I49e1ddf7b271946fd595ebfe2f4f2d0c8a535fdc
Diffstat (limited to 'svtools/inc')
-rw-r--r--svtools/inc/uitest/uiobject.hxx30
1 files changed, 30 insertions, 0 deletions
diff --git a/svtools/inc/uitest/uiobject.hxx b/svtools/inc/uitest/uiobject.hxx
new file mode 100644
index 000000000000..8e7cbcecb1c8
--- /dev/null
+++ b/svtools/inc/uitest/uiobject.hxx
@@ -0,0 +1,30 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <vcl/uitest/uiobject.hxx>
+
+class SvTreeListBox;
+
+class TreeListUIObject : public WindowUIObject
+{
+public:
+ TreeListUIObject(VclPtr<SvTreeListBox> xTreeList);
+
+ virtual UIObjectType get_type() const override;
+
+ virtual StringMap get_state() override;
+
+ static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
+
+protected:
+
+ virtual OUString get_name() const override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */