Class: QgsAuthCertTrustPolicyComboBox

class qgis.gui.QgsAuthCertTrustPolicyComboBox

Bases: PyQt5.QtWidgets.QComboBox

Widget for editing the trust policy associated with a Certificate (Intermediate) Authority

QgsAuthCertTrustPolicyComboBox(parent: Optional[QWidget] = None, policy: QgsAuthCertUtils.CertTrustPolicy = QgsAuthCertUtils.DefaultTrust, defaultpolicy: QgsAuthCertUtils.CertTrustPolicy = QgsAuthCertUtils.DefaultTrust) Construct a combo box for defining certificate trust policy

actionEvent(self, a0: QActionEvent | None)
changeEvent(self, e: QEvent | None)
childEvent(self, a0: QChildEvent | None)
closeEvent(self, a0: QCloseEvent | None)
connectNotify(self, signal: QMetaMethod)
contextMenuEvent(self, e: QContextMenuEvent | None)
create(self, window: PyQt5.sip.voidptr = None, initializeWindow: bool = True, destroyOldWindow: bool = True)
customEvent(self, a0: QEvent | None)
destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)
disconnectNotify(self, signal: QMetaMethod)
dragEnterEvent(self, a0: QDragEnterEvent | None)
dragLeaveEvent(self, a0: QDragLeaveEvent | None)
dragMoveEvent(self, a0: QDragMoveEvent | None)
dropEvent(self, a0: QDropEvent | None)
enterEvent(self, a0: QEvent | None)
focusInEvent(self, e: QFocusEvent | None)
focusNextChild(self) bool
focusNextPrevChild(self, next: bool) bool
focusOutEvent(self, e: QFocusEvent | None)
focusPreviousChild(self) bool
hideEvent(self, e: QHideEvent | None)
initPainter(self, painter: QPainter | None)
initStyleOption(self, option: QStyleOptionComboBox | None)
inputMethodEvent(self, a0: QInputMethodEvent | None)
isSignalConnected(self, signal: QMetaMethod) bool
keyPressEvent(self, e: QKeyEvent | None)
keyReleaseEvent(self, e: QKeyEvent | None)
leaveEvent(self, a0: QEvent | None)
metric(self, a0: QPaintDevice.PaintDeviceMetric) int
mouseDoubleClickEvent(self, a0: QMouseEvent | None)
mouseMoveEvent(self, a0: QMouseEvent | None)
mousePressEvent(self, e: QMouseEvent | None)
mouseReleaseEvent(self, e: QMouseEvent | None)
moveEvent(self, a0: QMoveEvent | None)
nativeEvent(self, eventType: QByteArray | bytes | bytearray, message: PyQt5.sip.voidptr | None)
paintEvent(self, e: QPaintEvent | None)
receivers(self, signal: PYQT_SIGNAL) int
resizeEvent(self, e: QResizeEvent | None)
sender(self) QObject | None
senderSignalIndex(self) int
setDefaultTrustPolicy(self, defaultpolicy: QgsAuthCertUtils.CertTrustPolicy)

Sets default trust policy


defaultpolicy (QgsAuthCertUtils.CertTrustPolicy)

setTrustPolicy(self, policy: QgsAuthCertUtils.CertTrustPolicy)

Sets current trust policy


policy (QgsAuthCertUtils.CertTrustPolicy)

sharedPainter(self) QPainter | None
showEvent(self, e: QShowEvent | None)
tabletEvent(self, a0: QTabletEvent | None)
timerEvent(self, a0: QTimerEvent | None)
trustPolicy(self) QgsAuthCertUtils.CertTrustPolicy

Gets currently set trust policy

Return type:


trustPolicyForIndex(self, indx: int) QgsAuthCertUtils.CertTrustPolicy

Gets trust policy for a given index of combobox


indx (int)

Return type:


wheelEvent(self, e: QWheelEvent | None)