Subgroup: New
Class: QgsNewHttpConnection¶
-
class
qgis.gui.
QgsNewHttpConnection
(parent: QWidget = None, types: Union[QgsNewHttpConnection.ConnectionTypes, QgsNewHttpConnection.ConnectionType] = QgsNewHttpConnection.ConnectionWms, baseKey: str = '', connectionName: str = '', flags: Union[QgsNewHttpConnection.Flags, QgsNewHttpConnection.Flag] = 0, fl: Union[Qt.WindowFlags, Qt.WindowType] = QgsGuiUtils.ModalDialogFlags)¶ Bases:
PyQt5.QtWidgets.QDialog
Constructor for QgsNewHttpConnection.
The
types
argument dictates which connection type settings should be shown in the dialog.The
flags
argument allows specifying flags which control the dialog behavior and appearance.Dialog to allow the user to configure and save connectioninformation for an HTTP Server for WMS, etc.
Methods
Signals
Attributes
ConnectionOther
ConnectionWcs
ConnectionWfs
ConnectionWms
FlagHideAuthenticationGroup
FlagShowTestConnection
-
ConnectionOther
= 16¶
-
class
ConnectionType
¶ Bases:
int
-
class
ConnectionTypes
¶ Bases:
sip.wrapper
QgsNewHttpConnection.ConnectionTypes(Union[QgsNewHttpConnection.ConnectionTypes, QgsNewHttpConnection.ConnectionType]) QgsNewHttpConnection.ConnectionTypes(QgsNewHttpConnection.ConnectionTypes)
-
ConnectionWcs
= 8¶
-
ConnectionWfs
= 2¶
-
ConnectionWms
= 4¶
-
class
Flag
¶ Bases:
int
-
FlagHideAuthenticationGroup
= 4¶
-
FlagShowTestConnection
= 2¶
-
class
Flags
¶ Bases:
sip.wrapper
QgsNewHttpConnection.Flags(Union[QgsNewHttpConnection.Flags, QgsNewHttpConnection.Flag]) QgsNewHttpConnection.Flags(QgsNewHttpConnection.Flags)
-
accept
(self)¶
-
actionEvent
()¶
-
changeEvent
()¶
-
childEvent
()¶
-
closeEvent
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
customEvent
()¶
-
destroy
()¶
-
disconnectNotify
()¶
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
dropEvent
()¶
-
enterEvent
()¶
-
event
()¶
-
eventFilter
()¶
-
focusInEvent
()¶
-
focusNextChild
()¶
-
focusNextPrevChild
()¶
-
focusOutEvent
()¶
-
focusPreviousChild
()¶
-
hideEvent
()¶
-
initPainter
()¶
-
inputMethodEvent
()¶
-
isSignalConnected
()¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveEvent
()¶
-
name
(self) → str¶ Returns the current connection name.
New in version 3.0.
-
nativeEvent
()¶
-
paintEvent
()¶
-
receivers
()¶
-
resizeEvent
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
showEvent
()¶
-
tabletEvent
()¶
-
testConnectButton
(self) → QPushButton¶ Returns the “test connection” button.
New in version 3.0.
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
updateServiceSpecificSettings
(self)¶ Triggers a resync of the GUI widgets for the service specific settings (i.e. WFS and WMS related settings).
New in version 3.0.
-
url
(self) → str¶ Returns the current connection url.
New in version 3.0.
-
validate
(self) → bool¶ Returns true if dialog settings are valid, or false if current settings are not valid and the dialog should not be acceptable.
New in version 3.0.
-
wfsSettingsKey
(self, base: str, connectionName: str) → str¶ Returns the QSettings key for WFS related settings for the connection.
See also
New in version 3.0.
-
wheelEvent
()¶
-
wmsSettingsKey
(self, base: str, connectionName: str) → str¶ Returns the QSettings key for WMS related settings for the connection.
See also
New in version 3.0.
-