CrumblePath Class | Extending Qt Creator Manual

Extending Qt Creator Manual | CrumblePath

Extending Qt Creator Manual 4.6.0

# CrumblePath Class

(Utils::CrumblePath)

- List of all members, including inherited members

## Public Functions

| CrumblePath(QWidget *parent = nullptr)
| ~CrumblePath()
QVariant | dataForIndex(int index) const
QVariant | dataForLastIndex() const
int | length() const

## Public Slots

void | addChild(const QString &title, const QVariant &data = QVariant())
virtual void | clear()
void | popElement()
void | pushElement(const QString &title, const QVariant &data = QVariant())

## Signals

void | elementClicked(const QVariant &data)

## Member Function Documentation

### CrumblePath::CrumblePath(QWidget *parent = nullptr)

Default constructs an instance of CrumblePath.

### CrumblePath::~CrumblePath()

Destroys the instance of CrumblePath.

### `[slot]` void CrumblePath::addChild(const QString &title, const QVariant &data = QVariant())

### `[virtual slot]` void CrumblePath::clear()

### QVariant CrumblePath::dataForIndex(int index) const

### QVariant CrumblePath::dataForLastIndex() const

### `[signal]` void CrumblePath::elementClicked(const QVariant &data)

### int CrumblePath::length() const

### `[slot]` void CrumblePath::popElement()

### `[slot]` void CrumblePath::pushElement(const QString &title, const QVariant &data = QVariant())