2022-01-04 18:11:48 +08:00
|
|
|
#ifndef LOQTITLEBAR_H
|
|
|
|
#define LOQTITLEBAR_H
|
|
|
|
|
|
|
|
#include <QPushButton>
|
|
|
|
|
2022-08-25 18:37:24 +08:00
|
|
|
class LoQTitleBar : public QWidget {
|
2022-01-04 18:11:48 +08:00
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit LoQTitleBar(QWidget *parent = nullptr);
|
|
|
|
void refreshLable();
|
|
|
|
QPushButton *bn_Minimize;
|
|
|
|
QPushButton *bn_Maximize;
|
|
|
|
QPushButton *bn_Close;
|
2022-08-25 18:37:24 +08:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual bool eventFilter(QObject *obj, QEvent *event);
|
2022-01-04 18:11:48 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LOQTITLEBAR_H
|