mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-24 23:02:06 +08:00
e46c9899c1
* use horizontalSpacing
* fix chart toopl tip
old-commit-hash: d425f9d1e6
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;
|
|
};
|