13 const QVariantMap &preferences,
19 QVBoxLayout *dlgLayout =
new QVBoxLayout(
this);
25 new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel | QDialogButtonBox::Reset);
27 connect(
buttons, &QDialogButtonBox::accepted,
this, &KisMediaEncoderPreferencesDialog::accept);
28 connect(
buttons, &QDialogButtonBox::rejected,
this, &KisMediaEncoderPreferencesDialog::reject);
29 connect(
buttons->button(QDialogButtonBox::Reset),
30 &QPushButton::clicked,