Move to Qt

Everything seems to be working
Only timer is not moved over
This commit is contained in:
2024-09-12 16:59:54 +02:00
parent fc181726b9
commit 9eef1fc3ff
39 changed files with 399 additions and 501 deletions
+4 -3
View File
@@ -5,9 +5,10 @@
class UI_dial : public UI_item
{
Q_OBJECT
public:
UI_dial(std::string id, std::string text, Color fg_color, Color bg_color, double min, double max, double value);
UI_dial(const json &j);
UI_dial(std::string id, std::string text, Color fg_color, Color bg_color, double min, double max, double value, QObject* parrent = nullptr);
UI_dial(const json &j, QObject* parrent = nullptr);
void set_value(double value) override;
double value() const;
@@ -22,4 +23,4 @@ class UI_dial : public UI_item
double m_min;
double m_max;
double m_value;
};
};