diff options
author | Marc Reilly <marc@cpdesign.com.au> | 2016-08-10 20:18:48 +1000 |
---|---|---|
committer | Marc Reilly <marc.reilly@gmail.com> | 2016-08-11 07:43:42 +0000 |
commit | 4bbd9dc0dc15e0378f040aae971a52ac33486351 (patch) | |
tree | 5e046b046726ff5d0ffc21eb2c04e440a5ef4683 /src/plugins/cppeditor/cppeditorplugin.cpp | |
parent | 5652aef54a61c30efef93d781ab712fdf825982a (diff) |
cppeditor: add resource preview hover handler class
This adds a hover handler which will preview images
from within project resource.
Change-Id: I88bcb56a977e41ed4dc5bfe165e2c80d4396a21f
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/cppeditor/cppeditorplugin.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppeditorplugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppeditorplugin.cpp b/src/plugins/cppeditor/cppeditorplugin.cpp index 46b5f4cb26..39b4fc0f2e 100644 --- a/src/plugins/cppeditor/cppeditorplugin.cpp +++ b/src/plugins/cppeditor/cppeditorplugin.cpp @@ -38,6 +38,7 @@ #include "cppquickfixes.h" #include "cppsnippetprovider.h" #include "cpptypehierarchy.h" +#include "resourcepreviewhoverhandler.h" #include <coreplugin/editormanager/editormanager.h> @@ -106,6 +107,7 @@ public: addHoverHandler(new CppHoverHandler); addHoverHandler(new ColorPreviewHoverHandler); + addHoverHandler(new ResourcePreviewHoverHandler); } }; |