hello all,
what's wrong here .. ?
Qt Code:
btnOnOff->setCheckable(true); qApp->setStyleSheet("#btnOnOff{color:green}");//this has no effect qApp->setStyleSheet("QPushButton{color:green}");//this colours all QPushButtons (as excpectedTo copy to clipboard, switch view to plain text mode
I may have missed something silly. Why is the first setStyleSheet() ignored? Do I have to tell sombody about the name 'btnOnOff?
thanks
K
Bookmarks