-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
6.8.3, 6.9.3, 6.10.0
-
Visual Studio 2022, Ubuntu Linux
In Qt 6.7.3 and earlier and in Qt 5.15 and Qt 5.13, when a widget is selected with
setProperty("selected", true);
the widget & labels get highlighted with a blue background and a blue border.
See image below:
However, this highlighting no longer happens in Qt 6.8.x, 6.9.x and 6.10.0.
Code:
class UICallBoothWidget: public QWidget \{ . . . }; void UICallBoothWidget::selectionChangedUICallBoothSlot() { bool selected = m_uicall_booth.getSelected(); // set, selected = true; setProperty("selected", selected); m_ui.content_icon_panel->setProperty("selected", selected); m_ui.content_text_label->setProperty("selected", selected); }