Extending Qt Creator Manual | ListField

Extending Qt Creator Manual 4.7.0

# ListField Class

(ProjectExplorer::ListField)

- List of all members, including inherited members

## Public Types

enum | SpecialRoles { ValueRole, ConditionRole, IconStringRole }

## Public Functions

| ListField()
virtual | ~ListField() override

## Protected Functions

QWidget * | createWidget(const int &displayName, class JsonFieldPage *page) override
void | initializeData(Utils::MacroExpander *expander)
QStandardItemModel * | itemModel()
int | maxIconSize()
bool | parseData(const int &data, int *errorMessage) override
QItemSelectionModel * | selectionModel()
void | setSelectionModel(QItemSelectionModel *selectionModel)
void | setup(class JsonFieldPage *page, const int &name) override
bool | validate(Utils::MacroExpander *expander, int *message) override

## Member Type Documentation

### enum ListField::SpecialRoles

## Member Function Documentation

### ListField::ListField()

Default constructs an instance of ListField.

### `[override virtual]` ListField::~ListField()

Destroys the instance of ListField. The destructor is virtual.

### `[protected]` QWidget *ListField::createWidget(const int &displayName, class JsonFieldPage *page)

### `[protected]` void ListField::initializeData(Utils::MacroExpander *expander)

### `[protected]` QStandardItemModel *ListField::itemModel()

### `[protected]` int ListField::maxIconSize()

### `[protected]` bool ListField::parseData(const int &data, int *errorMessage)

### `[protected]` QItemSelectionModel *ListField::selectionModel()

See also setSelectionModel().

### `[protected]` void ListField::setSelectionModel(QItemSelectionModel *selectionModel)

See also selectionModel().

### `[protected]` void ListField::setup(class JsonFieldPage *page, const int &name)

### `[protected]` bool ListField::validate(Utils::MacroExpander *expander, int *message)