Added stylesheet, demo docs etc.

This commit is contained in:
2025-12-17 13:11:26 +01:00
parent 4c5e42fcfd
commit 08d6c593da
17 changed files with 530 additions and 160 deletions

View File

@@ -42,14 +42,15 @@ using optDouble = std::optional<double>;
struct BCValueParams
{
QString ID;
QString Default;
QString Current;
QString Enabled;
QString UnitType;
QString Min;
QString Max;
QString Factor;
QString ID;
QString Label;
QString Default;
QString Current;
QString Enabled;
QString UnitType;
QString Min;
QString Max;
QString Factor;
};
@@ -81,10 +82,11 @@ public:
optDouble min;
optDouble max;
optDouble factor;
QVariant defaultValue;
QVariant value;
static BCValue* makeValue( BCDevice::ID deviceID, const BCValueParams& params );
static BCValue makeValue(BCDevice::ID deviceID, const BCValueParams& params );
};
@@ -104,18 +106,7 @@ constexpr auto to_u(E e) noexcept {
}
*/
class BCValueShort
{
};
class BCValueLong
{
};
using BCValueList = QList<BCValue*>;
using BCValueList = QList<BCValue>;
#endif // BCRawValue_H