summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/SelectLayerDlg.hxx
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2023-11-16 19:19:36 -0900
committerJim Raykowski <raykowj@gmail.com>2024-03-11 17:34:27 +0100
commit1447900fc5f0d32d8379a95439f524fda9a664c1 (patch)
treeab2211c579de74b04930ddfb6435f5e89f9a9c63 /sd/source/ui/inc/SelectLayerDlg.hxx
parent4e27934fc1ea47e4f3986c7675d94348a9f23a21 (diff)
tdf#122587 Add uno command to set layer of object(s)
Change-Id: Iabdd0f7059953760a69d82a3810eb8ed20c2fd9e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159982 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sd/source/ui/inc/SelectLayerDlg.hxx')
-rw-r--r--sd/source/ui/inc/SelectLayerDlg.hxx37
1 files changed, 37 insertions, 0 deletions
diff --git a/sd/source/ui/inc/SelectLayerDlg.hxx b/sd/source/ui/inc/SelectLayerDlg.hxx
new file mode 100644
index 000000000000..e8ab6407d76a
--- /dev/null
+++ b/sd/source/ui/inc/SelectLayerDlg.hxx
@@ -0,0 +1,37 @@
+/* -*- 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/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#pragma once
+
+#include <vcl/weld.hxx>
+
+class SdSelectLayerDlg : public weld::GenericDialogController
+{
+ std::unique_ptr<weld::Button> m_xOk;
+ std::unique_ptr<weld::TreeView> m_xListLB;
+
+ DECL_LINK(DoubleClickHdl, weld::TreeView&, bool);
+ DECL_LINK(SelectHdl, weld::TreeView&, void);
+
+public:
+ explicit SdSelectLayerDlg(weld::Window* pParent);
+
+ weld::TreeView& GetTreeView() { return *m_xListLB; }
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */