Subgroup: Auth

Class: QgsAuthSslConfigWidget

class qgis.gui.QgsAuthSslConfigWidget

Bases: PyQt5.QtWidgets.QWidget

Widget for editing an SSL server configuration

Methods

acceptDrops
accessibleDescription
accessibleName
actionEvent
actions
activateWindow
addAction
addActions
adjustSize
appendSslIgnoreErrors Add to SSL errors to ignore for the connection
autoFillBackground
backgroundRole
baseSize
blockSignals
certificateGroupBox Access to the certificate’s group box widget
changeEvent
childAt childAt(self, int, int) -> QWidget
childEvent
children
childrenRect
childrenRegion
clearFocus
clearMask
close
closeEvent
colorCount
connectNotify
contentsMargins
contentsRect
contextMenuEvent
contextMenuPolicy
create
createWindowContainer
cursor
customEvent
deleteLater
depth
destroy
devType
devicePixelRatio
devicePixelRatioF
devicePixelRatioFScale
disconnect
disconnectNotify
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
effectiveWinId
enableSslCustomOptions Enable or disable the custom options widget
ensurePolished
enterEvent
event
eventFilter
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
isVisible
isVisibleTo
isWidgetType
isWindow
isWindowModified
isWindowType
keyPressEvent
keyReleaseEvent
keyboardGrabber
killTimer
layout
layoutDirection
leaveEvent
loadSslCustomConfig Load an existing SSL server configuration
locale
logicalDpiX
logicalDpiY
lower
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
overrideWindowFlags
overrideWindowState
paintEngine
paintEvent
paintingActive
palette
parent
parentWidget
physicalDpiX
physicalDpiY
pos
previousInFocusChain
property
pyqtConfigure Each keyword argument is either the name of a Qt property or a Qt signal.
raise_
readyToSave Verify if the configuration if ready to save
receivers
rect
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)
resetSslCertConfig Clear the current SSL server configuration and disabled it
resetSslIgnoreErrors Clear the SSL errors to ignore for the connection
resetSslPeerVerify Reset the client’s peer verify mode for connections to default
resetSslProtocol Reset the SSL protocol to use in connections to the default
resize resize(self, int, int)
resizeEvent
restoreGeometry
saveGeometry
saveSslCertConfig Save the current SSL server configuration to the authentication database
scroll scroll(self, int, int, QRect)
sender
senderSignalIndex
setAcceptDrops
setAccessibleDescription
setAccessibleName
setAttribute
setAutoFillBackground
setBackgroundRole
setBaseSize setBaseSize(self, QSize)
setConfigCheckable Set whether the config group box is checkable
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
setMask setMask(self, QRegion)
setMaximumHeight
setMaximumSize setMaximumSize(self, QSize)
setMaximumWidth
setMinimumHeight
setMinimumSize setMinimumSize(self, QSize)
setMinimumWidth
setMouseTracking
setObjectName
setPalette
setParent setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
setProperty
setShortcutAutoRepeat
setShortcutEnabled
setSizeIncrement setSizeIncrement(self, QSize)
setSizePolicy setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
setSslCertificate Set SSl certificate and any associated host:port
setSslHost Set the host of the server
setSslIgnoreErrorEnums Set the SSL errors (as enums) to ignore for the connection
setSslIgnoreErrors Set the SSL errors to ignore for the connection
setSslPeerVerify Set the client’s peer verify mode for connections
setSslProtocol Set the SSL protocol to use in connections
setStatusTip
setStyle
setStyleSheet
setTabOrder
setTabletTracking
setToolTip
setToolTipDuration
setUpdatesEnabled
setVisible
setWhatsThis
setWindowFilePath
setWindowFlag
setWindowFlags
setWindowIcon
setWindowIconText
setWindowModality
setWindowModified
setWindowOpacity
setWindowRole
setWindowState
setWindowTitle
sharedPainter
show
showEvent
showFullScreen
showMaximized
showMinimized
showNormal
signalsBlocked
size
sizeHint
sizeIncrement
sizePolicy
sslCertificate Get the SSL server certificate
sslConfigGroupBox Access to the SSL configuration’s group box widget
sslCustomConfig Get the SSL configuration
sslHost Get the host:port to associate with the server certificate
sslIgnoreErrorEnums Get list of the SSL errors (as enums) to be ignored for connections
sslPeerVerifyDepth Get the client’s peer verify depth for connections
sslPeerVerifyMode Get the client’s peer verify mode for connections
sslProtocol Get the SSL protocl used for connections
stackUnder
startTimer
statusTip
style
styleSheet
tabletEvent
testAttribute
thread
timerEvent
toolTip
toolTipDuration
tr
underMouse
ungrabGesture
unsetCursor
unsetLayoutDirection
unsetLocale
update update(self, QRect)
updateGeometry
updateMicroFocus
updatesEnabled
validateHostPortText Parse string for host:port
visibleRegion
whatsThis
wheelEvent
width
widthMM
winId
window
windowFilePath
windowFlags
windowHandle
windowIcon
windowIconText
windowModality
windowOpacity
windowRole
windowState
windowTitle
windowType
x
y

