Subgroup: other
Class: QgsOWSSourceSelect¶
-
class
qgis.gui.
QgsOWSSourceSelect
¶ Bases:
qgis._gui.QgsAbstractDataSourceWidget
Dialog to create connections and add layers WCS etc.
This dialog allows the user to define and save connection information for WMS servers, etc.
The user can then connect and add layers from the WCS server to the map canvas.
Methods
accept
acceptDrops
accessibleDescription
accessibleName
actionEvent
actions
activateWindow
addAction
addActions
addButton
addButtonClicked
Triggered when the add button is clicked, the add layer signal is emitted Concrete classes should implement the right behavior depending on the layer being added. addDefaultServers
Add a few example servers to the list. addWmsListItem
addWmsListRow
layer name derived from latest layer selection (updated as long it’s not edited manually) adjustSize
autoFillBackground
backgroundRole
baseSize
blockSignals
changeEvent
childAt
childAt(self, int, int) -> QWidget childEvent
children
childrenRect
childrenRegion
clearCrs
Clear CRSs clearFocus
clearFormats
Clear previously set formats clearMask
clearTimes
Clear times close
closeEvent
colorCount
connName
Connection name connectNotify
connectionInfo
Connection info (uri) contentsMargins
contentsRect
contextMenuEvent
contextMenuPolicy
create
createWindowContainer
cursor
customEvent
deleteLater
depth
descriptionForAuthId
Returns a textual description for the authority id destroy
devType
devicePixelRatio
devicePixelRatioF
devicePixelRatioFScale
disconnect
disconnectNotify
done
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
effectiveWinId
enableLayersForCrs
ensurePolished
enterEvent
event
eventFilter
exec
exec_
find
findChild
findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject findChildren
findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] focusInEvent
focusNextChild
focusNextPrevChild
focusOutEvent
focusPolicy
focusPreviousChild
focusProxy
focusWidget
font
fontInfo
fontMetrics
foregroundRole
frameGeometry
frameSize
geometry
getContentsMargins
grab
grabGesture
grabKeyboard
grabMouse
grabMouse(self, Union[QCursor, Qt.CursorShape]) grabShortcut
graphicsEffect
graphicsProxyWidget
hasFocus
hasHeightForWidth
hasMouseTracking
hasTabletTracking
height
heightForWidth
heightMM
hide
hideEvent
inherits
initPainter
inputMethodEvent
inputMethodHints
inputMethodQuery
insertAction
insertActions
installEventFilter
isActiveWindow
isAncestorOf
isEnabled
isEnabledTo
isFullScreen
isHidden
isLeftToRight
isMaximized
isMinimized
isModal
isRightToLeft
isSignalConnected
isSizeGripEnabled
isVisible
isVisibleTo
isWidgetType
isWindow
isWindowModified
isWindowType
keyPressEvent
keyReleaseEvent
keyboardGrabber
killTimer
layout
layoutDirection
leaveEvent
locale
logicalDpiX
logicalDpiY
lower
mapCanvas
mapFrom
mapFromGlobal
mapFromParent
mapTo
mapToGlobal
mapToParent
mask
maximumHeight
maximumSize
maximumWidth
metaObject
metric
minimumHeight
minimumSize
minimumSizeHint
minimumWidth
mouseDoubleClickEvent
mouseGrabber
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
move
move(self, int, int) moveEvent
moveToThread
nativeEvent
nativeParentWidget
nextInFocusChain
normalGeometry
objectName
open
overrideWindowFlags
overrideWindowState
paintEngine
paintEvent
paintingActive
palette
parent
parentWidget
physicalDpiX
physicalDpiY
populateConnectionList
Populate the connection list combo box populateCrs
Set supported CRSs populateFormats
Populate supported formats populateLayerList
Populate the layer list. populateTimes
Populate times pos
previousInFocusChain
property
providerFormats
List of image formats (encodings) supported by provider pyqtConfigure
Each keyword argument is either the name of a Qt property or a Qt signal. raise_
receivers
rect
refresh
Triggered when the provider’s connections need to be refreshed reject
releaseKeyboard
releaseMouse
releaseShortcut
removeAction
removeEventFilter
render
render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren)) repaint
repaint(self, int, int, int, int) resize
resize(self, int, int) resizeEvent
restoreGeometry
result
saveGeometry
scroll
scroll(self, int, int, QRect) selectedCacheLoadControl
Returns currently selected cache load control selectedCrs
Returns currently selected Crs selectedFormat
Returns currently selected format selectedLayersCrses
Server CRS supported for currently selected layer item(s) selectedLayersFormats
List of formats supported for currently selected layer item(s) selectedLayersTimes
List of times (temporalDomain timePosition/timePeriod for currently selected layer item(s) selectedTime
Returns currently selected time sender
senderSignalIndex
setAcceptDrops
setAccessibleDescription
setAccessibleName
setAttribute
setAutoFillBackground
setBackgroundRole
setBaseSize
setBaseSize(self, QSize) setConnectionListPosition
Set the server connection combo box to that stored in the config file. setContentsMargins
setContentsMargins(self, QMargins) setContextMenuPolicy
setCursor
setDisabled
setEnabled
setFixedHeight
setFixedSize
setFixedSize(self, int, int) setFixedWidth
setFocus
setFocus(self, Qt.FocusReason) setFocusPolicy
setFocusProxy
setFont
setForegroundRole
setGeometry
setGeometry(self, int, int, int, int) setGraphicsEffect
setHidden
setInputMethodHints
setLayout
setLayoutDirection
setLocale
setMapCanvas
Store a pointer to the map canvas to retrieve extent and CRS setMask
setMask(self, QRegion) setMaximumHeight
setMaximumSize
setMaximumSize(self, QSize) setMaximumWidth
setMinimumHeight
setMinimumSize
setMinimumSize(self, QSize) setMinimumWidth
setModal
setMouseTracking
setObjectName
setPalette
setParent
setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) setProperty
setResult
setShortcutAutoRepeat
setShortcutEnabled
setSizeGripEnabled
setSizeIncrement
setSizeIncrement(self, QSize) setSizePolicy
setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) setStatusTip
setStyle
setStyleSheet
setTabOrder
setTabletTracking
setToolTip
setToolTipDuration
setUpdatesEnabled
setVisible
setWhatsThis
setWindowFilePath
setWindowFlag
setWindowFlags
setWindowIcon
setWindowIconText
setWindowModality
setWindowModified
setWindowOpacity
setWindowRole
setWindowState
setWindowTitle
setupButtons
sharedPainter
show
showError
show whatever error is exposed. showEvent
showFullScreen
showMaximized
showMinimized
showNormal
showStatusMessage
Set status message to theMessage signalsBlocked
size
sizeHint
sizeIncrement
sizePolicy
stackUnder
startTimer
statusTip
style
styleSheet
tabletEvent
testAttribute
thread
timerEvent
toolTip
toolTipDuration
tr
underMouse
ungrabGesture
unsetCursor
unsetLayoutDirection
unsetLocale
update
update(self, QRect) updateGeometry
updateMicroFocus
updatesEnabled
visibleRegion
whatsThis
wheelEvent
widgetMode
width
widthMM
winId
window
windowFilePath
windowFlags
windowHandle
windowIcon
windowIconText
windowModality
windowOpacity
windowRole
windowState
windowTitle
windowType
x
y
Attributes
Accepted
DrawChildren
DrawWindowBackground
IgnoreMask
PdmDepth
PdmDevicePixelRatio
PdmDevicePixelRatioScaled
PdmDpiX
PdmDpiY
PdmHeight
PdmHeightMM
PdmNumColors
PdmPhysicalDpiX
PdmPhysicalDpiY
PdmWidth
PdmWidthMM
Rejected
accepted
accepted(self) [signal] addDatabaseLayers
Emitted when a DB layer has been selected for addition [signal] addRasterLayer
Emitted when a raster layer has been selected for addition [signal] addVectorLayer
Emitted when a vector layer has been selected for addition. addVectorLayers
Emitted when one or more OGR supported layers are selected for addition connectionsChanged
Emitted when the provider’s connections have changed customContextMenuRequested
customContextMenuRequested(self, QPoint) [signal] destroyed
destroyed(self, QObject = None) [signal] enableButtons
Emitted when the ok/add buttons should be enabled/disabled [signal] finished
finished(self, int) [signal] objectNameChanged
objectNameChanged(self, str) [signal] progress
Emitted when a progress dialog is shown by the provider dialog [signal] progressMessage
Emitted when a progress dialog is shown by the provider dialog [signal] rejected
rejected(self) [signal] replaceVectorLayer
Emitted when a layer needs to be replaced staticMetaObject
windowIconChanged
windowIconChanged(self, QIcon) [signal] windowIconTextChanged
windowIconTextChanged(self, str) [signal] windowTitleChanged
windowTitleChanged(self, str) [signal] -
class
SupportedFormat
¶ Bases:
sip.wrapper
QgsOWSSourceSelect.SupportedFormat(QgsOWSSourceSelect.SupportedFormat)
-
format
¶
-
label
¶
-
-
actionEvent
()¶
-
addButton
()¶
-
addDefaultServers
(self)¶ Add a few example servers to the list.
-
addWmsListItem
(self, el: QDomElement, row: int, column: int)¶
-
addWmsListRow
(self, item: QDomElement, row: int)¶ layer name derived from latest layer selection (updated as long it’s not edited manually)
-
changeEvent
()¶
-
childEvent
()¶
-
clearCrs
(self)¶ Clear CRSs
-
clearFormats
(self)¶ Clear previously set formats
-
clearTimes
(self)¶ Clear times
-
closeEvent
()¶
-
connName
(self) → str¶ Connection name
-
connectNotify
()¶
-
connectionInfo
(self) → str¶ Connection info (uri)
-
contextMenuEvent
()¶
-
create
()¶
-
customEvent
()¶
-
descriptionForAuthId
(self, authId: str) → str¶ Returns a textual description for the authority id
-
destroy
()¶
-
disconnectNotify
()¶
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
dropEvent
()¶
-
enableLayersForCrs
(self, item: QTreeWidgetItem)¶
-
enterEvent
()¶
-
event
()¶
-
eventFilter
()¶
-
focusInEvent
()¶
-
focusNextChild
()¶
-
focusNextPrevChild
()¶
-
focusOutEvent
()¶
-
focusPreviousChild
()¶
-
hideEvent
()¶
-
initPainter
()¶
-
inputMethodEvent
()¶
-
isSignalConnected
()¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
mapCanvas
()¶
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveEvent
()¶
-
nativeEvent
()¶
-
paintEvent
()¶
-
populateConnectionList
(self)¶ Populate the connection list combo box
-
populateCrs
(self)¶ Set supported CRSs
-
populateFormats
(self)¶ Populate supported formats
-
populateLayerList
(self)¶ Populate the layer list.
retval false if the layers could not be retrieved or parsed
-
populateTimes
(self)¶ Populate times
-
providerFormats
(self) → object¶ List of image formats (encodings) supported by provider
Returns: list of format/label pairs
-
receivers
()¶
-
refresh
(self)¶ Triggered when the provider’s connections need to be refreshed
-
resizeEvent
()¶
-
selectedCacheLoadControl
(self) → QNetworkRequest.CacheLoadControl¶ Returns currently selected cache load control
-
selectedCrs
(self) → str¶ Returns currently selected Crs
-
selectedFormat
(self) → str¶ Returns currently selected format
-
selectedLayersCrses
(self) → List[str]¶ Server CRS supported for currently selected layer item(s)
-
selectedLayersFormats
(self) → List[str]¶ List of formats supported for currently selected layer item(s)
-
selectedLayersTimes
(self) → List[str]¶ List of times (temporalDomain timePosition/timePeriod for currently selected layer item(s)
-
selectedTime
(self) → str¶ Returns currently selected time
-
sender
()¶
-
senderSignalIndex
()¶
-
setConnectionListPosition
(self)¶ Set the server connection combo box to that stored in the config file.
-
setupButtons
()¶
-
showError
(self, title: str, format: str, error: str)¶ show whatever error is exposed.
-
showEvent
()¶
-
showStatusMessage
(self, message: str)¶ Set status message to theMessage
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶
-
widgetMode
()¶
-
class