Qt:Документация 4.3.2/qcombobox-qt3
Материал из Wiki.crossplatform.ru
Внимание: Актуальная версия перевода документации находится здесь |
__NOTOC__
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции |
[править] Qt 3 Support Members for QComboBox
The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
[править] Открытые типы
- typedef Policy
[править] Открытые функции
- QComboBox ( QWidget * parent, const char * name )
- QComboBox ( bool rw, QWidget * parent, const char * name = 0 )
- void changeItem ( const QString & text, int index )
- void changeItem ( const QPixmap & pixmap, int index )
- void changeItem ( const QPixmap & pixmap, const QString & text, int index )
- void clearEdit ()
- void clearValidator ()
- int currentItem () const
- bool editable () const
- void insertItem ( const QString & text, int index = -1 )
- void insertItem ( const QPixmap & pixmap, int index = -1 )
- void insertItem ( const QPixmap & pixmap, const QString & text, int index = -1 )
- void insertStringList ( const QStringList & list, int index = -1 )
- InsertPolicy insertionPolicy () const
- QPixmap pixmap ( int index ) const
- void popup ()
- void setCurrentItem ( int index )
- void setCurrentText ( const QString & text )
- void setInsertionPolicy ( InsertPolicy policy )
- QString text ( int index ) const
- 60 открытых функций унаследованных от QWidget
- 8 открытых функций унаследованных от QObject
- 8 открытых функций унаследованных от QPaintDevice
[править] Сигналы
- void textChanged ( const QString & text )
[править] Описание типов членов
[править] 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 )
This is an overloaded member function, provided for convenience.
Use setItemIcon() instead, for example, setItemIcon(index, QIcon(pixmap)).
[править] void QComboBox::changeItem ( const QPixmap & pixmap, const QString & text, int index )
This is an overloaded member function, provided for convenience.
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 )
This is an overloaded member function, provided for convenience.
[править] void QComboBox::insertItem ( const QPixmap & pixmap, int index = -1 )
This is an overloaded member function, provided for convenience.
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 )
This is an overloaded member function, provided for convenience.
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 © 2007 Trolltech | Trademarks | Qt 4.3.2
|