Client doxygen

Add documentation to the client
This commit is contained in:
2026-02-14 14:32:36 +01:00
parent 758958fd3a
commit 7a74847f45
5 changed files with 448 additions and 30 deletions
+40
View File
@@ -9,10 +9,50 @@
#include <qwt_slider.h>
#include <qwt_thermo.h>
/**
* @brief Helper to create a dial needle
*
* @param dial The dial to create the needle for
*/
void create_dial_needle(QwtDial *dial);
/**
* @brief Set the widget color object
*
* @param widget The widget to set the color for
* @param color The color to set
* @param bg The background color to set
*/
void set_widget_color(QWidget *widget, QColor color, QColor bg);
/**
* @brief Set the widget color object
*
* @param widget The widget to set the color for
* @param color The color to set
* @param bg The background color to set
*/
void set_widget_color(QWidget *widget, QString color, QString bg);
/**
* @brief Get the widget background color
*
* @param widget The widget to get the background color for
* @return QColor The background color
*/
QColor widget_bg_color(QWidget *widget);
/**
* @brief Get the widget color
*
* @param widget The widget to get the color for
* @return QColor The color
*/
QColor widget_color(QWidget *widget);
/**
* @brief Reset the widget color to default
*
* @param widget The widget to reset the color for
*/
void reset_widget_color(QWidget *widget);