Extending Qt Creator Manual | ElidingLabel

Extending Qt Creator Manual 4.6.0

# ElidingLabel Class

(Utils::ElidingLabel)

The ElidingLabel class is a label suitable for displaying elided text. More...

Header: | #include <ElidingLabel>

- List of all members, including inherited members

## Properties

- elideMode : Qt::TextElideMode

## Public Functions

| ElidingLabel(QWidget *parent = 0)
| ElidingLabel(const QString &text, QWidget *parent = 0)
Qt::TextElideMode | elideMode() const
void | setElideMode(const Qt::TextElideMode &elideMode)

## Protected Functions

void | paintEvent(QPaintEvent *event)

## 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.

### `[protected]` void ElidingLabel::paintEvent(QPaintEvent *event)