Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Qt 3 Support Members for QComboBox

Описанные ниже члены класса являются частью слоя поддержки Qt 3. Они введены для поддержки старого кода в Qt 4. Мы советуем не использовать их во вновь создаваемом коде.

Открытые типы

Открытые функции

Сигналы


Описание типов

typedef QComboBox::Policy

Use QComboBox::InsertPolicy instead.


Описание функций-членов

QComboBox::QComboBox ( QWidget * parent, const char * name )

Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.

QComboBox::QComboBox ( bool rw, QWidget * parent, const char * name = 0 )

Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.

void QComboBox::changeItem ( const QString & text, int index )

Use setItemText() instead.

void QComboBox::changeItem ( const QPixmap & pixmap, int index )

Это перегруженная функция, предоставленная для удобства.

Use setItemIcon() instead, for example, setItemIcon(index, QIcon(pixmap)).

void QComboBox::changeItem ( const QPixmap & pixmap, const QString & text, int index )

Это перегруженная функция, предоставленная для удобства.

Use setItem() instead, for example, setItem(index, QIcon(pixmap),text).

void QComboBox::clearEdit ()

Use clearEditText() instead.

void QComboBox::clearValidator ()

Use setValidator(0) instead.

int QComboBox::currentItem () const

Use currentIndex() instead.

See also setCurrentItem().

bool QComboBox::editable () const

Use isEditable() instead.

See also setEditable().

void QComboBox::insertItem ( const QString & text, int index = -1 )

Это перегруженная функция, предоставленная для удобства.

void QComboBox::insertItem ( const QPixmap & pixmap, int index = -1 )

Это перегруженная функция, предоставленная для удобства.

Use an insertItem() function that takes a QIcon instead, for example, insertItem(index, QIcon(pixmap)).

void QComboBox::insertItem ( const QPixmap & pixmap, const QString & text, int index = -1 )

Это перегруженная функция, предоставленная для удобства.

Use an insertItem() function that takes a QIcon instead, for example, insertItem(index, QIcon(pixmap), text).

See also insertItems().

void QComboBox::insertStringList ( const QStringList & list, int index = -1 )

Use insertItems() instead.

InsertPolicy QComboBox::insertionPolicy () const

Use QComboBox::insertPolicy instead.

See also setInsertionPolicy().

QPixmap QComboBox::pixmap ( int index ) const

Use itemIcon() instead.

void QComboBox::popup ()

Use showPopup() instead.

void QComboBox::setCurrentItem ( int index )

Use setCurrentIndex(int) instead.

See also currentItem().

void QComboBox::setCurrentText ( const QString & text )

Use setItemText() instead.

See also currentText() and currentIndex().

void QComboBox::setInsertionPolicy ( InsertPolicy policy )

Use QComboBox::insertPolicy instead.

See also insertionPolicy().

QString QComboBox::text ( int index ) const

Use itemText() instead.

void QComboBox::textChanged ( const QString & text )   [signal]

Use the editTextChanged(const QString &text) signal instead.


Copyright © 2008 Trolltech Торговые марки
Qt 4.3.5