QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
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)
 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.
 

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 29 of file qgsauthcerttrustpolicycombobox.cpp.

Member Function Documentation

◆ setDefaultTrustPolicy

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

Sets default trust policy.

Definition at line 73 of file qgsauthcerttrustpolicycombobox.cpp.

◆ setTrustPolicy

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

Sets current trust policy.

Definition at line 67 of file qgsauthcerttrustpolicycombobox.cpp.

◆ trustPolicy()

QgsAuthCertUtils::CertTrustPolicy QgsAuthCertTrustPolicyComboBox::trustPolicy ( )

Gets currently set trust policy.

Definition at line 57 of file qgsauthcerttrustpolicycombobox.cpp.

◆ trustPolicyForIndex()

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

Gets trust policy for a given index of combobox.

Definition at line 62 of file qgsauthcerttrustpolicycombobox.cpp.


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