1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
LibQQt/examples/qqtframe3/mainwindow.cpp
2017-10-28 17:36:32 +08:00

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()
{
}