mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 14:11:12 +01:00
Move to Qt
Everything seems to be working Only timer is not moved over
This commit is contained in:
+4
-3
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user