QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Slots | Public Member Functions | List of all members
QgsAuthCertTrustPolicyComboBox Class Reference

#include <qgsauthcerttrustpolicycombobox.h>

Inheritance diagram for QgsAuthCertTrustPolicyComboBox:
Inheritance graph
[legend]

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...
 

Detailed Description

Widget for editing the trust policy associated with a Certificate (Intermediate) Authority

Definition at line 29 of file qgsauthcerttrustpolicycombobox.h.

Constructor & Destructor Documentation

◆ QgsAuthCertTrustPolicyComboBox()

QgsAuthCertTrustPolicyComboBox::QgsAuthCertTrustPolicyComboBox ( QWidget *  parent = nullptr,
QgsAuthCertUtils::CertTrustPolicy  policy = QgsAuthCertUtils::DefaultTrust,
QgsAuthCertUtils::CertTrustPolicy  defaultpolicy = QgsAuthCertUtils::DefaultTrust 
)
explicit

Construct a combo box for defining certificate trust policy.

Parameters
parentParent widget
policyDefined trust policy
defaultpolicyDefault trust policy

Definition at line 28 of file qgsauthcerttrustpolicycombobox.cpp.

Member Function Documentation

◆ setDefaultTrustPolicy

void QgsAuthCertTrustPolicyComboBox::setDefaultTrustPolicy ( QgsAuthCertUtils::CertTrustPolicy  defaultpolicy)
slot

Sets default trust policy.

Definition at line 78 of file qgsauthcerttrustpolicycombobox.cpp.

◆ setTrustPolicy

void QgsAuthCertTrustPolicyComboBox::setTrustPolicy ( QgsAuthCertUtils::CertTrustPolicy  policy)
slot

Sets current trust policy.

Definition at line 72 of file qgsauthcerttrustpolicycombobox.cpp.

◆ trustPolicy()

QgsAuthCertUtils::CertTrustPolicy QgsAuthCertTrustPolicyComboBox::trustPolicy ( )

Gets currently set trust policy.

Definition at line 62 of file qgsauthcerttrustpolicycombobox.cpp.

◆ trustPolicyForIndex()

QgsAuthCertUtils::CertTrustPolicy QgsAuthCertTrustPolicyComboBox::trustPolicyForIndex ( int  indx)

Gets trust policy for a given index of combobox.

Definition at line 67 of file qgsauthcerttrustpolicycombobox.cpp.


The documentation for this class was generated from the following files: