|
|
|
|
@ -42,8 +42,16 @@ FilterActionMissingIdentityDialog::FilterActionMissingIdentityDialog(const QStri |
|
|
|
|
setWindowTitle(i18n("Select Identity")); |
|
|
|
|
QVBoxLayout *mainLayout = new QVBoxLayout(this); |
|
|
|
|
|
|
|
|
|
QWidget *mainWidget = new QWidget(this); |
|
|
|
|
mainLayout->addWidget(mainWidget); |
|
|
|
|
QLabel *label = new QLabel(this); |
|
|
|
|
label->setObjectName(QStringLiteral("label")); |
|
|
|
|
label->setText(i18n("Filter identity is missing. " |
|
|
|
|
"Please select an identity to use with filter \"%1\"", |
|
|
|
|
filtername)); |
|
|
|
|
label->setWordWrap(true); |
|
|
|
|
mainLayout->addWidget(label); |
|
|
|
|
mComboBoxIdentity = new KIdentityManagement::IdentityCombo(KernelIf->identityManager(), this); |
|
|
|
|
mComboBoxIdentity->setObjectName(QStringLiteral("comboboxidentity")); |
|
|
|
|
mainLayout->addWidget(mComboBoxIdentity); |
|
|
|
|
|
|
|
|
|
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this); |
|
|
|
|
buttonBox->setObjectName(QStringLiteral("buttonbox")); |
|
|
|
|
@ -55,17 +63,7 @@ FilterActionMissingIdentityDialog::FilterActionMissingIdentityDialog(const QStri |
|
|
|
|
connect(buttonBox, &QDialogButtonBox::rejected, this, &FilterActionMissingIdentityDialog::reject); |
|
|
|
|
mainLayout->addWidget(buttonBox); |
|
|
|
|
okButton->setDefault(true); |
|
|
|
|
QVBoxLayout *lay = new QVBoxLayout(mainWidget); |
|
|
|
|
QLabel *label = new QLabel(this); |
|
|
|
|
label->setObjectName(QStringLiteral("label")); |
|
|
|
|
label->setText(i18n("Filter identity is missing. " |
|
|
|
|
"Please select an identity to use with filter \"%1\"", |
|
|
|
|
filtername)); |
|
|
|
|
label->setWordWrap(true); |
|
|
|
|
lay->addWidget(label); |
|
|
|
|
mComboBoxIdentity = new KIdentityManagement::IdentityCombo(KernelIf->identityManager(), this); |
|
|
|
|
mComboBoxIdentity->setObjectName(QStringLiteral("comboboxidentity")); |
|
|
|
|
lay->addWidget(mComboBoxIdentity); |
|
|
|
|
|
|
|
|
|
readConfig(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|