Falkon
Develop
Cross-platform Qt-based web browser
squeezelabelv1.h
Go to the documentation of this file.
1
29
#ifndef SQUEEZELABELV1_H
30
#define SQUEEZELABELV1_H
31
32
#include "
qzcommon.h
"
33
34
#include <QLabel>
35
36
/*
37
A label that will squeeze the set text to fit within the size of the
38
widget. The text will be elided in the middle.
39
*/
40
class
FALKON_EXPORT
SqueezeLabelV1
:
public
QLabel
41
{
42
Q_OBJECT
43
44
public
:
45
SqueezeLabelV1
(QWidget* parent =
nullptr
);
46
47
protected
:
48
void
paintEvent(QPaintEvent* event)
override
;
49
50
private
:
51
QString m_SqueezedTextCache;
52
};
53
54
#endif
// SQUEEZELABELV1_H
SqueezeLabelV1
Definition:
squeezelabelv1.h:41
qzcommon.h
FALKON_EXPORT
#define FALKON_EXPORT
Definition:
qzcommon.h:28
src
lib
3rdparty
squeezelabelv1.h
Generated by
1.9.3