Class: QgsAuthCertTrustPolicyComboBox¶
-
class
qgis.gui.
QgsAuthCertTrustPolicyComboBox
(parent: QWidget = None, policy: QgsAuthCertUtils.CertTrustPolicy = QgsAuthCertUtils.DefaultTrust, defaultpolicy: QgsAuthCertUtils.CertTrustPolicy = QgsAuthCertUtils.DefaultTrust)¶ Bases:
PyQt5.QtWidgets.QComboBox
Construct a combo box for defining certificate trust policy
- Parameters
parent (QWidget = None) – Parent widget
policy (QgsAuthCertUtils.CertTrustPolicy = QgsAuthCertUtils.DefaultTrust) – Defined trust policy
defaultpolicy (QgsAuthCertUtils.CertTrustPolicy = QgsAuthCertUtils.DefaultTrust) – Default trust policy
Widget for editing the trust policy associated with a Certificate (Intermediate) Authority
Methods
Sets default trust policy
Sets current trust policy
Gets currently set trust policy
Gets trust policy for a given index of combobox
-
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) –
-
showEvent
(self, QShowEvent)¶
-
tabletEvent
(self, QTabletEvent)¶
-
timerEvent
(self, QTimerEvent)¶
-
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
- Parameters
indx (int) –
- Return type
-
updateMicroFocus
(self)¶
-
wheelEvent
(self, QWheelEvent)¶