Added stylesheet, demo docs etc.
This commit is contained in:
33
bcvalue.h
33
bcvalue.h
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user