mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
Update UI
This commit is contained in:
@@ -50,20 +50,6 @@ class UI_hex_spinbox : public UI_item
|
||||
* @return double The maximum value
|
||||
*/
|
||||
double max() const;
|
||||
|
||||
/**
|
||||
* @brief Deserialize the hex spinbox from JSON
|
||||
*
|
||||
* @param j The JSON object
|
||||
*/
|
||||
void from_json(const json &j) override;
|
||||
/**
|
||||
* @brief Serialize the hex spinbox to JSON
|
||||
*
|
||||
* @param id The id of the hex spinbox
|
||||
* @return json The JSON representation of the hex spinbox
|
||||
*/
|
||||
json to_json(size_t id) const override;
|
||||
signals:
|
||||
/**
|
||||
* @brief Signal emitted when the hex spinbox value changes
|
||||
@@ -71,9 +57,4 @@ class UI_hex_spinbox : public UI_item
|
||||
* @param value The new value
|
||||
*/
|
||||
void changed(double value);
|
||||
|
||||
private:
|
||||
double m_min;
|
||||
double m_max;
|
||||
double m_value;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user