diff options
author | homeboy445 <akshitsan13@gmail.com> | 2021-06-17 17:42:41 +0530 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-06-29 06:14:59 +0200 |
commit | df3ed584b025b8a87a8a3042a04ac8c12ebe4f26 (patch) | |
tree | 14279a51292a90848cbe780393a32ffd639c7b86 /cui/source/factory | |
parent | 7c95c16deba975b0b282ccea1fbfcfadd7aa28b3 (diff) |
Added a UI dialog box for running the VCL backend tests
The UI dialog box will allow the user to run the VCL graphics tests
and will allow them to view the results as well.
Change-Id: Ice289444ff425496a3e400a4c2bc06c307168c62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117384
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'cui/source/factory')
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 8 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 19b30518e426..f49e3228134f 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -64,6 +64,7 @@ #include <SignatureLineDialog.hxx> #include <SignSignatureLineDialog.hxx> #include <QrCodeGenDialog.hxx> +#include <GraphicsTestsDialog.hxx> #include <SpellDialog.hxx> #include <cfg.hxx> #include <numpages.hxx> @@ -1695,6 +1696,13 @@ AbstractDialogFactory_Impl::CreateAboutDialog(weld::Window* pParent) } VclPtr<VclAbstractDialog> +AbstractDialogFactory_Impl::CreateGraphicTestsDialog(weld::Window* pParent) +{ + return VclPtr<CuiAbstractController_Impl>::Create( + std::make_unique<GraphicsTestsDialog>(pParent)); +} + +VclPtr<VclAbstractDialog> AbstractDialogFactory_Impl::CreateTipOfTheDayDialog(weld::Window* pParent) { return VclPtr<CuiAbstractTipController_Impl>::Create( diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index 1e16414f3b85..39e540c46352 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -37,6 +37,7 @@ #include <cuitbxform.hxx> #include <dlgname.hxx> #include <DiagramDialog.hxx> +#include <GraphicsTestsDialog.hxx> #include <hangulhanjadlg.hxx> #include <hyphen.hxx> #include <insdlg.hxx> @@ -951,6 +952,8 @@ public: virtual VclPtr<VclAbstractDialog> CreateAboutDialog(weld::Window* pParent) override; + virtual VclPtr<VclAbstractDialog> CreateGraphicTestsDialog(weld::Window* pParent) override; + virtual VclPtr<VclAbstractDialog> CreateTipOfTheDayDialog(weld::Window* pParent) override; virtual VclPtr<VclAbstractDialog> CreateToolbarmodeDialog(weld::Window* pParent) override; |