TextEditWidget 0 0 204 94 Form QWidget #TextEditWidget { } 0 0 0 0 0 QWidget #contentWidget { border: 1px solid rgb(67, 73, 87); background-color: rgb(58, 63, 75); } 0 1 1 1 5 Qt::FocusPolicy::StrongFocus border-radius: 0px; background-color:transparent; 0 26 16777215 26 QWidget #bottomWidget { background-color:transparent; } 0 5 0 5 0 color: rgb(255, 0, 0); font: 8pt "Microsoft YaHei UI"; background-color:transparent; 该类型已存在 Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter 5 41 21 41 21 QPushButton { color: rgb(240, 240, 240); font: 10pt; border-radius:5px; background-color: transparent; } 取消 41 21 41 21 QPushButton { color: rgb(240, 240, 240); font: 10pt; border:0px; border-radius:5px; background-color: rgb(49, 91, 125); } QPushButton:hover { background-color: rgb(65, 122, 166); } QPushButton:pressed { background-color: rgb(49, 91, 125); } 确认