diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-01-14 10:56:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-01-16 17:20:09 +0100 |
commit | 95b3a12c5c55cb1696995ccba7eb5f33832fa69f (patch) | |
tree | 8244b632bd75b34310cc0c052306c657a886a38d /include | |
parent | c8e26c255238e41c378bce4a715a566034a6a9e2 (diff) |
Resolves: tdf#122695 Content Type selector tooltip missing
Change-Id: I0ffe6448d865f569fb59d9facbb1582d2152a9ba
Reviewed-on: https://gerrit.libreoffice.org/66291
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 423d70f7e45749fad680b3dfe0ccdaed1c1afb19)
Reviewed-on: https://gerrit.libreoffice.org/66384
Tested-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdhdl.hxx | 3 | ||||
-rw-r--r-- | include/svx/svdmrkv.hxx | 1 | ||||
-rw-r--r-- | include/svx/svdpntv.hxx | 1 | ||||
-rw-r--r-- | include/svx/svdview.hxx | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/include/svx/svdhdl.hxx b/include/svx/svdhdl.hxx index 5760d642a3f7..fa7ce34404db 100644 --- a/include/svx/svdhdl.hxx +++ b/include/svx/svdhdl.hxx @@ -226,6 +226,9 @@ public: visualisation during mouse over it must override this method and call Touch(). */ virtual void onMouseEnter(const MouseEvent& rMEvt); + /** is called when help is requested for the area of this handle */ + virtual void onHelpRequest(const HelpEvent& rHEvt); + /** is called when the mouse leaves the area of this handle. If the handle changes his visualisation during mouse over it must override this method and call Touch(). */ virtual void onMouseLeave(); diff --git a/include/svx/svdmrkv.hxx b/include/svx/svdmrkv.hxx index abffdba68434..94608620e6b1 100644 --- a/include/svx/svdmrkv.hxx +++ b/include/svx/svdmrkv.hxx @@ -143,6 +143,7 @@ protected: void CheckMarked(); // Scan MarkList after Del and Lock Layer ... void AddDragModeHdl(SdrDragMode eMode); virtual bool MouseMove(const MouseEvent& rMEvt, vcl::Window* pWin) override; + virtual bool RequestHelp(const HelpEvent& rHEvt) override; // add custom handles (used by other apps, e.g. AnchorPos) virtual void AddCustomHdl(); diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx index 8af3d7710d04..f28824813f78 100644 --- a/include/svx/svdpntv.hxx +++ b/include/svx/svdpntv.hxx @@ -466,6 +466,7 @@ public: virtual bool MouseButtonDown(const MouseEvent& /*rMEvt*/, vcl::Window* /*pWin*/) { return false; } virtual bool MouseButtonUp(const MouseEvent& /*rMEvt*/, vcl::Window* /*pWin*/) { return false; } virtual bool MouseMove(const MouseEvent& /*rMEvt*/, vcl::Window* /*pWin*/) { return false; } + virtual bool RequestHelp(const HelpEvent& /*rHEvt*/) { return false; } virtual bool Command(const CommandEvent& /*rCEvt*/, vcl::Window* /*pWin*/) { return false; } void GetAttributes(SfxItemSet& rTargetSet, bool bOnlyHardAttr) const; diff --git a/include/svx/svdview.hxx b/include/svx/svdview.hxx index a4708917de00..da58f13cb407 100644 --- a/include/svx/svdview.hxx +++ b/include/svx/svdview.hxx @@ -185,6 +185,7 @@ public: virtual bool MouseButtonDown(const MouseEvent& rMEvt, vcl::Window* pWin) override; virtual bool MouseButtonUp(const MouseEvent& rMEvt, vcl::Window* pWin) override; virtual bool MouseMove(const MouseEvent& rMEvt, vcl::Window* pWin) override; + using SdrCreateView::RequestHelp; virtual bool Command(const CommandEvent& rCEvt, vcl::Window* pWin) override; virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, ConfigurationHints ) override; |