qreal maximumItemOffset() const;
+ int maximumVisibleItems() const;
+
void setVisibleRoles(const QList<QByteArray>& roles);
QList<QByteArray> visibleRoles() const;
/** @reimp */
virtual void setGeometry(const QRectF& rect);
+ /**
+ * @return The page step which should be used by the vertical scroll bar.
+ * This is the height of the view except for the header widget.
+ */
+ qreal verticalPageStep() const;
+
/**
* @return Index of the item that is below the point \a pos.
* The position is relative to the upper right of
void roleEditingFinished(int index, const QByteArray& role, const QVariant& value);
protected:
+ virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value);
void setItemSize(const QSizeF& size);
void setStyleOption(const KItemListStyleOption& option);
virtual void slotItemsMoved(const KItemRange& itemRange, const QList<int>& movedToIndexes);
virtual void slotItemsChanged(const KItemRangeList& itemRanges,
const QSet<QByteArray>& roles);
+ virtual void slotGroupsChanged();
virtual void slotGroupedSortingChanged(bool current);
virtual void slotSortOrderChanged(Qt::SortOrder current, Qt::SortOrder previous);