18#include "moc_qgsauthcertificatemanager.cpp"
22#include <QDialogButtonBox>
43 setWindowTitle( tr(
"Certificate Manager" ) );
44 QVBoxLayout *layout =
new QVBoxLayout(
this );
45 layout->setContentsMargins( 6, 6, 6, 6 );
48 layout->addWidget( mCertEditors );
50 QDialogButtonBox *buttonBox =
new QDialogButtonBox( QDialogButtonBox::Close, Qt::Horizontal,
this );
51 buttonBox->button( QDialogButtonBox::Close )->setDefault(
true );
52 connect( buttonBox, &QDialogButtonBox::rejected,
this, &QWidget::close );
53 layout->addWidget( buttonBox );
Wrapper widget to manage available certificate editors.
QgsAuthCertEditors(QWidget *parent=nullptr)
Construct a widget to contain various certificate editors.
~QgsAuthCertEditors() override
Destructor: store last selected tab.
QgsAuthCertManager(QWidget *parent=nullptr)
Construct a dialog wrapper for widget to manage available certificate editors.
This class is a composition of two QSettings instances:
QVariant value(const QString &key, const QVariant &defaultValue=QVariant(), Section section=NoSection) const
Returns the value for setting key.
void setValue(const QString &key, const QVariant &value, QgsSettings::Section section=QgsSettings::NoSection)
Sets the value of setting key to value.