QGIS API Documentation
3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
src
gui
auth
qgsauthcerttrustpolicycombobox.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsauthcerttrustpolicycombobox.h
3
---------------------
4
begin : May 02, 2015
5
copyright : (C) 2015 by Boundless Spatial, Inc. USA
6
author : Larry Shaffer
7
email : lshaffer at boundlessgeo dot com
8
***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
17
#ifndef QGSAUTHCERTTRUSTPOLICYCOMBOBOX_H
18
#define QGSAUTHCERTTRUSTPOLICYCOMBOBOX_H
19
20
#include <QComboBox>
21
#include "
qgis_sip.h
"
22
#include "
qgsauthcertutils.h
"
23
#include "qgis_gui.h"
24
29
class
GUI_EXPORT
QgsAuthCertTrustPolicyComboBox
:
public
QComboBox
30
{
31
Q_OBJECT
32
33
public
:
34
41
explicit
QgsAuthCertTrustPolicyComboBox
(
42
QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
,
43
QgsAuthCertUtils::CertTrustPolicy
policy =
QgsAuthCertUtils::DefaultTrust
,
44
QgsAuthCertUtils::CertTrustPolicy
defaultpolicy =
QgsAuthCertUtils::DefaultTrust
);
45
47
QgsAuthCertUtils::CertTrustPolicy
trustPolicy();
48
50
QgsAuthCertUtils::CertTrustPolicy
trustPolicyForIndex(
int
indx );
51
52
public
slots:
54
void
setTrustPolicy(
QgsAuthCertUtils::CertTrustPolicy
policy );
55
57
void
setDefaultTrustPolicy(
QgsAuthCertUtils::CertTrustPolicy
defaultpolicy );
58
59
private
slots:
60
void
highlightCurrentIndex(
int
indx );
61
62
private
:
63
const
QString defaultTrustText(
64
QgsAuthCertUtils::CertTrustPolicy
defaultpolicy =
QgsAuthCertUtils::DefaultTrust
);
65
};
66
67
#endif
// QGSAUTHCERTTRUSTPOLICYCOMBOBOX_H
QgsAuthCertTrustPolicyComboBox
Widget for editing the trust policy associated with a Certificate (Intermediate) Authority.
Definition
qgsauthcerttrustpolicycombobox.h:30
QgsAuthCertUtils::CertTrustPolicy
CertTrustPolicy
Type of certificate trust policy.
Definition
qgsauthcertutils.h:54
QgsAuthCertUtils::DefaultTrust
@ DefaultTrust
Definition
qgsauthcertutils.h:55
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
qgsauthcertutils.h
Generated on Mon Oct 30 2023 18:42:25 for QGIS API Documentation by
1.9.8