diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-08-05 17:26:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-08-22 16:37:16 +0200 |
commit | 69057064d8957804c76e623d57c103c3413b7cbc (patch) | |
tree | 8026201f2750300a3b9f831a04dcc34016d54a95 /cui/source/inc | |
parent | e724f245e9652230d4c1f58c353be150006affcd (diff) |
weld ODbTypeWizDialogSetup
split up RoadmapWizard to sit its wizard logic on top of a a native GtkAssistant
a) awkwardly GtkAssistant is not a GtkDialog, but derives directly from
GtkWindow so some shuffling around required due to that
b) hidden/unused pages are shuffled to the end of the list of pages and
their titles turned off in order to hide them from the roadmap
c) some nonstandard hackery required to get the gtk roadmap titles to wrap
Change-Id: I0d2346c489fef744136a2785f33c846d97bd8dc6
Reviewed-on: https://gerrit.libreoffice.org/76876
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/about.hxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cui/source/inc/about.hxx b/cui/source/inc/about.hxx index adafb7448ef0..c51eb15433d8 100644 --- a/cui/source/inc/about.hxx +++ b/cui/source/inc/about.hxx @@ -27,18 +27,17 @@ class AboutDialog : public weld::DialogController private: std::unique_ptr<weld::Builder> m_xBuilder; std::shared_ptr<weld::AboutDialog> m_xDialog; - std::shared_ptr<weld::Container> m_xContentArea; + std::unique_ptr<weld::Container> m_xContentArea; + std::unique_ptr<weld::Button> m_xCreditsButton; + std::unique_ptr<weld::Button> m_xWebsiteButton; + std::unique_ptr<weld::Button> m_xReleaseNotesButton; + std::unique_ptr<weld::Button> m_xCloseButton; BitmapEx aLogoBitmap; BitmapEx aBackgroundBitmap; OUString m_buildIdLinkString; - weld::Button* m_pCreditsButton; - weld::Button* m_pWebsiteButton; - weld::Button* m_pReleaseNotesButton; - weld::Button* m_pCloseButton; - void SetBuildIdLink(); void SetLogo(); |