diff options
author | rash419 <rashesh.padia@collabora.com> | 2022-04-13 16:20:36 +0530 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2022-11-20 10:40:16 +0100 |
commit | ba5e0013e74f072300e808e4d8d679b6f42bff92 (patch) | |
tree | 46ed7479019c69119f415b7b072814749802bdd3 /cui/inc | |
parent | 64d4275b60d50a87fb2bf4dd45be3c28902cec52 (diff) |
jsdialogs: added WidgetTestDialog to test different vcl widgets in online side
Signed-off-by: rash419 <rashesh.padia@collabora.com>
Change-Id: I27cbb72b4ccd486b58934503b1d3d5d7ff47cbfe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132865
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142970
Tested-by: Jenkins
Diffstat (limited to 'cui/inc')
-rw-r--r-- | cui/inc/widgettestdlg.hxx | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/cui/inc/widgettestdlg.hxx b/cui/inc/widgettestdlg.hxx new file mode 100644 index 000000000000..dabc2ee14e75 --- /dev/null +++ b/cui/inc/widgettestdlg.hxx @@ -0,0 +1,28 @@ +/* -*- 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/. +*/ + +#pragma once + +#include <tools/link.hxx> +#include <vcl/weld.hxx> +#include <vcl/weldutils.hxx> + +class WidgetTestDialog final : public weld::GenericDialogController +{ +private: + std::unique_ptr<weld::Button> m_xOKButton; + std::unique_ptr<weld::Button> m_xCancelButton; + + DECL_LINK(OkHdl, weld::Button&, void); + DECL_LINK(CancelHdl, weld::Button&, void); + +public: + WidgetTestDialog(weld::Window* pParent); + ~WidgetTestDialog(); +}; |