17 #ifndef QGSAUTHTRUSTEDCASDIALOG_H 
   18 #define QGSAUTHTRUSTEDCASDIALOG_H 
   22 #include "ui_qgsauthtrustedcasdialog.h" 
   24 #include <QSslCertificate> 
   47                                       const QList<QSslCertificate> &trustedCAs = QList<QSslCertificate>() );
 
   50     void populateCaCertsView();
 
   52     void showCertInfo( QTreeWidgetItem *item );
 
   55     void selectionChanged( 
const QItemSelection &selected, 
const QItemSelection &deselected );
 
   58     void checkSelection();
 
   60     void handleDoubleClick( QTreeWidgetItem *item, 
int col );
 
   62     void btnInfoCa_clicked();
 
   64     void btnGroupByOrg_toggled( 
bool checked );
 
   71     void showEvent( QShowEvent *e ) 
override;
 
   81     void setupCaCertsTree();
 
   83     void populateCaCertsSection( QTreeWidgetItem *item, 
const QList<QSslCertificate> &certs,
 
   84                                  QgsAuthTrustedCAsDialog::CaType catype );
 
   86     void appendCertsToGroup( 
const QList<QSslCertificate> &certs,
 
   87                              QgsAuthTrustedCAsDialog::CaType catype,
 
   88                              QTreeWidgetItem *parent = 
nullptr );
 
   90     void appendCertsToItem( 
const QList<QSslCertificate> &certs,
 
   91                             QgsAuthTrustedCAsDialog::CaType catype,
 
   92                             QTreeWidgetItem *parent = 
nullptr );
 
   97     QList<QSslCertificate> mTrustedCAs;
 
   98     bool mDisabled = 
false;
 
   99     QVBoxLayout *mAuthNotifyLayout = 
nullptr;
 
  100     QLabel *mAuthNotify = 
nullptr;
 
  102     QTreeWidgetItem *mRootCaSecItem = 
nullptr;
 
  105 #endif // QGSAUTHTRUSTEDCASDIALOG_H