mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
25 lines
669 B
C
25 lines
669 B
C
#ifndef HELPERS_H
|
|
#define HELPERS_H
|
|
|
|
#include <QNetworkReply>
|
|
#include <QtWidgets>
|
|
#include <qwt_color_map.h>
|
|
#include <qwt_dial.h>
|
|
#include <qwt_dial_needle.h>
|
|
#include <qwt_plot.h>
|
|
#include <qwt_plot_curve.h>
|
|
#include <qwt_series_data.h>
|
|
#include <qwt_slider.h>
|
|
#include <qwt_thermo.h>
|
|
|
|
void create_dial_needle(QwtDial *dial);
|
|
|
|
void set_widget_color(QWidget *widget, QColor color, QColor bg);
|
|
void set_widget_color(QWidget *widget, QString color, QString bg);
|
|
QColor widget_bg_color(QWidget *widget);
|
|
QColor widget_color(QWidget *widget);
|
|
void reset_widget_color(QWidget *widget);
|
|
QString network_reply_to_fix(QNetworkReply::NetworkError error);
|
|
|
|
#endif // HELPERS_H
|