Initial commit of BudgetPro

This commit is contained in:
Javi
2026-05-24 23:21:33 +02:00
commit f3096faee6
575 changed files with 90288 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef COLORSLIDER_H
#define COLORSLIDER_H
#include <QSlider>
#include <QPaintEvent>
class ColorSlider : public QSlider {
Q_OBJECT
public:
ColorSlider(QWidget* parent = 0);
~ColorSlider();
//h∈(0, 360), s∈(0, 1), v∈(0, 1)
QColor getColor(qreal h, qreal s, qreal v);
protected:
void paintEvent(QPaintEvent *ev);
private:
int m_value;
};
#endif // COLORSLIDER_H