nodeparam: allowed for dynamic nodeparam property change to affect UI widgets
immediately
This commit is contained in:
@@ -232,6 +232,10 @@ public:
|
||||
* - `min` - For any numeral type represented with a slider, prevents values going BELOW this number
|
||||
* - `max` - For any numeral type represented with a slider, prevents values going ABOVE this number
|
||||
* - `view` - For any numeral type represented with a slider, shows number either as `db`, `percent`, or `normal`
|
||||
* - `disablex` - For kVec2, kVec3, kVec4 and kColor types, disables the first/X/R UI widget
|
||||
* - `disabley` - For kVec2, kVec3, kVec4 and kColor types, disables the second/Y/G UI widget
|
||||
* - `disablez` - For kVec3, kVec4 and kColor types, disables the third/Z/B UI widget
|
||||
* - `disablew` - For kVec4 and kColor types, disables the fourth/W/A UI widget
|
||||
*/
|
||||
void set_property(const QString& key, const QVariant& value);
|
||||
|
||||
@@ -245,6 +249,11 @@ public:
|
||||
*/
|
||||
bool has_property(const QString& key) const;
|
||||
|
||||
/**
|
||||
* @brief Get properties hashmap (useful for iterating)
|
||||
*/
|
||||
const QHash<QString, QVariant>& properties() const;
|
||||
|
||||
QVector<QVariant> split_normal_value_into_track_values(const QVariant &value) const;
|
||||
|
||||
QVariant combine_track_values_into_normal_value(const QVector<QVariant>& split) const;
|
||||
|
||||
Reference in New Issue
Block a user