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

17 lines
289 B
C++
Raw Normal View History

2017-10-27 12:35:11 +08:00
#include "mainwindow.h"
2017-10-28 17:28:09 +08:00
#include <qqtcustomspeedmeter.h>
2017-10-28 15:35:58 +08:00
MainWindow::MainWindow(QWidget* parent) :
2017-10-28 17:36:32 +08:00
QDialog(parent)
2017-10-27 12:35:11 +08:00
{
2017-10-28 17:36:32 +08:00
QQtCustomSpeedMeter* w0 = new QQtCustomSpeedMeter(this);
w0->setMinValue(0);
w0->setMaxValue(100);
w0->setValue(80);
2017-10-27 12:35:11 +08:00
}
MainWindow::~MainWindow()
{
}