Class: QgsMeshLayerProperties¶
- class qgis.gui.QgsMeshLayerProperties¶
Bases:
QgsOptionsDialogBase
Property sheet for a mesh map layer. Contains information, source and style tabs
New in version 3.16.
QgsMeshLayerProperties(lyr:
QgsMapLayer
, canvas:QgsMapCanvas
, parent: QWidget = None, a3: Union[Qt.WindowFlags, Qt.WindowType] = QgsGuiUtils.ModalDialogFlags) Constructor- Parameters:
lyr – Mesh map layer for which properties will be displayed
canvas – The map canvas
parent – The parent widget
fl –
Window flags
Methods
Adds properties page from a factory
Loads the default style when appropriate button is pressed
Loads a saved style when appropriate button is pressed
Select relevant tab on current page change
Remove tab and unregister widgets on page remove
register widgets in the dialog to search for text in it it is automatically called if a line edit has "mSearchLineEdit" as object name.
Saves the default style when appropriate button is pressed
Saves a style when appriate button is pressed
Update tabs on the splitter move
- actionEvent(self, QActionEvent)¶
- addPropertiesPageFactory(self, factory: QgsMapLayerConfigWidgetFactory)¶
Adds properties page from a factory
New in version 3.16.
- Parameters:
factory (QgsMapLayerConfigWidgetFactory) –
- changeEvent(self, QEvent)¶
- childEvent(self, QChildEvent)¶
- closeEvent(self, QCloseEvent)¶
- 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 ¶
- hideEvent(self, QHideEvent)¶
- initPainter(self, QPainter)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- isSignalConnected(self, QMetaMethod) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- leaveEvent(self, QEvent)¶
- loadDefaultStyle(self)¶
Loads the default style when appropriate button is pressed
New in version 3.30.
- loadStyle(self)¶
Loads a saved style when appropriate button is pressed
New in version 3.30.
- 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] ¶
- optionsStackedWidget_CurrentChanged(self, index: int)¶
Select relevant tab on current page change
- optionsStackedWidget_WidgetRemoved(self, index: int)¶
Remove tab and unregister widgets on page remove
- paintEvent(self, e: QPaintEvent)¶
- receivers(self, PYQT_SIGNAL) int ¶
- registerTextSearchWidgets(self)¶
register widgets in the dialog to search for text in it it is automatically called if a line edit has “mSearchLineEdit” as object name.
New in version 3.0.
- resizeEvent(self, QResizeEvent)¶
- saveDefaultStyle(self)¶
Saves the default style when appropriate button is pressed
New in version 3.30.
- saveStyleAs(self)¶
Saves a style when appriate button is pressed
New in version 3.30.
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- showEvent(self, e: QShowEvent)¶
- tabletEvent(self, QTabletEvent)¶
- timerEvent(self, QTimerEvent)¶
- updateMicroFocus(self)¶
- updateOptionsListVerticalTabs(self)¶
Update tabs on the splitter move
- updateWindowTitle(self)¶
- warnAboutMissingObjects(self)¶
- wheelEvent(self, QWheelEvent)¶