Commit Graph

13 Commits

Author SHA1 Message Date
Friedemann Kleint
cbafc50acc Debugger: Make tooltips use standard text editor tooltips.
Extend text editor tooltips by a 'widget content', making
it possible to show any widget utilizing the fact that the
QTipLabel actually is a frame (and thus a container).
Introduce concept of 'interactive' tooltips and modify
the tooltip-closing mechanism such that simple interaction
is possible. Emit the base text editor's tooltip signals
with the correct position and add API to calculate the tooltip
position from the cursor position.
Add API for pinning tooltips to the text editor (by removing
them from the QTipLabel layout).
Modify the Debugger's tooltipmanager not to manage tooltips
under TextEditor control and to take over control only once
tooltips are pinned.

Rubber-stamped-by: Leandro T. C. Melo <leandro.melo@nokia.com>
2011-02-21 16:51:00 +01:00
Leandro Melo
bcaf20319d C++ editor: Try to find a help item if there is a syntax error
Task-number: QTCREATORBUG-2674
2011-01-17 16:35:04 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
hjk
d909d8ba64 debugger/basehoverhandler: introduce tooltipOverrideRequested and use it
Reviewed-by: con
Task-number: QTCREATOR-201
2011-01-04 13:58:05 +01:00
con
04e32b0049 License headers. 2010-12-17 16:03:42 +01:00
Leandro Melo
b4d9a23417 Add destructor to BaseHoverHandler. 2010-09-24 20:22:03 +02:00
Leandro Melo
6d3539962f Tooltips: Make sure tooltip is escaped (for rich text) when appending html. 2010-09-23 10:32:05 +02:00
Leandro Melo
ba876ffd48 Improve editor's tooltip. Wrapping hack should no longer be necessary.
Also some less significant improvements.
2010-09-01 12:16:38 +02:00
Leandro Melo
67d0ab3fac Remove option to extend tooltips. 2010-08-31 19:04:52 +02:00
Leandro Melo
ba12a3390e Refactor how base hover handler manipulates the help items (qt docs interaction). 2010-08-31 19:04:52 +02:00
Leandro Melo
14ffff317c Better flexibility and extensibility in text editor tooltip's internals. 2010-08-24 13:39:40 +02:00
Leandro Melo
f79187ca97 Create type hierarchy widget; Refactor code from C++ hover into a simple reusable model.
Hierarchy information removed from tooltips now.
2010-08-13 16:44:59 +02:00
Leandro Melo
ced86184fa Create a base hover handler. 2010-08-03 15:49:32 +02:00