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
+53
View File
@@ -0,0 +1,53 @@
#ifndef SLIDERLABEL_H
#define SLIDERLABEL_H
#include <QLabel>
#include <QSlider>
#include <QWidget>
#include "colorslider.h"
//#include "utils/baseutils.h"
class Slider : public QLabel {
Q_OBJECT
public:
Slider(QWidget* parent);
~Slider();
void setAlphaValue(int value);
int alphaValue();
signals:
void valueChanged(int value);
private:
QSlider* m_slider;
QLabel* m_valueLabel;
};
class SliderLabel : public QLabel {
Q_OBJECT
public:
SliderLabel(QString text, DrawStatus status,
MiddleWidgetStatus widgetStatus, QWidget* parent = 0);
~SliderLabel();
void setTitle(const QString &text);
int alpha ();
void updateDrawStatus(DrawStatus status,
MiddleWidgetStatus widgetStatus);
void setAlpha(int val);
signals:
void alphaChanged(int value);
private:
QString m_text;
DrawStatus m_drawStatus;
MiddleWidgetStatus m_widgetStatus;
QLabel* m_titleLabel;
Slider* m_slider;
};
#endif // SLIDERLABEL_H