QGIS API Documentation
2.14.11-Essen
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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 "
qgsauthcertutils.h
"
22
26
class
GUI_EXPORT
QgsAuthCertTrustPolicyComboBox
:
public
QComboBox
27
{
28
Q_OBJECT
29
30
public
:
37
explicit
QgsAuthCertTrustPolicyComboBox
(
38
QWidget
*parent =
nullptr
,
39
QgsAuthCertUtils::CertTrustPolicy
policy =
QgsAuthCertUtils::DefaultTrust
,
40
QgsAuthCertUtils::CertTrustPolicy
defaultpolicy =
QgsAuthCertUtils::DefaultTrust
);
41
~
QgsAuthCertTrustPolicyComboBox
();
42
44
QgsAuthCertUtils::CertTrustPolicy
trustPolicy();
45
47
QgsAuthCertUtils::CertTrustPolicy
trustPolicyForIndex(
int
indx );
48
49
public
slots:
51
void
setTrustPolicy(
QgsAuthCertUtils::CertTrustPolicy
policy );
52
54
void
setDefaultTrustPolicy(
QgsAuthCertUtils::CertTrustPolicy
defaultpolicy );
55
56
private
slots:
57
void
highlightCurrentIndex(
int
indx );
58
59
private
:
60
const
QString
defaultTrustText(
61
QgsAuthCertUtils::CertTrustPolicy
defaultpolicy =
QgsAuthCertUtils::DefaultTrust
);
62
};
63
64
#endif // QGSAUTHCERTTRUSTPOLICYCOMBOBOX_H
QWidget
QgsAuthCertUtils::CertTrustPolicy
CertTrustPolicy
Type of certificate trust policy.
Definition:
qgsauthcertutils.h:56
qgsauthcertutils.h
QgsAuthCertUtils::DefaultTrust
Definition:
qgsauthcertutils.h:58
QgsAuthCertTrustPolicyComboBox
Widget for editing the trust policy associated with a Certificate (Intermediate) Authority.
Definition:
qgsauthcerttrustpolicycombobox.h:26
QString
QComboBox
Generated on Wed Jan 25 2017 08:47:22 for QGIS API Documentation by
1.8.8