Extending Qt Creator Manual | TextFieldCheckBox

Extending Qt Creator Manual 4.6.2

# TextFieldCheckBox Class

(Utils::TextFieldCheckBox)

The TextFieldCheckBox class is a aheckbox that plays with `QWizard::registerField`. More...

Header: | #include <TextFieldCheckBox>

- List of all members, including inherited members

## Properties

- compareText : QString
- falseText : QString
- trueText : QString

## Public Functions

| TextFieldCheckBox(const QString &text, QWidget *parent = 0)
QString | falseText() const
void | setFalseText(const QString &t)
void | setText(const QString &s)
void | setTrueText(const QString &t)
QString | text() const
QString | trueText() const

## Signals

void | textChanged(const QString &)

## Detailed Description

The TextFieldCheckBox class is a aheckbox that plays with `QWizard::registerField`.

Provides a settable 'text' property containing predefined strings for `true` and `false`.

## Property Documentation

### compareText : QString

Access functions:

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

### falseText : QString

Access functions:

QString | falseText() const
void | setFalseText(const QString &t)

### trueText : QString

Access functions:

QString | trueText() const
void | setTrueText(const QString &t)

## Member Function Documentation

### TextFieldCheckBox::TextFieldCheckBox(const QString &text, QWidget *parent = 0)

Default constructs an instance of TextFieldCheckBox.

### `[signal]` void TextFieldCheckBox::textChanged(const QString &)