connected to gui

This commit is contained in:
zanostro 2025-11-12 19:05:16 +01:00
parent 42e884aced
commit 8a6e916876
7 changed files with 165 additions and 3 deletions

View file

@ -0,0 +1,20 @@
#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;