Qt:Документация 4.3.2/qabstractitemview-obsolete

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

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

Image:trolltech-logo.png

Содержание

[править] Obsolete Members for QAbstractItemView

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.



[править] Защищенные функции

  • 1 защищенная функция унаследованна от QWidget

[править] Описание функций-членов

[править]
int QAbstractItemView::horizontalStepsPerItem () const [protected]

Returns the horizontal scroll bar's steps per item.

See also setHorizontalStepsPerItem() and verticalStepsPerItem().

[править]
void QAbstractItemView::setHorizontalStepsPerItem ( int steps ) [protected]

Sets the horizontal scroll bar's steps per item to steps.

This is the number of steps used by the horizontal scroll bar to represent the width of an item.

Note that if the view has a horizontal header, the item steps will be ignored and the header section size will be used instead.

See also horizontalStepsPerItem() and setVerticalStepsPerItem().

[править]
void QAbstractItemView::setVerticalStepsPerItem ( int steps ) [protected]

Sets the vertical scroll bar's steps per item to steps.

This is the number of steps used by the vertical scroll bar to represent the height of an item.

Note that if the view has a vertical header, the item steps will be ignored and the header section size will be used instead.

See also verticalStepsPerItem() and setHorizontalStepsPerItem().

[править]
int QAbstractItemView::verticalStepsPerItem () const [protected]

Returns the vertical scroll bar's steps per item.

See also setVerticalStepsPerItem() and horizontalStepsPerItem().


Copyright © 2007 Trolltech Trademarks
Qt 4.3.2