summaryrefslogtreecommitdiffstats
path: root/tests/manual/qtabletevent/event_compression/main.cpp
blob: fe805cab4a0b2b4b3ad212143efdeb1a481ec4d4 (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 WITH Qt-GPL-exception-1.0

#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();
}