mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-24 04:20:46 +08:00
29 lines
593 B
C++
29 lines
593 B
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QtGui/qwidget.h>
|
|
|
|
QT_FORWARD_DECLARE_CLASS(QGraphicsScene)
|
|
QT_FORWARD_DECLARE_CLASS(QGraphicsView)
|
|
QT_FORWARD_DECLARE_CLASS(QLabel)
|
|
QT_FORWARD_DECLARE_CLASS(QSlider)
|
|
QT_FORWARD_DECLARE_CLASS(QSplitter)
|
|
|
|
class MainWindow : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
MainWindow(QWidget *parent = nullptr);
|
|
|
|
private:
|
|
void setupMatrix();
|
|
void populateScene();
|
|
|
|
QGraphicsScene *scene;
|
|
};
|
|
|
|
#endif
|