TextFieldComboBox Class | Extending Qt Creator Manual

Extending Qt Creator Manual | TextFieldComboBox

Extending Qt Creator Manual 4.6.0

# TextFieldComboBox Class

(Utils::TextFieldComboBox)

The TextFieldComboBox class is a non-editable combo box for text editing purposes that plays with `QWizard::registerField` (providing a settable 'text' property). More...

Header: | #include <TextFieldComboBox>

- List of all members, including inherited members

## Properties

- indexText : QString

## Public Functions

| TextFieldComboBox(QWidget *parent = 0)
void | setItems(const QStringList &displayTexts, const QStringList &values)
void | setText(const QString &s)
QString | text() const

## Signals

void | text4Changed(const QString &)

## Detailed Description

The TextFieldComboBox class is a non-editable combo box for text editing purposes that plays with `QWizard::registerField` (providing a settable 'text' property).

Allows for a separation of values to be used for wizard fields replacement and display texts.

## Property Documentation

### indexText : QString

Access functions:

QString | text() const
void | setText(const QString &s)

## Member Function Documentation

### TextFieldComboBox::TextFieldComboBox(QWidget *parent = 0)

Default constructs an instance of TextFieldComboBox.

### void TextFieldComboBox::setItems(const QStringList &displayTexts, const QStringList &values)

### `[signal]` void TextFieldComboBox::text4Changed(const QString &)