49 void populateCaCertsView();
51 void refreshCaCertsView();
53 void showCertInfo( QTreeWidgetItem *item );
56 void selectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected );
59 void checkSelection();
61 void handleDoubleClick( QTreeWidgetItem *item,
int col );
63 void btnAddCa_clicked();
65 void btnRemoveCa_clicked();
67 void btnInfoCa_clicked();
69 void btnGroupByOrg_toggled(
bool checked );
71 void editDefaultTrustPolicy();
75 void btnCaFile_clicked();
77 void btnCaFileClear_clicked();
79 void showTrustedCertificateAuthorities();
82 void logMessage(
const QString &message,
const QString &authtag,
Qgis::MessageLevel level );
86 void showEvent( QShowEvent *e )
override;
98 void setupCaCertsTree();
100 void populateDatabaseCaCerts();
102 void populateFileCaCerts();
104 void populateRootCaCerts();
106 void populateCaCertsSection( QTreeWidgetItem *item,
const QList<QSslCertificate> &certs, QgsAuthAuthoritiesEditor::CaType catype );
108 void appendCertsToGroup(
const QList<QSslCertificate> &certs, QgsAuthAuthoritiesEditor::CaType catype, QTreeWidgetItem *parent =
nullptr );
110 void appendCertsToItem(
const QList<QSslCertificate> &certs, QgsAuthAuthoritiesEditor::CaType catype, QTreeWidgetItem *parent =
nullptr );
112 void updateCertTrustPolicyCache();
114 void populateUtilitiesMenu();
117 int messageTimeout();
119 QVBoxLayout *mAuthNotifyLayout =
nullptr;
120 QLabel *mAuthNotify =
nullptr;
122 QTreeWidgetItem *mRootCaSecItem =
nullptr;
123 QTreeWidgetItem *mFileCaSecItem =
nullptr;
124 QTreeWidgetItem *mDbCaSecItem =
nullptr;
127 QMap<QgsAuthCertUtils::CertTrustPolicy, QStringList> mCertTrustCache;
129 QMenu *mUtilitiesMenu =
nullptr;
130 bool mDisabled =
false;
131 QAction *mActionDefaultTrustPolicy =
nullptr;
132 QAction *mActionShowTrustedCAs =
nullptr;