You can set the desired UI widget's stylesheet using any valid CSS. The example below will set a QLabel's text color a border around it.
#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::Mai...