closes #1: Favorite buttons has been extended with category buttons.

This commit is contained in:
2023-05-17 21:37:15 +02:00
parent 5b5f31f64d
commit 2597f79d2d
33 changed files with 596 additions and 106 deletions
+9
View File
@@ -7,6 +7,7 @@ namespace qx {
t.setName("CommodityTypeData");
t.id(&CommodityTypeData::m_id, "id");
t.data(&CommodityTypeData::m_name, "name");
t.data(&CommodityTypeData::m_color, "color");
}
}
@@ -47,4 +48,12 @@ QString CommodityTypeData::toString()
return this->name();
}
QString CommodityTypeData::color() const {
return m_color;
}
void CommodityTypeData::setColor(const QString& color) {
m_color = color;
}