ui->groupBox->setStyleSheet("QGroupBox { border: 1px solid gray;" "border-radius: 3px;" "margin-top: 1ex; }");
QGroupBox::title { border: 0px outset gray; border-radius: 6px; background-color: rgba(255, 255, 255, 140); subcontrol-origin: margin; color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 #111111, stop: 0.7 #111111, stop: 1 #888888); subcontrol-position: top left; padding-top: 1px; padding-left: 14px; padding-right: 10px; padding-bottom: 0px; //или одной //padding: 1px 18px 1px 13px;})