Class: QgsDirectoryParamWidget¶
-
class
qgis.core.
QgsDirectoryParamWidget
¶ Bases:
PyQt5.QtWidgets.QTreeWidget
TODO: move to qgis_gui for QGIS 4
Methods
columnCountChanged
columnResized
currentChanged
edit(self, QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool
- param event
rowsAboutToBeRemoved
rowsInserted
rowsRemoved
scrollContentsBy
scrollDirtyRegion
selectionChanged
setViewportMargins
setViewportMargins(self, QMargins)
-
actionEvent
(self, QActionEvent)¶
-
changeEvent
(self, QEvent)¶
-
childEvent
(self, QChildEvent)¶
-
closeEditor
(self, QWidget, QAbstractItemDelegate.EndEditHint)¶
-
closeEvent
(self, QCloseEvent)¶
-
QgsDirectoryParamWidget.columnCountChanged(self, int, int)
-
columnMoved
(self)¶
-
QgsDirectoryParamWidget.columnResized(self, int, int, int)
-
commitData
(self, QWidget)¶
-
connectNotify
(self, QMetaMethod)¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
QgsDirectoryParamWidget.currentChanged(self, QModelIndex, QModelIndex)
-
customEvent
(self, QEvent)¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
dirtyRegionOffset
(self) → QPoint¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
drawBranches
(self, QPainter, QRect, QModelIndex)¶
-
drawFrame
(self, QPainter)¶
-
drawRow
(self, QPainter, QStyleOptionViewItem, QModelIndex)¶
-
drawTree
(self, QPainter, QRegion)¶
-
dropEvent
(self, QDropEvent)¶
-
dropIndicatorPosition
(self) → QAbstractItemView.DropIndicatorPosition¶
-
dropMimeData
(self, QTreeWidgetItem, int, QMimeData, Qt.DropAction) → bool¶
-
edit
(self, QModelIndex)¶ edit(self, QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool
-
editorDestroyed
(self, QObject)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
executeDelayedItemsLayout
(self)¶
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPreviousChild
(self) → bool¶
-
hideEvent
(self, QHideEvent)¶
-
horizontalOffset
(self) → int¶
-
horizontalScrollbarAction
(self, int)¶
-
horizontalScrollbarValueChanged
(self, int)¶
-
indexFromItem
(self, QTreeWidgetItem, column: int = 0) → QModelIndex¶
-
indexRowSizeHint
(self, QModelIndex) → int¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
isIndexHidden
(self, QModelIndex) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
itemFromIndex
(self, QModelIndex) → QTreeWidgetItem¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
leaveEvent
(self, QEvent)¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
mimeData
(self, Iterable[QTreeWidgetItem]) → QMimeData¶
-
mimeTypes
(self) → List[str]¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, event: QMouseEvent)¶ - Parameters
event (QMouseEvent) –
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
moveCursor
(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) → QModelIndex¶
-
moveEvent
(self, QMoveEvent)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
paintEvent
(self, QPaintEvent)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
reexpand
(self)¶
-
resizeEvent
(self, QResizeEvent)¶
-
rowHeight
(self, QModelIndex) → int¶
-
QgsDirectoryParamWidget.rowsAboutToBeRemoved(self, QModelIndex, int, int)
-
QgsDirectoryParamWidget.rowsInserted(self, QModelIndex, int, int)
-
QgsDirectoryParamWidget.rowsRemoved(self, QModelIndex, int, int)
-
scheduleDelayedItemsLayout
(self)¶
-
QgsDirectoryParamWidget.scrollContentsBy(self, int, int)
-
QgsDirectoryParamWidget.scrollDirtyRegion(self, int, int)
-
selectedIndexes
(self) → List[QModelIndex]¶
-
QgsDirectoryParamWidget.selectionChanged(self, QItemSelection, QItemSelection)
-
selectionCommand
(self, QModelIndex, event: QEvent = None) → QItemSelectionModel.SelectionFlags¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setDirtyRegion
(self, QRegion)¶
-
setSelection
(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])¶
-
setState
(self, QAbstractItemView.State)¶
-
QgsDirectoryParamWidget.setViewportMargins(self, int, int, int, int)
setViewportMargins(self, QMargins)
-
showEvent
(self, QShowEvent)¶
-
showHideColumn
(self)¶
-
sizeHintForColumn
(self, int) → int¶
-
startDrag
(self, Union[Qt.DropActions, Qt.DropAction])¶
-
state
(self) → QAbstractItemView.State¶
-
supportedDropActions
(self) → Qt.DropActions¶
-
tabletEvent
(self, QTabletEvent)¶
-
timerEvent
(self, QTimerEvent)¶
-
updateEditorData
(self)¶
-
updateEditorGeometries
(self)¶
-
updateGeometries
(self)¶
-
updateMicroFocus
(self)¶
-
verticalOffset
(self) → int¶
-
verticalScrollbarAction
(self, int)¶
-
verticalScrollbarValueChanged
(self, int)¶
-
viewOptions
(self) → QStyleOptionViewItem¶
-
viewportEvent
(self, QEvent) → bool¶
-
viewportMargins
(self) → QMargins¶
-
viewportSizeHint
(self) → QSize¶
-
visualRegionForSelection
(self, QItemSelection) → QRegion¶
-
wheelEvent
(self, QWheelEvent)¶