CounterVarSet
0
0
800
550
Form
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;
}
QComboBox {
border: 1px solid #000000;
border-radius: 3px;
font-size: 14px;
width: 180px;
height: 90px;
padding-left: 10px; /* 文字左边距,避免紧贴边缘 */
}
/* 下拉箭头区域 */
QComboBox::drop-down {
border: 1px solid #333333;
border-radius: 3px;
width: 30px; /* 箭头区域宽度 */
background-color: #5396C1;
}
/* 下拉箭头图标 */
QComboBox::down-arrow {
image: url(image/down_white.png);
width: 16px; /* 图标显示宽度 */
height: 16px; /* 图标显示高度 */
}
/* 悬停状态 */
QComboBox:hover {
background-color: #efefef;
}
// 下拉框
QComboBox QAbstractItemView {
border: 1px solid #000000;
border-radius: 3px;
font-size: 14px;
selection-background-color: #5396C1; /* 选中项背景色(稍深) */
selection-color: #ffffff;
}
QSpinBox::up-button {
width: 16px; /* 图标显示宽度 */
height: 16px; /* 图标显示高度 */
border: 1px solid #333333;
border-radius: 3px;
background-color: #5396C1;
}
QSpinBox::up-arrow {
image: url(image/up_white.png);
}
QSpinBox::down-button {
width: 16px; /* 图标显示宽度 */
height: 16px; /* 图标显示高度 */
border: 1px solid #333333;
border-radius: 3px;
background-color: #5396C1;
}
QSpinBox::down-arrow {
image: url(image/down_white.png);
}
10
10
771
461
100
50
Qt::StrongFocus
0
整体设置
50
20
331
151
0
0
变量类型
12
61
100
50
100
50
100
50
计数器1
true
170
60
100
50
100
50
100
50
计数器2
20
200
100
40
100
40
100
40
Qt::LeftToRight
数字个数:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
130
200
100
40
100
40
100
40
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
410
55
121
31
字符间距
410
90
91
31
QAbstractSpinBox::NoButtons
10
2
510
90
31
31
←
550
90
31
31
→
QSpinBox::down-button {
width: 23px; /* 图标显示宽度 */
height: 23px; /* 图标显示高度 */
border: 1px solid #333333;
border-radius: 3px;
background-color: #5396C1;
}
QSpinBox::down-arrow {
image: url(image/down_white.png);
height: 18px;
width: 18px;
}
QSpinBox::up-button {
width: 23px; /* 图标显示宽度 */
height: 23px; /* 图标显示高度 */
border: 1px solid #333333;
border-radius: 3px;
background-color: #5396C1;
}
QSpinBox::up-arrow {
image: url(image/up_white.png);
height: 18px;
width: 18px;
}
QSpinBox {
border: 1px solid #333333;
}
QCheckBox {
color: #000000;
}
QCheckBox::indicator {
width: 15px;
height: 15px;
border: 1px solid #96A0A9;
border-radius: 8px;
background-color: #ffffff;
}
QCheckBox::indicator:checked {
background-color: #95B2D4;
border-color: #95B2D4;
}
计数器1
581
82
100
50
100
50
100
50
1
65535
369
82
100
50
100
50
100
50
99999999
9999
263
197
100
50
0
0
100
50
100
50
可变长度
369
197
100
50
100
50
100
50
false
369
139
100
50
100
50
100
50
0
99999999
1
475
82
100
50
0
0
100
50
100
50
Qt::LeftToRight
重复数:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
51
197
100
50
100
50
100
50
小数点位数
157
82
100
50
100
50
100
50
9999999
1
263
82
100
50
0
0
100
50
100
50
Qt::LeftToRight
结束值:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
475
139
100
50
100
50
100
50
Qt::AlignCenter
51
82
100
50
100
50
100
50
Qt::LeftToRight
起始值:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
157
139
100
50
100
50
100
50
Qt::ImhDigitsOnly
-49999999
49999999
1
156
200
100
50
0
0
100
50
100
50
3
270
139
100
50
100
50
100
50
Qt::LeftToRight
-
Qt::Horizontal
40
20
-
0
0
0
0
100
100
Qt::LeftToRight
false
当前值:
56
139
100
50
100
50
100
50
0
0
0
0
-
Qt::Horizontal
40
20
-
0
0
0
0
16777215
16777215
QRadioButton::indicator {
width: 25px;
height: 25px;
}
增量值:
计数器2
369
82
100
50
0
0
100
50
100
50
9999999
9999
475
82
100
50
0
0
100
50
100
50
Qt::LeftToRight
重复数:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
581
82
100
50
0
0
100
50
100
50
1
65535
157
139
100
50
0
0
100
50
100
50
-49999999
49999999
1
true
475
139
100
50
0
0
100
50
100
50
11
Qt::LeftToRight
Qt::AlignCenter
51
82
100
50
0
0
100
50
100
50
Qt::LeftToRight
起始值:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
157
82
100
50
0
0
100
50
100
50
999999
1
263
82
100
50
0
0
100
50
100
50
Qt::LeftToRight
结束值:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
false
369
139
100
50
0
0
100
50
100
50
0
999999999
1
270
139
100
50
100
50
100
50
1
1
1
1
-
Qt::Horizontal
40
20
-
0
0
0
0
100
50
QRadioButton::indicator {
width: 25px;
height: 25px;
}
当前值:
56
139
100
50
0
0
0
0
-
Qt::Horizontal
40
20
-
0
0
0
0
100
50
QRadioButton::indicator {
width: 25px;
height: 25px;
}
增量值:
额外设置
false
280
130
101
31
QAbstractSpinBox::NoButtons
false
390
130
31
31
←
false
430
130
31
31
→
40
30
661
41
如果预览与打印显示不正确,调整此设置可能恢复。
280
90
171
31
自定义字符宽度
520
490
101
50
✓
640
490
101
50
✕
pushButton
clicked()
charWidthSpinBox
stepDown()
430
175
336
176
pushButton_2
clicked()
charWidthSpinBox
stepUp()
472
175
336
174
pushButton_3
clicked()
letterSpaceSpinBox
stepDown()
538
138
477
138
pushButton_4
clicked()
letterSpaceSpinBox
stepUp()
575
140
472
141
enbCharWidthSpinBox
clicked(bool)
charWidthSpinBox
setEnabled(bool)
337
135
347
177
enbCharWidthSpinBox
clicked(bool)
pushButton
setEnabled(bool)
392
134
429
167
enbCharWidthSpinBox
clicked(bool)
pushButton_2
setEnabled(bool)
409
130
461
183