diff options
| author | Aotrix <[email protected]> | 2026-02-05 21:25:54 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-02-05 21:25:54 +0100 |
| commit | 7d8d2f14ab93935732c059cc4698ea7b154f7e40 (patch) | |
| tree | eb2346d9f4958e86b03de8bfb5697a73b6751c22 | |
| parent | 82d568a7b4f6408215711eb62c3fdab287f45d05 (diff) | |
add two items in the list
| -rw-r--r-- | gameView/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gameView/main.cpp b/gameView/main.cpp index 1969e3a..dcbd4d9 100644 --- a/gameView/main.cpp +++ b/gameView/main.cpp @@ -15,9 +15,11 @@ int main(int argc, char *argv[]) { QGridLayout aLayout(&aWindow); QListWidget aListWidget; + aListWidget.insertItem(0, "first card"); + aListWidget.insertItem(1, "second card"); aLayout.addWidget(&aListWidget, 0, 0); aWindow.show(); - aWindow.setWindowTitle("Heathstone simulator"); + aWindow.setWindowTitle("Hearthstone simulator"); return aApplication.exec(); } |
