Class: QgsLayoutGuideProxyModel¶
-
class
qgis.core.
QgsLayoutGuideProxyModel
(parent: QObject, orientation: Qt.Orientation, page: int)¶ Bases:
PyQt5.QtCore.QSortFilterProxyModel
Constructor for QgsLayoutGuideProxyModel, filtered to guides of the specified
orientation
andpage
only.Page numbers begin at 0.
Filters QgsLayoutGuideCollection models to guides of a single orientation (horizontal or vertical).
New in version 3.0: Enums
Methods
Sets the current
page
for filtering matching guides.Signals
Attributes
-
beginInsertColumns
()¶
-
beginInsertRows
()¶
-
beginMoveColumns
()¶
-
beginMoveRows
()¶
-
beginRemoveColumns
()¶
-
beginRemoveRows
()¶
-
beginResetModel
()¶
-
changePersistentIndex
()¶
-
changePersistentIndexList
()¶
-
childEvent
()¶
-
connectNotify
()¶
-
createIndex
()¶
-
customEvent
()¶
-
decodeData
()¶
-
disconnectNotify
()¶
-
encodeData
()¶
-
endInsertColumns
()¶
-
endInsertRows
()¶
-
endMoveColumns
()¶
-
endMoveRows
()¶
-
endRemoveColumns
()¶
-
endRemoveRows
()¶
-
endResetModel
()¶
-
filterAcceptsColumn
()¶
-
filterAcceptsRow
(self, sourceRow: int, sourceParent: QModelIndex) → bool¶
-
invalidateFilter
()¶
-
isSignalConnected
()¶
-
lessThan
(self, left: QModelIndex, right: QModelIndex) → bool¶
-
persistentIndexList
()¶
-
receivers
()¶
-
resetInternalData
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setPage
(self, page: int)¶ Sets the current
page
for filtering matching guides. Page numbers begin at 0.
-
timerEvent
()¶
-