rename some signals
add some constructors that have no color
This commit is contained in:
2026-02-14 14:30:57 +01:00
parent 371a465cf2
commit b0c1eca1d1
16 changed files with 52 additions and 8 deletions
+2
View File
@@ -9,8 +9,10 @@ class UI_slider : public UI_item
public:
UI_slider(std::string text, std::string unit, Color fg_color, Color bg_color, double min, double max, double value,
QObject *parent = nullptr);
UI_slider(std::string text, std::string unit, double min, double max, double value, QObject *parent = nullptr);
UI_slider(std::string text, Color fg_color, Color bg_color, double min, double max, double value,
QObject *parent = nullptr);
UI_slider(std::string text, double min, double max, double value, QObject *parent = nullptr);
UI_slider(const json &j, QObject *parent = nullptr);
void set_value(double value) override;