| 21 | #include "ui_MacroSaveDialog.h" |
| 22 | |
| 23 | MacroSaveDialog::MacroSaveDialog(QWidget *parent) : |
| 24 | QDialog(parent), |
| 25 | ui(new Ui::MacroSaveDialog) |
| 26 | { |
| 27 | setWindowFlag(Qt::WindowContextHelpButtonHint, false); |
| 28 | |
| 29 | ui->setupUi(this); |
| 30 | |
| 31 | connect(ui->editName, &QLineEdit::textChanged, [=](const QString &text) { |
| 32 | ui->buttonOk->setEnabled(text.trimmed().size() > 0); |
| 33 | }); |
| 34 | } |
| 35 | |
| 36 | MacroSaveDialog::~MacroSaveDialog() |
| 37 | { |
nothing calls this directly
no test coverage detected