Add MataAvistas project (BudgetPro) as regular files

This commit is contained in:
Javier
2026-06-04 15:59:46 +02:00
parent 7643acf109
commit dccaa63bcc
644 changed files with 104937 additions and 1 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