Class: QgsOrganizeTableColumnsDialog¶
- class qgis.gui.QgsOrganizeTableColumnsDialog¶
Bases:
PyQt5.QtWidgets.QDialog
Dialog for organising (hiding and reordering) columns in the attributes table.
New in version 2.16.
QgsOrganizeTableColumnsDialog(vl:
QgsVectorLayer
, config:QgsAttributeTableConfig
, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.Window) Constructor- Parameters:
vl – The concerned vector layer
parent – parent object
config – attribute table config to use.
flags – window flags
QgsOrganizeTableColumnsDialog(vl:
QgsVectorLayer
, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.Window) Constructor- Parameters:
vl – The concerned vector layer
parent – parent object
flags –
window flags
Methods
Gets the updated configuration
hideAll unchecks all the fields to hide them all in the attribute table
showAll checks all the fields to show them all in the attribute table
Toggle the check state of selected fields to hide or show them in the attribute table
- actionEvent(self, QActionEvent)¶
- changeEvent(self, QEvent)¶
- childEvent(self, QChildEvent)¶
- closeEvent(self, QCloseEvent)¶
- config(self) QgsAttributeTableConfig ¶
Gets the updated configuration
- Return type:
- connectNotify(self, QMetaMethod)¶
- contextMenuEvent(self, QContextMenuEvent)¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- customEvent(self, QEvent)¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPreviousChild(self) bool ¶
- hideAll(self)¶
hideAll unchecks all the fields to hide them all in the attribute table
- hideEvent(self, QHideEvent)¶
- initPainter(self, QPainter)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- isSignalConnected(self, QMetaMethod) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- leaveEvent(self, QEvent)¶
- metric(self, QPaintDevice.PaintDeviceMetric) int ¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- moveEvent(self, QMoveEvent)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], PyQt5.sip.voidptr) Tuple[bool, int] ¶
- paintEvent(self, QPaintEvent)¶
- receivers(self, PYQT_SIGNAL) int ¶
- resizeEvent(self, QResizeEvent)¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- showAll(self)¶
showAll checks all the fields to show them all in the attribute table
- showEvent(self, QShowEvent)¶
- tabletEvent(self, QTabletEvent)¶
- timerEvent(self, QTimerEvent)¶
- toggleSelection(self)¶
Toggle the check state of selected fields to hide or show them in the attribute table
New in version 3.36.
- updateMicroFocus(self)¶
- wheelEvent(self, QWheelEvent)¶