DlgCanvasHeightEditor 0 0 340 226 窗口点阵设置 QPushButton#closeBtn, QPushButton#checkBtn{ background-color: #E6F7FF; border: 1px solid #87CEEB; border-radius: 4px; font-size: 24px; color: #228B22; } QPushButton#closeBtn:hover,QPushButton#checkBtn:hover{ background-color: #D1E9FF; } QPushButton#closeBtn:pressed,QPushButton#checkBtn:pressed{ background-color: #BAE7FF; } QPushButton { background-color: #5396C1; color: #ffffff; border: 1px solid #000000; border-radius: 3px; font-size: 18px; font-weight:500; width: 180px; height: 90px; } QPushButton:hover { background-color: #5396C1; } QPushButton:disabled { background-color: #7C828E; color: #606060; border-color: #808080; } 220 170 100 40 100 40 ✕ 80 80 100 170 101 40 100 40 ✓ 30 70 221 31 QAbstractSpinBox::NoButtons 24 32 32 30 30 211 31 点阵高度 Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft checkBtn clicked() DlgCanvasHeightEditor accept() 141 196 141 281 closeBtn clicked() DlgCanvasHeightEditor reject() 275 189 297 304