client move ui helpers to folder

This commit is contained in:
2026-02-14 14:31:08 +01:00
parent 82b4dbb161
commit 8c585c712b
11 changed files with 0 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef LED_H
#define LED_H
#include "QPushButton"
class Led : public QPushButton
{
Q_OBJECT
public:
explicit Led(QWidget *parent = nullptr);
explicit Led(const QString &text, QWidget *parent = nullptr);
Led(const QIcon &icon, const QString &text, QWidget *parent = nullptr);
~Led();
private:
bool is_read_only(QWidget *widget);
void set_read_only(QWidget *widget, bool read_only);
};
#endif // LED_H