Commit 20cb2be4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add buttondialogbox

parent 32d679a1
Pipeline #62370 passed with stage
in 40 minutes and 24 seconds
......@@ -20,6 +20,16 @@ ConfigureFiltersDialog::ConfigureFiltersDialog(QWidget *parent)
: QDialog(parent)
, mConfigureFiltersWidget(new ConfigureFiltersWidget(this))
{
auto mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
mConfigureFiltersWidget->setObjectName(QStringLiteral("mConfigureFiltersWidget"));
mainLayout->addWidget(mConfigureFiltersWidget);
auto button = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this);
mainLayout->addWidget(button);
connect(button, &QDialogButtonBox::accepted, this, &ConfigureFiltersDialog::accept);
connect(button, &QDialogButtonBox::rejected, this, &ConfigureFiltersDialog::reject);
readConfig();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment