C++ (Qt)QLabel* label = new QLabel("some text");label->setStyleSheet("QLabel { border: 1px dotted red; }");