Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.6.3, 4.7.0
-
None
Description
When having a label that contains a link then
- it takes two tabs to get the link to appear to have focus
- it is not possible to Shift+Tab backwards once the label is entered.
The following example demonstrates the problem:
#include <QtGui> int main(int argc, char** argv) { QApplication app(argc, argv); QWidget wid; QLabel label("some text", &wid); QLineEdit edit(&wid); QLabel linkLabel("<a href=\"TEMP_STRING\"><span style=\"text-decoration: underline; color:#0000ff;\">Click Me!</span></a>", &wid); linkLabel.setTextInteractionFlags(Qt::TextBrowserInteraction); QVBoxLayout layout(&wid); layout.addWidget(&label); layout.addWidget(&edit); layout.addWidget(&linkLabel); wid.show(); return app.exec(); }