Class: QgsAuthCertTrustPolicyComboBox

class qgis.gui.QgsAuthCertTrustPolicyComboBox

Bases: PyQt5.QtWidgets.QComboBox

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

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

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

Sets default trust policy

Parameters

defaultpolicy (QgsAuthCertUtils.CertTrustPolicy) –

setTrustPolicy(self, policy: QgsAuthCertUtils.CertTrustPolicy)

Sets current trust policy

Parameters

policy (QgsAuthCertUtils.CertTrustPolicy) –

sharedPainter(self)QPainter
showEvent(self, QShowEvent)
tabletEvent(self, QTabletEvent)
timerEvent(self, QTimerEvent)
trustPolicy(self)QgsAuthCertUtils.CertTrustPolicy

Gets currently set trust policy

Return type

QgsAuthCertUtils.CertTrustPolicy

trustPolicyForIndex(self, indx: int)QgsAuthCertUtils.CertTrustPolicy

Gets trust policy for a given index of combobox

Parameters

indx (int) –

Return type

QgsAuthCertUtils.CertTrustPolicy

updateMicroFocus(self)
wheelEvent(self, QWheelEvent)