mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
UI
rename some signals add some constructors that have no color
This commit is contained in:
@@ -6,12 +6,22 @@ UI_dial::UI_dial(std::string text, std::string unit, Color fg_color, Color bg_co
|
||||
{
|
||||
}
|
||||
|
||||
UI_dial::UI_dial(std::string text, std::string unit, double min, double max, double value, QObject *parent)
|
||||
: UI_dial(text, unit, Color::Default, Color::Default, min, max, value, parent)
|
||||
{
|
||||
}
|
||||
|
||||
UI_dial::UI_dial(std::string text, Color fg_color, Color bg_color, double min, double max, double value,
|
||||
QObject *parent)
|
||||
: UI_dial(text, "", fg_color, bg_color, min, max, value, parent)
|
||||
{
|
||||
}
|
||||
|
||||
UI_dial::UI_dial(std::string text, double min, double max, double value, QObject *parent)
|
||||
: UI_dial(text, "", Color::Default, Color::Default, min, max, value, parent)
|
||||
{
|
||||
}
|
||||
|
||||
UI_dial::UI_dial(const json &j, QObject *parent) : UI_item(UI_DIAL_TYPE, parent)
|
||||
{
|
||||
from_json(j);
|
||||
|
||||
Reference in New Issue
Block a user