1. set slider label font.

This commit is contained in:
shouchih_chen 2024-10-29 15:08:24 +08:00
parent b6dad9cc18
commit 8b85630a84
2 changed files with 5 additions and 2 deletions

View File

@ -84,6 +84,8 @@ CustomLogo::CustomLogo(QFont* font, QDialog* parent) :
ui->color_label->setFont(_f);
ui->color_btn->setFont(_f);
ui->double_checkbox->setFont(_f);
ui->hor_label->setFont(_f);
ui->vel_label->setFont(_f);
@ -399,6 +401,7 @@ void CustomLogo::onSliderValueChanged(int value)
void CustomLogo::onCheckboxClicked(bool click)
{
(void)click;
foreach(QGraphicsItem * item, demo_scene.items()) {
QVariant v = item->data(KEY_DEMO_BG_ITEM);
if (v.toInt() == KEY_DEMO_BG_ITEM) {

View File

@ -120,7 +120,7 @@
</property>
<layout class="QFormLayout" name="formLayout">
<item row="1" column="0">
<widget class="QLabel" name="label">
<widget class="QLabel" name="hor_label">
<property name="text">
<string>水平</string>
</property>
@ -156,7 +156,7 @@
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="vel_label">
<property name="text">
<string>垂直</string>
</property>