Qt 3 Support Members for QToolBoxОписанные ниже члены класса являются частью слоя поддержки Qt 3. Они введены для поддержки старого кода в Qt 4. Мы советуем не использовать их во вновь создаваемом коде. Открытые функции
Описание функций-членовQToolBox::QToolBox ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 )Constructs a toolbox called name with parent parent and flags f. QWidget * QToolBox::currentItem () constUse widget(currentIndex()) instead. See also setCurrentItem(). QWidget * QToolBox::item ( int index ) constUse widget() instead. QIcon QToolBox::itemIconSet ( int index ) constUse itemIcon() instead. See also setItemIconSet(). QString QToolBox::itemLabel ( int index ) constUse itemText() instead. See also setItemLabel(). int QToolBox::margin () constReturns the with of the the margin around the contents of the widget. Use QWidget::getContentsMargins() instead. See also setMargin() and QWidget::getContentsMargins(). int QToolBox::removeItem ( QWidget * widget )Это перегруженная функция, предоставленная для удобства. Use toolbox->removeItem(toolbox->indexOf(widget)) instead. void QToolBox::setCurrentItem ( QWidget * widget )Use setCurrentIndex(indexOf(widget)) instead. See also currentItem(). void QToolBox::setItemIconSet ( int index, const QIcon & icon )Use setItemIcon() instead. See also itemIconSet(). void QToolBox::setItemLabel ( int index, const QString & text )Use setItemText() instead. See also itemLabel(). void QToolBox::setMargin ( int margin )Sets the width of the margin around the contents of the widget to margin. Используйте взамен QWidget::setContentsMargins(). See also margin() and QWidget::setContentsMargins().
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |