philk
26th November 2013, 15:11
I would like to select all QLabel which do not have the "error" class property.
This would select all QLabel which have the "error" in their "class" property.
QLabel[class~="error"] {
}
However, I would like to have the reverse way, all items *not* having this class. In CSS3 we have "not(x)" but its not available in Qt 5.x Is there a way to do that?
This would select all QLabel which have the "error" in their "class" property.
QLabel[class~="error"] {
}
However, I would like to have the reverse way, all items *not* having this class. In CSS3 we have "not(x)" but its not available in Qt 5.x Is there a way to do that?