20 lines
556 B
C++
20 lines
556 B
C++
#include "MainWindow.h"
|
|
#include "MachineController.h"
|
|
#include <QLabel>
|
|
#include <QVBoxLayout>
|
|
|
|
MainWindow::MainWindow(QWidget *parent)
|
|
: QMainWindow(parent)
|
|
{
|
|
QWidget *central = new QWidget(this);
|
|
auto *layout = new QVBoxLayout(central);
|
|
auto *label = new QLabel("SIC/XE Simulator — GUI stub", central);
|
|
label->setAlignment(Qt::AlignCenter);
|
|
layout->addWidget(label);
|
|
setCentralWidget(central);
|
|
|
|
m_controller = new MachineController(this);
|
|
setWindowTitle("SIC/XE Simulator");
|
|
}
|
|
|
|
MainWindow::~MainWindow() = default;
|