Debian Codegraph @

src/librssguard/gui/reusable/squeezelabel.h

raw symbols SCIP
1 // For license of this file, see <project-root-folder>/LICENSE.md.
2
3 #ifndef SQUEEZELABEL_H
4 #define SQUEEZELABEL_H
5
6 #include <QLabel>
7
8 class SqueezeLabel : public QLabel {
9 Q_OBJECT
10
11 public:
12 explicit SqueezeLabel(QWidget* parent = nullptr);
13
14 protected:
15 void paintEvent(QPaintEvent* event);
16
17 private:
18 QString m_squeezedTextCache;
19 };
20
21 #endif // SQUEEZELABEL_H