QGIS API Documentation  3.0.2-Girona (307d082)
Public Slots | Public Member Functions | List of all members
QgsAuthCertTrustPolicyComboBox Class Reference

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

#include <qgsauthcerttrustpolicycombobox.h>

Inheritance diagram for QgsAuthCertTrustPolicyComboBox:
Inheritance graph
[legend]

Public Slots

void setDefaultTrustPolicy (QgsAuthCertUtils::CertTrustPolicy defaultpolicy)
 Set default trust policy. More...
 
void setTrustPolicy (QgsAuthCertUtils::CertTrustPolicy policy)
 Set 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 ()
 Get currently set trust policy. More...
 
QgsAuthCertUtils::CertTrustPolicy trustPolicyForIndex (int indx)
 Get 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

Set default trust policy.

Definition at line 78 of file qgsauthcerttrustpolicycombobox.cpp.

◆ setTrustPolicy

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

Set current trust policy.

Definition at line 72 of file qgsauthcerttrustpolicycombobox.cpp.

◆ trustPolicy()

QgsAuthCertUtils::CertTrustPolicy QgsAuthCertTrustPolicyComboBox::trustPolicy ( )

Get currently set trust policy.

Definition at line 62 of file qgsauthcerttrustpolicycombobox.cpp.

◆ trustPolicyForIndex()

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

Get 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: