Qt Code:
QToolButton button ; button.setFocusPolicy( Qt::ClickFocus ) ; // explicitly set widget's focus policy : " the widget accepts focus by clicking. ". Look at the QWidget::setFocusPolicy function descriptionTo copy to clipboard, switch view to plain text mode





Reply With Quote

Bookmarks