[Qt-interest] How to set all button's background except one whose x()=100?
Kermit Mei
kermit.mei at gmail.com
Wed Jul 8 04:27:04 CEST 2009
Hello,community!
I want to set all the buttons on a widget, but except the one whose x()
is always 100. How to write the .css syntax?
For example,
QPushButton[x=100] {border-image: url(:/images/key.png); }
but, now the x!=100.
I can't confirm the other buttons position at compile-time, they are
confirmed at run-time.
Any way,please?
Thanks.
More information about the Qt-interest-old
mailing list