qt6windows7/examples/widgets/graphicsview/chip/mainwindow.h
2023-10-29 23:33:08 +01:00

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