1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00

add QQtProgressBar in exquisite

This commit is contained in:
tianduanrui 2017-10-26 19:27:17 +08:00
parent 02c7843c41
commit d16dcdb2e9
2 changed files with 26 additions and 1 deletions

View File

@ -121,6 +121,9 @@ QQtExquisiteForm::QQtExquisiteForm(QWidget* parent) :
ui->w53->setWaveSpeed(6);
ui->w53->setPercentStyle(QQtCustomEffectProgressBar::PercentStyle_Wave);
//ui->w60->setRange(0, 100);
//ui->w60->setValue(100);
connect(ui->hs0, SIGNAL(valueChanged(int)), ui->w01, SLOT(setValue(int)));
connect(ui->hs0, SIGNAL(valueChanged(int)), ui->w0, SLOT(setValue(int)));
connect(ui->hs0, SIGNAL(valueChanged(int)), ui->w1, SLOT(setValue(int)));
@ -137,6 +140,7 @@ QQtExquisiteForm::QQtExquisiteForm(QWidget* parent) :
connect(ui->hs0, SIGNAL(valueChanged(int)), ui->w51, SLOT(setValue(int)));
connect(ui->hs0, SIGNAL(valueChanged(int)), ui->w52, SLOT(setValue(int)));
connect(ui->hs0, SIGNAL(valueChanged(int)), ui->w53, SLOT(setValue(int)));
connect(ui->hs0, SIGNAL(valueChanged(int)), ui->w60, SLOT(setValue(int)));
connect(ui->hs0, SIGNAL(valueChanged(int)), ui->w7, SLOT(setValue(int)));
connect(ui->hs0, SIGNAL(valueChanged(int)), ui->w8, SLOT(setValue(int)));

View File

@ -17,7 +17,7 @@
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>4</number>
<number>5</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
@ -108,6 +108,21 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_6">
<attribute name="title">
<string>页</string>
</attribute>
<widget class="QQTProgressBar" name="w60" native="true">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>491</width>
<height>41</height>
</rect>
</property>
</widget>
</widget>
</widget>
</item>
<item>
@ -133,6 +148,12 @@
<header location="global">qqtcustomeffectprogressbar.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QQTProgressBar</class>
<extends>QWidget</extends>
<header location="global">qqtprogressbar.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>