lis 0 0 900 740 900 700 900 740 Form QWidget{ font:18px; } QRadioButton { background: transparent; } QRadioButton:checked { color: rgb(0, 170, 255); } QRadioButton::indicator:checked { image: url(:/new/icon/yuan.png); width:18px; height: 18px; } QRadioButton::indicator { width:15px; height: 15px; } QRadioButton::indicator:unchecked { width:18px; height: 18px; } 50 30 50 50 50 数据上传设置 0 0 50 手动上传 true 自动上传 Qt::Horizontal 40 20 50 50 数据传输方式 COM true Qt::Horizontal QSizePolicy::Fixed 50 20 TCP/IP false Qt::Horizontal 40 20 0 100 40 100 40 IP地址 250 40 250 40 border: 1px solid rgb(175, 175, 175) ; /* 设置1px宽的灰色实线边框 */ border-radius:4px; /* 边框圆角半径为4像素,实现倒角效果 */ padding: 2px 4px; /* 可选,设置内部文字的内边距,这里示例上下2像素,左右4像素 */ Qt::Horizontal 393 13 0 100 40 100 40 端口 250 40 250 40 border: 1px solid rgb(175, 175, 175) ; /* 设置1px宽的灰色实线边框 */ border-radius: 2px; /* 边框圆角半径为4像素,实现倒角效果 */ padding: 2px 4px; /* 可选,设置内部文字的内边距,这里示例上下2像素,左右4像素 */ Qt::Horizontal 393 13 Qt::Horizontal QSizePolicy::Fixed 150 20 92 37 92 37 QPushButton { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 255, 255, 255) , stop:1 rgba(0, 144, 209, 255) ); color: rgb(255, 255, 255); border-radius: 4px; } 确定 Qt::Horizontal 40 20 Qt::Vertical 20 40