First commit

This commit is contained in:
spiros
2024-05-29 03:49:25 +03:00
parent 550b26a41e
commit b36b55f575
10 changed files with 916 additions and 0 deletions

23
custombutton.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef CUSTOMBUTTON_H
#define CUSTOMBUTTON_H
#include <QPushButton>
#include <QPainter>
class CustomButton : public QPushButton {
Q_OBJECT
public:
CustomButton(const QString &text1, const QString &text2, const QString &text3, const QColor &lineColor, QWidget *parent = nullptr);
protected:
void paintEvent(QPaintEvent *event) override;
private:
QString text1;
QString text2;
QString text3;
QColor lineColor;
};
#endif