Obsolete Members for QAbstractItemView

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

Properties

Public Functions

(obsolete) dumpObjectInfo()
(obsolete) dumpObjectTree()
(obsolete) bool isEnabledToTLW() const
(obsolete) bool isTopLevel() const
(obsolete) QWidget *topLevelWidget() const

Protected Functions

(obsolete) int horizontalStepsPerItem() const
(obsolete) void setHorizontalStepsPerItem(int steps)
(obsolete) void setVerticalStepsPerItem(int steps)
(obsolete) int verticalStepsPerItem() const

Member Function Documentation

[protected] int QAbstractItemView::horizontalStepsPerItem() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Returns the horizontal scroll bar's steps per item.

See also setHorizontalStepsPerItem() and verticalStepsPerItem().

[protected] void QAbstractItemView::setHorizontalStepsPerItem(int steps)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

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().

[protected] void QAbstractItemView::setVerticalStepsPerItem(int steps)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

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().

[protected] int QAbstractItemView::verticalStepsPerItem() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Returns the vertical scroll bar's steps per item.

See also setVerticalStepsPerItem() and horizontalStepsPerItem().

© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.