QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
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. | |
void | setTrustPolicy (QgsAuthCertUtils::CertTrustPolicy policy) |
Sets current trust policy. | |
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. | |
QgsAuthCertUtils::CertTrustPolicy | trustPolicy () |
Gets currently set trust policy. | |
QgsAuthCertUtils::CertTrustPolicy | trustPolicyForIndex (int indx) |
Gets trust policy for a given index of combobox. | |
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 29 of file qgsauthcerttrustpolicycombobox.cpp.
|
slot |
Sets default trust policy.
Definition at line 79 of file qgsauthcerttrustpolicycombobox.cpp.
|
slot |
Sets current trust policy.
Definition at line 73 of file qgsauthcerttrustpolicycombobox.cpp.
QgsAuthCertUtils::CertTrustPolicy QgsAuthCertTrustPolicyComboBox::trustPolicy | ( | ) |
Gets currently set trust policy.
Definition at line 63 of file qgsauthcerttrustpolicycombobox.cpp.
QgsAuthCertUtils::CertTrustPolicy QgsAuthCertTrustPolicyComboBox::trustPolicyForIndex | ( | int | indx | ) |
Gets trust policy for a given index of combobox.
Definition at line 68 of file qgsauthcerttrustpolicycombobox.cpp.