Hello All,

I have a problem about Qt Stylesheets. I use this code piece, this is a
QLabel inside a QDialog.

ui.newGroupNameLabel->setStyleSheet("QLabel { color : black; }");

I also tried giving it a name usingQObject::setObjectName() and use an ID
Selector to refer to it. But it still occurs.

It affects whole project. I mean that affecting other widgets. All the
expand symbols change to plus sign. This QLabel is unrelated to this
widget(below).
Did anyone face with this problem?


[image: Inline image 1]


[image: Inline image 2]

Thanks in advance,

Berkay
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to