[Qt-interest] remove the focus frame of custom qpushbutton
Markus Franke
markus.franke at informatik.tu-chemnitz.de
Fri Feb 20 14:37:22 CET 2009
Hi,
Zitat von Ender EREL <erelender at yahoo.com>:
> In the QT Style Sheets documentation, there is a pseudo-state called
> :focus. If you change QPushButton:focus{} (or YourButtonClass:focus{} )
> in the style sheet, you should be able to achieve that.
don't really understand what you mean. Surely there is a pseudo-state
but this doesn't allow me to remove the focus frame. And what do you
mean by QPushButton::focus(). There is no member like this? There is
only QWidget::focusInEvent(). But this allows me to change the focus
frame neither.
Regards,
Markus
More information about the Qt-interest-old
mailing list