QGIS API Documentation
3.2.0-Bonn (bc43194)
|
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 78 of file qgsauthcerttrustpolicycombobox.cpp.
|
slot |
Sets current trust policy.
Definition at line 72 of file qgsauthcerttrustpolicycombobox.cpp.
QgsAuthCertUtils::CertTrustPolicy QgsAuthCertTrustPolicyComboBox::trustPolicy | ( | ) |
Gets currently set trust policy.
Definition at line 62 of file qgsauthcerttrustpolicycombobox.cpp.
QgsAuthCertUtils::CertTrustPolicy QgsAuthCertTrustPolicyComboBox::trustPolicyForIndex | ( | int | indx | ) |
Gets trust policy for a given index of combobox.
Definition at line 67 of file qgsauthcerttrustpolicycombobox.cpp.