summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorheiko tietze <tietze.heiko@gmail.com>2019-03-21 10:14:07 +0100
committerHeiko Tietze <tietze.heiko@gmail.com>2019-04-10 16:54:37 +0200
commita1700d52a47184ee07b91b461a846dc5435f0022 (patch)
tree31e05614ca9133846bef8fd5219ada1191d48414 /include/vcl
parent3d7a67cdd465956206f881304bbcbaf47ccfcd83 (diff)
tdf#124238 - Show a Tip-Of-The-Day dialog on startup
New dialog Change-Id: If1e501de26eb5a9c20a59e621f9e805c3b5e2cf8 Reviewed-on: https://gerrit.libreoffice.org/69498 Tested-by: Jenkins Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/abstdlg.hxx10
-rw-r--r--include/vcl/weld.hxx1
2 files changed, 11 insertions, 0 deletions
diff --git a/include/vcl/abstdlg.hxx b/include/vcl/abstdlg.hxx
index 4e9f72d218a3..b4b839c71fe4 100644
--- a/include/vcl/abstdlg.hxx
+++ b/include/vcl/abstdlg.hxx
@@ -119,6 +119,12 @@ protected:
virtual ~AbstractSignSignatureLineDialog() override = default;
};
+class VCL_DLLPUBLIC AbstractTipOfTheDayDialog : public VclAbstractDialog
+{
+protected:
+ virtual ~AbstractTipOfTheDayDialog() override = default;
+};
+
class VCL_DLLPUBLIC VclAbstractDialogFactory
{
public:
@@ -147,6 +153,10 @@ public:
virtual VclPtr<AbstractScreenshotAnnotationDlg> CreateScreenshotAnnotationDlg(
vcl::Window* pParent,
Dialog& rParentDialog) = 0;
+
+ // create info dialog to show tip-of-the-day
+ virtual VclPtr<AbstractTipOfTheDayDialog>
+ CreateTipOfTheDayDialog(weld::Window* pParent) = 0;
};
#endif
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 4b2c759628b9..3b2fea407aec 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -1089,6 +1089,7 @@ class VCL_DLLPUBLIC Image : virtual public Widget
{
public:
virtual void set_from_icon_name(const OUString& rIconName) = 0;
+ virtual void set_image(VirtualDevice* pDevice) = 0;
};
class VCL_DLLPUBLIC Calendar : virtual public Widget