mpExampleLabel
= new QLabel(tr
("Cell text example"),
this);
mpExampleLabel
->setFrameStyle
(QFrame::Box);
mpExampleLabel->setAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
mpExampleLabel->setStyleSheet("* {color: qlineargradient(spread:pad, x1:0 y1:0, x2:1 y2:0, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(255, 255, 255, 255));");
mpExampleLabel = new QLabel(tr("Cell text example"), this);
mpExampleLabel->setFrameStyle(QFrame::Box);
mpExampleLabel->setAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
mpExampleLabel->setStyleSheet("* {color: qlineargradient(spread:pad, x1:0 y1:0, x2:1 y2:0, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(255, 255, 255, 255));");
To copy to clipboard, switch view to plain text mode
Bookmarks