[Qt-interest] [BUG] Tooltips NOT shown on widgets in a popup window.
Mihail Naydenov
mlists at ymail.com
Fri Apr 3 14:12:32 CEST 2009
I have not tested all widgets, but so far QTextEdit, QLabel and QTooButon/PushButton
does not show tooltip, set with QWidget::setToolTip().
Only QLineEdit seams to show them.
This is actually easy to test using the examples/widgets/windowflags example from the Qt source.
If you add a tooltip to the button and/or the TestEdit
previewwndow.cpp:
....
textEdit = new QTextEdit;
textEdit->setToolTip("view the applied flags");
....
closeButton = new QPushButton(tr("&Close"));
closeButton->setToolTip("close the preview");
and than, when running the sample, the tooptips are shown, unless Popup is selected as window flag.
MihialNydenov
PS I noticed a similar bugreport on the tracker, but it reports a problem only with QToolButton, which is not the case,
other widgets are also affected.
More information about the Qt-interest-old
mailing list