give the selection cards their own parts instead of label blobs

This commit is contained in:
2026-08-07 18:43:23 +02:00
parent 2289277e12
commit 075e44d295
54 changed files with 1505 additions and 533 deletions

View File

@@ -5,7 +5,8 @@
#include "SelectionContent.h"
#include "SelectionContentFactory.h"
class QLabel;
class BarRow;
class StatRow;
// The card for one selected defence station, player or enemy
// (REQ-UI-STATION-STATS-PANEL): its HP plus the combined damage, range and fire rate of
@@ -23,5 +24,8 @@ protected:
private:
entt::entity m_entity;
QLabel* m_statsLabel;
BarRow* m_hpBar;
StatRow* m_damageRow;
StatRow* m_rangeRow;
StatRow* m_fireRateRow;
};