blob: 13edf8e704d9b524de9baf4d25227c982b7849e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include "mousestatwidget.h"
#include <QApplication>
#include <QWidget>
#include <QVBoxLayout>
int main(int argc, char **argv){
QApplication app(argc, argv);
QWidget main;
QVBoxLayout *layout = new QVBoxLayout(&main);
layout->addWidget(new MouseStatWidget(true));
layout->addWidget(new MouseStatWidget(false));
main.resize(800, 600);
main.show();
return app.exec();
}
|