give the selection cards their own parts instead of label blobs
This commit is contained in:
@@ -12,8 +12,11 @@
|
||||
#include "SelectionContext.h"
|
||||
|
||||
struct Building;
|
||||
class BarRow;
|
||||
class QLabel;
|
||||
class QVBoxLayout;
|
||||
class SectionBox;
|
||||
class StatusPill;
|
||||
|
||||
// One card of the selection panel: the content shown for a particular kind of selection
|
||||
// (REQ-UI-SELECTION-CARD). Every content is this base plus the parts its constructor
|
||||
@@ -88,14 +91,14 @@ private:
|
||||
// Set while this card shows a construction site rather than a finished object.
|
||||
std::optional<BuildingId> m_siteId;
|
||||
|
||||
QLabel* m_symbolLabel;
|
||||
QLabel* m_nameLabel;
|
||||
QLabel* m_slotDot;
|
||||
QLabel* m_slotLabel;
|
||||
QLabel* m_symbolLabel;
|
||||
QLabel* m_nameLabel;
|
||||
StatusPill* m_statusPill;
|
||||
|
||||
QWidget* m_configurationGroup;
|
||||
QWidget* m_runtimeGroup;
|
||||
// Replaces the runtime group while this card shows a construction site; null
|
||||
// Replaces the runtime group while this card shows a construction site; both null
|
||||
// otherwise.
|
||||
QLabel* m_constructionLabel;
|
||||
SectionBox* m_constructionSection;
|
||||
BarRow* m_constructionBar;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user