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-14 21:55:25 +0100 |
commit | 423d70f7e45749fad680b3dfe0ccdaed1c1afb19 (patch) | |
tree | a69966b5a04c0aa3f48273da8d6758fa9d9e2376 /include | |
parent | 743463057b39ee93d1fa11dc0bcdf919d47f3223 (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>
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 caf95813973d..5832e33bc2ac 100644 --- a/include/svx/svdhdl.hxx +++ b/include/svx/svdhdl.hxx @@ -242,6 +242,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 83eefb9dd54f..a864477fb80b 100644 --- a/include/svx/svdmrkv.hxx +++ b/include/svx/svdmrkv.hxx @@ -150,6 +150,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 2913850ed04b..429e9b96f020 100644 --- a/include/svx/svdpntv.hxx +++ b/include/svx/svdpntv.hxx @@ -463,6 +463,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 149bffcb872f..a63618089747 100644 --- a/include/svx/svdview.hxx +++ b/include/svx/svdview.hxx @@ -187,6 +187,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; |