Attributes

DrawChildren
DrawWindowBackground
IgnoreMask
PdmDepth
PdmDevicePixelRatio
PdmDevicePixelRatioScaled
PdmDpiX
PdmDpiY
PdmHeight
PdmHeightMM
PdmNumColors
PdmPhysicalDpiX
PdmPhysicalDpiY
PdmWidth
PdmWidthMM
certFoundInAuthDatabase Emitted when an certificate of same SHA hash is found in authentication database [signal]
configEnabledChanged Emitted when the enabled state of the configuration changes [signal]
customContextMenuRequested customContextMenuRequested(self, QPoint) [signal]
destroyed destroyed(self, QObject = None) [signal]
hostPortValidityChanged Emitted when the validity of the host:port changes [signal]
objectNameChanged objectNameChanged(self, str) [signal]
readyToSaveChanged Emitted when the configuration can be saved changes [signal]
staticMetaObject
windowIconChanged windowIconChanged(self, QIcon) [signal]
windowIconTextChanged windowIconTextChanged(self, str) [signal]
windowTitleChanged windowTitleChanged(self, str) [signal]
actionEvent()
appendSslIgnoreErrors(self, errors: Iterable[QSslError])

Add to SSL errors to ignore for the connection

certFoundInAuthDatabase

Emitted when an certificate of same SHA hash is found in authentication database [signal]

certificateGroupBox(self) → QGroupBox

Access to the certificate’s group box widget

changeEvent()
childEvent()
closeEvent()
configEnabledChanged

Emitted when the enabled state of the configuration changes [signal]

connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enableSslCustomOptions(self, enable: bool)

Enable or disable the custom options widget

enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
hostPortValidityChanged

Emitted when the validity of the host:port changes [signal]

initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
loadSslCustomConfig(self, config: QgsAuthConfigSslServer = QgsAuthConfigSslServer())

Load an existing SSL server configuration

metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
readyToSave(self) → bool

Verify if the configuration if ready to save

readyToSaveChanged

Emitted when the configuration can be saved changes [signal]

receivers()
resetSslCertConfig(self)

Clear the current SSL server configuration and disabled it

resetSslIgnoreErrors(self)

Clear the SSL errors to ignore for the connection

resetSslPeerVerify(self)

Reset the client’s peer verify mode for connections to default

resetSslProtocol(self)

Reset the SSL protocol to use in connections to the default

resizeEvent()
saveSslCertConfig(self)

Save the current SSL server configuration to the authentication database

sender()
senderSignalIndex()
setConfigCheckable(self, checkable: bool)

Set whether the config group box is checkable

setSslCertificate(self, cert: QSslCertificate, hostport: str = '')

Set SSl certificate and any associated host:port

setSslHost(self, host: str)

Set the host of the server

setSslIgnoreErrorEnums(self, errorenums: object)

Set the SSL errors (as enums) to ignore for the connection

setSslIgnoreErrors(self, errors: Iterable[QSslError])

Set the SSL errors to ignore for the connection

setSslPeerVerify(self, mode: QSslSocket.PeerVerifyMode, modedepth: int)

Set the client’s peer verify mode for connections

setSslProtocol(self, protocol: QSsl.SslProtocol)

Set the SSL protocol to use in connections

sharedPainter()
showEvent()
sslCertificate(self) → QSslCertificate

Get the SSL server certificate

sslConfigGroupBox(self) → QGroupBox

Access to the SSL configuration’s group box widget

sslCustomConfig(self) → QgsAuthConfigSslServer

Get the SSL configuration

sslHost(self) → str

Get the host:port to associate with the server certificate

sslIgnoreErrorEnums(self) → object

Get list of the SSL errors (as enums) to be ignored for connections

sslPeerVerifyDepth(self) → int

Get the client’s peer verify depth for connections

Note

Value of 0 = unlimited

sslPeerVerifyMode(self) → QSslSocket.PeerVerifyMode

Get the client’s peer verify mode for connections

sslProtocol(self) → QSsl.SslProtocol

Get the SSL protocl used for connections

tabletEvent()
timerEvent()
updateMicroFocus()
validateHostPortText(self, txt: str)

Parse string for host:port

wheelEvent()