Class: QgsAuthImportCertDialog¶
-
class
qgis.gui.
QgsAuthImportCertDialog
(parent: QWidget = None, filter: QgsAuthImportCertDialog.CertFilter = QgsAuthImportCertDialog.NoFilter, input: QgsAuthImportCertDialog.CertInput = QgsAuthImportCertDialog.AllInputs)¶ Bases:
PyQt5.QtWidgets.QDialog
Construct a dialog for importing certificates
- Parameters
parent (QWidget = None) – Parent widget
filter (QgsAuthImportCertDialog.CertFilter = QgsAuthImportCertDialog.NoFilter) – Certificate type filter to apply to dialog
input (QgsAuthImportCertDialog.CertInput = QgsAuthImportCertDialog.AllInputs) – Type of input(s) for certificates
Widget for importing a certificate into the authentication database
Methods
Whether to allow importation of invalid certificates (so trust policy can be overridden)
Gets the file path to a certificate to import
Gets certificate text to import
Defined trust policy for imported certificates
Gets list of certificate objects to import
Attributes
-
AllInputs
= 1¶
-
CaFilter
= 2¶
-
class
CertFilter
¶ Bases:
int
-
class
CertInput
¶ Bases:
int
-
FileInput
= 2¶
-
NoFilter
= 1¶
-
TextInput
= 3¶
-
actionEvent
(self, QActionEvent)¶
-
allowInvalidCerts
(self) → bool¶ Whether to allow importation of invalid certificates (so trust policy can be overridden)
- Return type
bool
-
certFileToImport
(self) → str¶ Gets the file path to a certificate to import
- Return type
str
-
certTextToImport
(self) → str¶ Gets certificate text to import
- Return type
str
-
certTrustPolicy
(self) → QgsAuthCertUtils.CertTrustPolicy¶ Defined trust policy for imported certificates
- Return type
-
certificatesToImport
(self) → List[QSslCertificate]¶ Gets list of certificate objects to import
- Return type
List[QSslCertificate]
-
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)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPreviousChild
(self) → bool¶
-
hideEvent
(self, QHideEvent)¶
-
initPainter
(self, QPainter)¶
-
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¶
-
showEvent
(self, QShowEvent)¶
-
tabletEvent
(self, QTabletEvent)¶
-
timerEvent
(self, QTimerEvent)¶
-
updateMicroFocus
(self)¶
-
wheelEvent
(self, QWheelEvent)¶