19 #include "ui_importelementdialog.h" 20 #include <QButtonGroup> 38 else if (
ui->m_erase_actual_rb->isChecked()) {
return QET::Erase; }
39 else if (
ui->m_use_both_rb->isChecked()) {
return QET::Rename; }
45 QButtonGroup *button_group =
new QButtonGroup(
this);
46 button_group->addButton(
ui->m_use_actual_rd);
47 button_group->addButton(
ui->m_use_drop_rb);
48 QButtonGroup *button_group_drop =
new QButtonGroup(
this);
49 button_group_drop->addButton(
ui->m_erase_actual_rb);
50 button_group_drop->addButton(
ui->m_use_both_rb);
52 ui->m_use_drop_rb->setChecked(
true);
53 ui->m_use_both_rb->setChecked(
true);
abort the whole operation, ignoring the curent item
~ImportElementDialog() override
QET::Action action() const
the target has to be renamed
Erase the target content.
Ui::ImportElementDialog * ui
ImportElementDialog(QWidget *parent=nullptr)