version: sunnypilot v2026.002.000 (staging) date: 2026-07-21T07:44:02 master commit: 2c334ede443d7391d27575af8c854a095ba702a8
13 lines
259 B
C++
13 lines
259 B
C++
#pragma once
|
|
|
|
#include <QLabel>
|
|
|
|
class TipLabel : public QLabel {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
TipLabel(QWidget *parent = nullptr);
|
|
void showText(const QPoint &pt, const QString &sec, QWidget *w, const QRect &rect);
|
|
void paintEvent(QPaintEvent *ev) override;
|
|
};
|