#ifndef _FIXBUTTON_H_
#define _FIXBUTTON_H_
#include <QPushButton>

#include "libukcc_global.h"

class LIBUKCC_EXPORT FixButton : public QPushButton
{
    Q_OBJECT
public:
    FixButton(QWidget *parent = nullptr);
    FixButton(const QString &text, QWidget *parent = nullptr);
    ~FixButton();
    void setText(const QString &text, bool saveTextFlag = true);
private:
    void paintEvent(QPaintEvent *event);

private:
    QString mStr;
};



#endif
