diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2020-08-02 17:10:00 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2020-10-07 18:02:06 +0200 |
commit | ed8df0ec6ed1af600a4d31223d5bfc3f65c5d7ba (patch) | |
tree | 8ea2a707ad62fd23a32b5f25c2b955964fb4d29c /cui/source/factory/dlgfact.cxx | |
parent | 0c9ccc7dbf6deb4d012e0d1e6eb934e54e0f19bc (diff) |
Resolves tdf#117463 - Dialog to show UI options
* New dialog to pick and apply one of the UI variants
* Tip-of-the-Day enhanced to execute UNO commands in order
to advertise the UI chooser on first start
Change-Id: I5e5c4a8e0fb11d11bafc99cc37b7ec244a993781
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99957
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'cui/source/factory/dlgfact.cxx')
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 731303dc50a3..f970e4a10503 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -88,6 +88,7 @@ #include <hyphen.hxx> #include <thesdlg.hxx> #include <tipofthedaydlg.hxx> +#include <toolbarmodedlg.hxx> #include <DiagramDialog.hxx> using namespace ::com::sun::star; @@ -1679,6 +1680,13 @@ AbstractDialogFactory_Impl::CreateTipOfTheDayDialog(weld::Window* pParent) std::make_unique<TipOfTheDayDialog>(pParent)); } +VclPtr<VclAbstractDialog> +AbstractDialogFactory_Impl::CreateToolbarmodeDialog(weld::Window* pParent) +{ + return VclPtr<CuiAbstractController_Impl>::Create( + std::make_unique<ToolbarmodeDialog>(pParent)); +} + VclPtr<AbstractDiagramDialog> AbstractDialogFactory_Impl::CreateDiagramDialog(weld::Window* pParent, std::shared_ptr<DiagramDataInterface> pDiagramData) { |