From 82d568a7b4f6408215711eb62c3fdab287f45d05 Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Wed, 4 Feb 2026 23:10:15 +0100 Subject: added list of items --- gameView/main.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gameView/main.cpp b/gameView/main.cpp index 2553e08..1969e3a 100644 --- a/gameView/main.cpp +++ b/gameView/main.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -12,14 +13,11 @@ int main(int argc, char *argv[]) { QWidget aWindow; aWindow.resize(1200, 1000); - QPushButton aButton("Click"); - QGridLayout aLayout(&aWindow); - aLayout.addWidget(&aButton, 0, 0, Qt::AlignBottom); - QVBoxLayout aVerticalLayout; - aLayout.addLayout(&aVerticalLayout, 0, 1, 1, 3); + QListWidget aListWidget; + aLayout.addWidget(&aListWidget, 0, 0); aWindow.show(); - aWindow.setWindowTitle(QApplication::translate("toplevel", "Top-level widget")); + aWindow.setWindowTitle("Heathstone simulator"); return aApplication.exec(); } -- cgit v1.2.3