mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-12-02 00:32:24 +08:00
30 lines
520 B
C++
30 lines
520 B
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
class QGraphicsScene;
|
|
class QSplitter;
|
|
QT_END_NAMESPACE
|
|
|
|
class MainWindow : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
MainWindow(QWidget *parent = nullptr);
|
|
|
|
private:
|
|
void setupMatrix();
|
|
void populateScene();
|
|
|
|
QGraphicsScene *scene;
|
|
QSplitter *h1Splitter;
|
|
QSplitter *h2Splitter;
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|