ElidingLabel Class
(Utils::ElidingLabel)The ElidingLabel class is a label suitable for displaying elided text. More...
| Header: | #include <ElidingLabel> |
| Inherits: | QLabel |
Properties
- elideMode : Qt::TextElideMode
- 12 properties inherited from QLabel
- 6 properties inherited from QFrame
- 58 properties inherited from QWidget
Public Functions
| ElidingLabel(QWidget *parent = 0) | |
| ElidingLabel(const QString &text, QWidget *parent = 0) | |
| Qt::TextElideMode | elideMode() const |
| void | setElideMode(const Qt::TextElideMode &elideMode) |
- 29 public functions inherited from QLabel
- 14 public functions inherited from QFrame
- 213 public functions inherited from QWidget
Reimplemented Protected Functions
| virtual void | paintEvent(QPaintEvent *event) |
- 11 protected functions inherited from QLabel
- 4 protected functions inherited from QFrame
- 35 protected functions inherited from QWidget
Additional Inherited Members
- 7 public slots inherited from QLabel
- 19 public slots inherited from QWidget
- 2 signals inherited from QLabel
- 3 signals inherited from QWidget
- 5 static public members inherited from QWidget
- 11 protected functions inherited from QLabel
- 4 protected functions inherited from QFrame
- 35 protected functions inherited from QWidget
- 1 protected slot inherited from QWidget
Detailed Description
The ElidingLabel class is a label suitable for displaying elided text.
Property Documentation
elideMode : Qt::TextElideMode
Access functions:
| Qt::TextElideMode | elideMode() const |
| void | setElideMode(const Qt::TextElideMode &elideMode) |
Member Function Documentation
ElidingLabel::ElidingLabel(QWidget *parent = 0)
Default constructs an instance of ElidingLabel.
ElidingLabel::ElidingLabel(const QString &text, QWidget *parent = 0)
Default constructs an instance of ElidingLabel.