QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
Widget for editing the trust policy associated with a Certificate (Intermediate) Authority. More...
#include <qgsauthcerttrustpolicycombobox.h>
Public Slots | |
void | setDefaultTrustPolicy (QgsAuthCertUtils::CertTrustPolicy defaultpolicy) |
Sets default trust policy. More... | |
void | setTrustPolicy (QgsAuthCertUtils::CertTrustPolicy policy) |
Sets current trust policy. More... | |
Public Member Functions | |
QgsAuthCertTrustPolicyComboBox (QWidget *parent=nullptr, QgsAuthCertUtils::CertTrustPolicy policy=QgsAuthCertUtils::DefaultTrust, QgsAuthCertUtils::CertTrustPolicy defaultpolicy=QgsAuthCertUtils::DefaultTrust) | |
Construct a combo box for defining certificate trust policy. More... | |
QgsAuthCertUtils::CertTrustPolicy | trustPolicy () |
Gets currently set trust policy. More... | |
QgsAuthCertUtils::CertTrustPolicy | trustPolicyForIndex (int indx) |
Gets trust policy for a given index of combobox. More... | |
Widget for editing the trust policy associated with a Certificate (Intermediate) Authority.
Definition at line 29 of file qgsauthcerttrustpolicycombobox.h.
|
explicit |
Construct a combo box for defining certificate trust policy.
parent | Parent widget |
policy | Defined trust policy |
defaultpolicy | Default trust policy |
Definition at line 28 of file qgsauthcerttrustpolicycombobox.cpp.
|
slot |
Sets default trust policy.
Definition at line 83 of file qgsauthcerttrustpolicycombobox.cpp.
|
slot |
Sets current trust policy.
Definition at line 77 of file qgsauthcerttrustpolicycombobox.cpp.
QgsAuthCertUtils::CertTrustPolicy QgsAuthCertTrustPolicyComboBox::trustPolicy | ( | ) |
Gets currently set trust policy.
Definition at line 67 of file qgsauthcerttrustpolicycombobox.cpp.
QgsAuthCertUtils::CertTrustPolicy QgsAuthCertTrustPolicyComboBox::trustPolicyForIndex | ( | int | indx | ) |
Gets trust policy for a given index of combobox.
Definition at line 72 of file qgsauthcerttrustpolicycombobox.cpp.