11 lines
247 B
C
11 lines
247 B
C
![]() |
#pragma once
|
||
|
|
||
|
#include <QLabel>
|
||
|
|
||
|
class TipLabel : public QLabel {
|
||
|
public:
|
||
|
TipLabel(QWidget *parent = nullptr);
|
||
|
void showText(const QPoint &pt, const QString &sec, QWidget *w, const QRect &rect);
|
||
|
void paintEvent(QPaintEvent *ev) override;
|
||
|
};
|