[Qt-interest] Tool tip like widget

Andreas Pakulat apaku at gmx.de
Sun Apr 5 13:25:53 CEST 2009


On 05.04.09 16:06:45, Raja Sekharan wrote:
> Hi,
> I would like to show a tooltip at a particular point in the screen and
> manually close it myself. I want to place it near the text cursor of a
> QPlainTextEdit. I've tried QToolTip but it shows a tooltip on the mouse and
> disappears automatically and doesn't give any control of its position, and
> showing and hiding. Is there any other widget similar to QToolTip that gives
> more control?

Use a normal QWidget and set the needed window flags to make it appear
like a tooltip.

Andreas

-- 
You will meet an important person who will help you advance professionally.



More information about the Qt-interest-old mailing list