[Interest] CSS: How to select all QLabel which have not the class property set to a certain value

Philipp Kursawe phil.kursawe at gmail.com
Tue Nov 26 16:10:11 CET 2013


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131126/1cf73351/attachment.html>


More information about the Interest mailing list