Class: QgsLayoutManagerProxyModel¶
-
class
qgis.core.
QgsLayoutManagerProxyModel
(parent: QObject = None)¶ Bases:
PyQt5.QtCore.QSortFilterProxyModel
Constructor for QgsLayoutManagerProxyModel.
QSortFilterProxyModel subclass for QgsLayoutManagerModel
New in version 3.8.
- Parameters
parent –
-
class
Filter
¶ Bases:
int
-
FilterPrintLayouts
= 2¶
-
FilterReports
= 4¶
-
class
Filters
¶ Bases:
sip.wrapper
QgsLayoutManagerProxyModel.Filters(Union[QgsLayoutManagerProxyModel.Filters, QgsLayoutManagerProxyModel.Filter]) QgsLayoutManagerProxyModel.Filters(QgsLayoutManagerProxyModel.Filters)
-
baseClass
¶ alias of
QgsLayoutManagerProxyModel
-
-
QgsLayoutManagerProxyModel.beginInsertColumns(self, QModelIndex, int, int)
-
QgsLayoutManagerProxyModel.beginInsertRows(self, QModelIndex, int, int)
-
QgsLayoutManagerProxyModel.beginMoveColumns(self, QModelIndex, int, int, QModelIndex, int) -> bool
-
QgsLayoutManagerProxyModel.beginMoveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool
-
QgsLayoutManagerProxyModel.beginRemoveColumns(self, QModelIndex, int, int)
-
QgsLayoutManagerProxyModel.beginRemoveRows(self, QModelIndex, int, int)
-
beginResetModel
(self)¶
-
QgsLayoutManagerProxyModel.changePersistentIndex(self, QModelIndex, QModelIndex)
-
changePersistentIndexList
(self, Iterable[QModelIndex], Iterable[QModelIndex])¶
-
childEvent
(self, QChildEvent)¶
-
connectNotify
(self, QMetaMethod)¶
-
QgsLayoutManagerProxyModel.createIndex(self, int, int, object: object = 0) -> QModelIndex
-
customEvent
(self, QEvent)¶
-
QgsLayoutManagerProxyModel.decodeData(self, int, int, QModelIndex, QDataStream) -> bool
-
disconnectNotify
(self, QMetaMethod)¶
-
encodeData
(self, Iterable[QModelIndex], QDataStream)¶
-
endInsertColumns
(self)¶
-
endInsertRows
(self)¶
-
endMoveColumns
(self)¶
-
endMoveRows
(self)¶
-
endRemoveColumns
(self)¶
-
endRemoveRows
(self)¶
-
endResetModel
(self)¶
-
filterAcceptsColumn
(self, int, QModelIndex) → bool¶
-
filterAcceptsRow
(self, sourceRow: int, sourceParent: QModelIndex) → bool¶ - Parameters
sourceRow (int) –
sourceParent (QModelIndex) –
- Return type
bool
-
filterString
(self) → str¶ Returns the current filter string, if set.
See also
New in version 3.12.
- Return type
str
-
filters
(self) → QgsLayoutManagerProxyModel.Filters¶ Returns the current filters used for filtering available layouts.
See also
- Return type
-
invalidateFilter
(self)¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
lessThan
(self, left: QModelIndex, right: QModelIndex) → bool¶ - Parameters
left (QModelIndex) –
right (QModelIndex) –
- Return type
bool
-
persistentIndexList
(self) → List[QModelIndex]¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
resetInternalData
(self)¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setFilterString
(self, filter: str)¶ Sets a
filter
string, such that only layouts with names containing the specified string will be shown.See also
New in version 3.12.
- Parameters
filter (str) –
-
setFilters
(self, filters: Union[QgsLayoutManagerProxyModel.Filters, QgsLayoutManagerProxyModel.Filter])¶ Sets the current
filters
used for filtering available layouts.See also
- Parameters
filters (Union[QgsLayoutManagerProxyModel.Filters) –
-
timerEvent
(self, QTimerEvent)¶