Subgroup: New
Class: QgsNewVectorLayerDialog¶
-
class
qgis.gui.
QgsNewVectorLayerDialog
(parent: QWidget = None, fl: Union[Qt.WindowFlags, Qt.WindowType] = QgsGuiUtils.ModalDialogFlags)¶ Bases:
PyQt5.QtWidgets.QDialog
Methods
Signals
Attributes
-
actionEvent
()¶
-
attributes
(self, at: Iterable[Tuple[str, str]])¶ Appends the chosen attribute names and types to at
-
changeEvent
()¶
-
childEvent
()¶
-
closeEvent
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
crs
(self) → QgsCoordinateReferenceSystem¶ Returns the selected CRS for the new layer.
See also
-
customEvent
()¶
-
destroy
()¶
-
disconnectNotify
()¶
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
dropEvent
()¶
-
enterEvent
()¶
-
event
()¶
-
eventFilter
()¶
-
filename
(self) → str¶ Returns the name for the new layer
-
focusInEvent
()¶
-
focusNextChild
()¶
-
focusNextPrevChild
()¶
-
focusOutEvent
()¶
-
focusPreviousChild
()¶
-
hideEvent
()¶
-
initPainter
()¶
-
inputMethodEvent
()¶
-
isSignalConnected
()¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveEvent
()¶
-
nativeEvent
()¶
-
paintEvent
()¶
-
receivers
()¶
-
resizeEvent
()¶
-
runAndCreateLayer
(parent: QWidget = None, enc: str = '', crs: QgsCoordinateReferenceSystem = QgsCoordinateReferenceSystem()) → str¶ Runs the dialog and creates a layer matching the dialog parameters.
Returns: fileName on success, empty string use aborted, QString() if creation failed
-
selectedFileEncoding
(self) → str¶ Returns the file format for storage
-
selectedFileFormat
(self) → str¶ Returns the file format for storage
-
selectedType
(self) → QgsWkbTypes.Type¶ Returns the selected geometry type
-
sender
()¶
-
senderSignalIndex
()¶
-
setCrs
(self, crs: QgsCoordinateReferenceSystem)¶ Sets the
crs
value for the new layer in the dialog.New in version 3.0.
See also
-
showEvent
()¶
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶
-