Commit Graph

9 Commits

Author SHA1 Message Date
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
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
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
04e32b0049 License headers. 2010-12-17 16:03:42 +01:00
Leandro Melo
f28018ab5b Fix color tooltip crash on mac.
Reviewed-by: hjk
Reviewed-by: dt
Task-number: QTCREATORBUG-2038
2010-10-06 13:45:18 +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
Thiago Macieira
7e48b8e5be Remove one hack of the QTipLabel hack.
This code used two hacks: it created a class with
metaObject()->className() == "QTipLabel" to fool the code in Qt into
applying the style properly to this class.

But it did that by creating a class called QTipLabel. This works as
long as the class in Qt is hidden by symbol visibility. When symbol
visibility is disabled (for whatever reason), then Creator simply
crashes due to size mismatches and memory corruptions (virtual tables,
etc.)

This patch makes the class be called TextEditor::Internal::QTipLabel,
but fools moc into thinking it isn't.

A proper solution would be to simply override the meta object.

Signed-off-by: Leandro Melo <leandro.melo@nokia.com>
2010-08-31 19:16:47 +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
1530273671 Color tip for QML; Start of a bit more extensible tooltip class. 2010-08-02 14:56:55 +02:00