mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
17 lines
289 B
C++
17 lines
289 B
C++
#include "mainwindow.h"
|
|
|
|
#include <qqtcustomspeedmeter.h>
|
|
|
|
MainWindow::MainWindow(QWidget* parent) :
|
|
QDialog(parent)
|
|
{
|
|
QQtCustomSpeedMeter* w0 = new QQtCustomSpeedMeter(this);
|
|
w0->setMinValue(0);
|
|
w0->setMaxValue(100);
|
|
w0->setValue(80);
|
|
}
|
|
|
|
MainWindow::~MainWindow()
|
|
{
|
|
}
|