first commit

This commit is contained in:
2026-01-26 22:26:19 +03:00
commit 31fccd85f2
95 changed files with 115400 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
#ifndef FCOLORSETTING_H
#define FCOLORSETTING_H
#include "qspinbox.h"
#include <QWidget>
#include <QComboBox>
namespace Ui {
class FColorSetting;
}
class FColorSetting : public QWidget
{
Q_OBJECT
public:
explicit FColorSetting(QWidget *parent = nullptr);
~FColorSetting();
QComboBox *cbBlockColor;
QComboBox *cbBorderColor;
QComboBox *cbBackgroundColor;
QSpinBox *sbBorderSize;
QSpinBox *sbPadding;
QSlider *hsBlockTransparant;
QString hexToColorName(const QString &hexColor);
private:
Ui::FColorSetting *ui;
void setupColorComboBox(QComboBox* comboBox);
void setDefaultColor(QComboBox* comboBox, const QString& colorName);
};
#endif // FCOLORSETTING_H