one of the QPushButton in QDialog is always Highlighted
General and Desktop
1
Posts
1
Posters
417
Views
1
Watching
-
Hello,
i have 20 Qpushbuttons. i tried QPushButton::setDefault(false) and QPushButton::setAutoDefault(false) in every button and even together but in the group button the first Qpushbutton is always highlighted how to fix this.
i try ui->pushButton35->setFocusPolicy(Qt::NoFocus);
i try ui->pushButton35->setFocus();
When the parent, grandparent appear, the first pushbutton is hightlightedThis is not presentable :> How to resolve