diff --git a/src/DialogDrawingStyles.cpp b/src/DialogDrawingStyles.cpp index e13913ab..704d5808 100644 --- a/src/DialogDrawingStyles.cpp +++ b/src/DialogDrawingStyles.cpp @@ -56,13 +56,15 @@ DialogDrawingStyles::DialogDrawingStyles(DialogSyntaxPatterns *dialogSyntaxPatte * @brief DialogDrawingStyles::connectSlots */ void DialogDrawingStyles::connectSlots() { - connect(ui.buttonNew , &QPushButton::clicked, this, &DialogDrawingStyles::buttonNew_clicked); - connect(ui.buttonCopy , &QPushButton::clicked, this, &DialogDrawingStyles::buttonCopy_clicked); - connect(ui.buttonDelete , &QPushButton::clicked, this, &DialogDrawingStyles::buttonDelete_clicked); - connect(ui.buttonUp , &QPushButton::clicked, this, &DialogDrawingStyles::buttonUp_clicked); - connect(ui.buttonDown , &QPushButton::clicked, this, &DialogDrawingStyles::buttonDown_clicked); - connect(ui.buttonForeground, &QPushButton::clicked, this, &DialogDrawingStyles::buttonForeground_clicked); - connect(ui.buttonBackground, &QPushButton::clicked, this, &DialogDrawingStyles::buttonBackground_clicked); + connect(ui.buttonNew, &QPushButton::clicked, this, &DialogDrawingStyles::buttonNew_clicked); + connect(ui.buttonCopy, &QPushButton::clicked, this, &DialogDrawingStyles::buttonCopy_clicked); + connect(ui.buttonDelete, &QPushButton::clicked, this, &DialogDrawingStyles::buttonDelete_clicked); + connect(ui.buttonUp, &QPushButton::clicked, this, &DialogDrawingStyles::buttonUp_clicked); + connect(ui.buttonDown, &QPushButton::clicked, this, &DialogDrawingStyles::buttonDown_clicked); + connect(ui.buttonForeground, &QPushButton::clicked, this, &DialogDrawingStyles::buttonForeground_clicked); + connect(ui.buttonBackground, &QPushButton::clicked, this, &DialogDrawingStyles::buttonBackground_clicked); + connect(ui.buttonBox, &QDialogButtonBox::accepted, this, &DialogDrawingStyles::buttonBox_accepted); + connect(ui.buttonBox, &QDialogButtonBox::clicked, this, &DialogDrawingStyles::buttonBox_clicked); } @@ -279,9 +281,9 @@ void DialogDrawingStyles::currentChanged(const QModelIndex ¤t, const QMode } /** - * @brief DialogDrawingStyles::on_buttonBox_accepted + * @brief DialogDrawingStyles::buttonBox_accepted */ -void DialogDrawingStyles::on_buttonBox_accepted() { +void DialogDrawingStyles::buttonBox_accepted() { if (!applyDialogChanges()) { return; @@ -292,10 +294,10 @@ void DialogDrawingStyles::on_buttonBox_accepted() { /** - * @brief DialogDrawingStyles::on_buttonBox_clicked + * @brief DialogDrawingStyles::buttonBox_clicked * @param button */ -void DialogDrawingStyles::on_buttonBox_clicked(QAbstractButton *button) { +void DialogDrawingStyles::buttonBox_clicked(QAbstractButton *button) { if(ui.buttonBox->standardButton(button) == QDialogButtonBox::Apply) { applyDialogChanges(); } diff --git a/src/DialogDrawingStyles.h b/src/DialogDrawingStyles.h index 8edf59f0..97700a95 100644 --- a/src/DialogDrawingStyles.h +++ b/src/DialogDrawingStyles.h @@ -28,11 +28,9 @@ class DialogDrawingStyles final : public Dialog { private Q_SLOTS: void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); -private Q_SLOTS: - void on_buttonBox_clicked(QAbstractButton *button); - void on_buttonBox_accepted(); - private: + void buttonBox_clicked(QAbstractButton *button); + void buttonBox_accepted(); void buttonNew_clicked(); void buttonCopy_clicked(); void buttonDelete_clicked(); diff --git a/src/DialogLanguageModes.cpp b/src/DialogLanguageModes.cpp index 1da1470b..5408c4d7 100644 --- a/src/DialogLanguageModes.cpp +++ b/src/DialogLanguageModes.cpp @@ -62,11 +62,13 @@ DialogLanguageModes::DialogLanguageModes(DialogSyntaxPatterns *dialogSyntaxPatte * @brief DialogLanguageModes::connectSlots */ void DialogLanguageModes::connectSlots() { - connect(ui.buttonUp , &QPushButton::clicked, this, &DialogLanguageModes::buttonUp_clicked); - connect(ui.buttonDown , &QPushButton::clicked, this, &DialogLanguageModes::buttonDown_clicked); + connect(ui.buttonUp, &QPushButton::clicked, this, &DialogLanguageModes::buttonUp_clicked); + connect(ui.buttonDown, &QPushButton::clicked, this, &DialogLanguageModes::buttonDown_clicked); connect(ui.buttonDelete, &QPushButton::clicked, this, &DialogLanguageModes::buttonDelete_clicked); - connect(ui.buttonCopy , &QPushButton::clicked, this, &DialogLanguageModes::buttonCopy_clicked); - connect(ui.buttonNew , &QPushButton::clicked, this, &DialogLanguageModes::buttonNew_clicked); + connect(ui.buttonCopy, &QPushButton::clicked, this, &DialogLanguageModes::buttonCopy_clicked); + connect(ui.buttonNew, &QPushButton::clicked, this, &DialogLanguageModes::buttonNew_clicked); + connect(ui.buttonBox, &QDialogButtonBox::accepted, this, &DialogLanguageModes::buttonBox_accepted); + connect(ui.buttonBox, &QDialogButtonBox::clicked, this, &DialogLanguageModes::buttonBox_clicked); } @@ -226,9 +228,9 @@ void DialogLanguageModes::currentChanged(const QModelIndex ¤t, const QMode } /** - * @brief DialogLanguageModes::on_buttonBox_accepted + * @brief DialogLanguageModes::buttonBox_accepted */ -void DialogLanguageModes::on_buttonBox_accepted() { +void DialogLanguageModes::buttonBox_accepted() { if (!updateLMList(Verbosity::Verbose)) { return; } @@ -237,10 +239,10 @@ void DialogLanguageModes::on_buttonBox_accepted() { } /** - * @brief DialogLanguageModes::on_buttonBox_clicked + * @brief DialogLanguageModes::buttonBox_clicked * @param button */ -void DialogLanguageModes::on_buttonBox_clicked(QAbstractButton *button) { +void DialogLanguageModes::buttonBox_clicked(QAbstractButton *button) { if(ui.buttonBox->standardButton(button) == QDialogButtonBox::Apply) { updateLMList(Verbosity::Verbose); } diff --git a/src/DialogLanguageModes.h b/src/DialogLanguageModes.h index 33c83218..af7a49eb 100644 --- a/src/DialogLanguageModes.h +++ b/src/DialogLanguageModes.h @@ -26,11 +26,9 @@ class DialogLanguageModes final : public Dialog { private Q_SLOTS: void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); -private Q_SLOTS: - void on_buttonBox_accepted(); - void on_buttonBox_clicked(QAbstractButton *button); - private: + void buttonBox_clicked(QAbstractButton *button); + void buttonBox_accepted(); void buttonUp_clicked(); void buttonDown_clicked(); void buttonDelete_clicked(); diff --git a/src/DialogMacros.cpp b/src/DialogMacros.cpp index 85be2801..43b0cbd0 100644 --- a/src/DialogMacros.cpp +++ b/src/DialogMacros.cpp @@ -54,15 +54,15 @@ DialogMacros::DialogMacros(QWidget *parent, Qt::WindowFlags f) : Dialog(parent, * @brief DialogMacros::connectSlots */ void DialogMacros::connectSlots() { - connect(ui.buttonNew , &QPushButton::clicked, this, &DialogMacros::buttonNew_clicked); - connect(ui.buttonCopy , &QPushButton::clicked, this, &DialogMacros::buttonCopy_clicked); - connect(ui.buttonDelete , &QPushButton::clicked, this, &DialogMacros::buttonDelete_clicked); - connect(ui.buttonUp , &QPushButton::clicked, this, &DialogMacros::buttonUp_clicked); - connect(ui.buttonDown , &QPushButton::clicked, this, &DialogMacros::buttonDown_clicked); - connect(ui.buttonPasteLRMacro , &QPushButton::clicked, this, &DialogMacros::buttonPasteLRMacro_clicked); - connect(ui.buttonCheck , &QPushButton::clicked, this, &DialogMacros::buttonCheck_clicked); - connect(ui.buttonApply , &QPushButton::clicked, this, &DialogMacros::buttonApply_clicked); - connect(ui.buttonOK , &QPushButton::clicked, this, &DialogMacros::buttonOK_clicked); + connect(ui.buttonNew, &QPushButton::clicked, this, &DialogMacros::buttonNew_clicked); + connect(ui.buttonCopy, &QPushButton::clicked, this, &DialogMacros::buttonCopy_clicked); + connect(ui.buttonDelete, &QPushButton::clicked, this, &DialogMacros::buttonDelete_clicked); + connect(ui.buttonUp, &QPushButton::clicked, this, &DialogMacros::buttonUp_clicked); + connect(ui.buttonDown, &QPushButton::clicked, this, &DialogMacros::buttonDown_clicked); + connect(ui.buttonPasteLRMacro, &QPushButton::clicked, this, &DialogMacros::buttonPasteLRMacro_clicked); + connect(ui.buttonCheck, &QPushButton::clicked, this, &DialogMacros::buttonCheck_clicked); + connect(ui.buttonApply, &QPushButton::clicked, this, &DialogMacros::buttonApply_clicked); + connect(ui.buttonOK, &QPushButton::clicked, this, &DialogMacros::buttonOK_clicked); } diff --git a/src/DialogMultiReplace.cpp b/src/DialogMultiReplace.cpp index ef882281..ac8b5516 100644 --- a/src/DialogMultiReplace.cpp +++ b/src/DialogMultiReplace.cpp @@ -26,8 +26,8 @@ DialogMultiReplace::DialogMultiReplace(DialogReplace *replace, Qt::WindowFlags f */ void DialogMultiReplace::connectSlots() { connect(ui.buttonDeselectAll, &QPushButton::clicked, this, &DialogMultiReplace::buttonDeselectAll_clicked); - connect(ui.buttonSelectAll , &QPushButton::clicked, this, &DialogMultiReplace::buttonSelectAll_clicked); - connect(ui.buttonReplace , &QPushButton::clicked, this, &DialogMultiReplace::buttonReplace_clicked); + connect(ui.buttonSelectAll, &QPushButton::clicked, this, &DialogMultiReplace::buttonSelectAll_clicked); + connect(ui.buttonReplace, &QPushButton::clicked, this, &DialogMultiReplace::buttonReplace_clicked); } /** diff --git a/src/DialogReplace.cpp b/src/DialogReplace.cpp index d7791c53..ac19e12f 100644 --- a/src/DialogReplace.cpp +++ b/src/DialogReplace.cpp @@ -95,12 +95,12 @@ DialogReplace::DialogReplace(MainWindow *window, DocumentWidget *document, Qt::W * @brief DialogReplace::connectSlots */ void DialogReplace::connectSlots() { - connect(ui.buttonFind , &QPushButton::clicked, this, &DialogReplace::buttonFind_clicked); - connect(ui.buttonReplace , &QPushButton::clicked, this, &DialogReplace::buttonReplace_clicked); + connect(ui.buttonFind, &QPushButton::clicked, this, &DialogReplace::buttonFind_clicked); + connect(ui.buttonReplace, &QPushButton::clicked, this, &DialogReplace::buttonReplace_clicked); connect(ui.buttonReplaceFind, &QPushButton::clicked, this, &DialogReplace::buttonReplaceFind_clicked); - connect(ui.buttonWindow , &QPushButton::clicked, this, &DialogReplace::buttonWindow_clicked); - connect(ui.buttonSelection , &QPushButton::clicked, this, &DialogReplace::buttonSelection_clicked); - connect(ui.buttonMulti , &QPushButton::clicked, this, &DialogReplace::buttonMulti_clicked); + connect(ui.buttonWindow, &QPushButton::clicked, this, &DialogReplace::buttonWindow_clicked); + connect(ui.buttonSelection, &QPushButton::clicked, this, &DialogReplace::buttonSelection_clicked); + connect(ui.buttonMulti, &QPushButton::clicked, this, &DialogReplace::buttonMulti_clicked); } diff --git a/src/DialogShellMenu.cpp b/src/DialogShellMenu.cpp index ddfc6255..100a7204 100644 --- a/src/DialogShellMenu.cpp +++ b/src/DialogShellMenu.cpp @@ -48,11 +48,13 @@ DialogShellMenu::DialogShellMenu(QWidget *parent, Qt::WindowFlags f) : Dialog(pa * @brief DialogShellMenu::connectSlots */ void DialogShellMenu::connectSlots() { - connect(ui.buttonNew , &QPushButton::clicked, this, &DialogShellMenu::buttonNew_clicked); - connect(ui.buttonCopy , &QPushButton::clicked, this, &DialogShellMenu::buttonCopy_clicked); - connect(ui.buttonDelete, &QPushButton::clicked, this, &DialogShellMenu::buttonDelete_clicked); - connect(ui.buttonUp , &QPushButton::clicked, this, &DialogShellMenu::buttonUp_clicked); - connect(ui.buttonDown , &QPushButton::clicked, this, &DialogShellMenu::buttonDown_clicked); + connect(ui.buttonNew, &QPushButton::clicked, this, &DialogShellMenu::buttonNew_clicked); + connect(ui.buttonCopy, &QPushButton::clicked, this, &DialogShellMenu::buttonCopy_clicked); + connect(ui.buttonDelete, &QPushButton::clicked, this, &DialogShellMenu::buttonDelete_clicked); + connect(ui.buttonUp, &QPushButton::clicked, this, &DialogShellMenu::buttonUp_clicked); + connect(ui.buttonDown, &QPushButton::clicked, this, &DialogShellMenu::buttonDown_clicked); + connect(ui.buttonBox, &QDialogButtonBox::accepted, this, &DialogShellMenu::buttonBox_accepted); + connect(ui.buttonBox, &QDialogButtonBox::clicked, this, &DialogShellMenu::buttonBox_clicked); } @@ -283,19 +285,19 @@ void DialogShellMenu::currentChanged(const QModelIndex ¤t, const QModelInd } /** - * @brief DialogShellMenu::on_buttonBox_clicked + * @brief DialogShellMenu::buttonBox_clicked * @param button */ -void DialogShellMenu::on_buttonBox_clicked(QAbstractButton *button) { +void DialogShellMenu::buttonBox_clicked(QAbstractButton *button) { if(ui.buttonBox->standardButton(button) == QDialogButtonBox::Apply) { applyDialogChanges(); } } /** - * @brief DialogShellMenu::on_buttonBox_accepted + * @brief DialogShellMenu::buttonBox_accepted */ -void DialogShellMenu::on_buttonBox_accepted() { +void DialogShellMenu::buttonBox_accepted() { // Read the dialog fields, and update the menus if (!applyDialogChanges()) { return; diff --git a/src/DialogShellMenu.h b/src/DialogShellMenu.h index 08599e23..99e9ea26 100644 --- a/src/DialogShellMenu.h +++ b/src/DialogShellMenu.h @@ -25,11 +25,11 @@ private Q_SLOTS: void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); private Q_SLOTS: - void on_buttonBox_clicked(QAbstractButton *button); - void on_buttonBox_accepted(); void on_radioToSameDocument_toggled(bool checked); private: + void buttonBox_clicked(QAbstractButton *button); + void buttonBox_accepted(); void buttonNew_clicked(); void buttonCopy_clicked(); void buttonDelete_clicked(); diff --git a/src/DialogSmartIndent.cpp b/src/DialogSmartIndent.cpp index c54faf15..bbaa83de 100644 --- a/src/DialogSmartIndent.cpp +++ b/src/DialogSmartIndent.cpp @@ -38,14 +38,14 @@ DialogSmartIndent::DialogSmartIndent(DocumentWidget *document, QWidget *parent, * @brief DialogSmartIndent::connectSlots */ void DialogSmartIndent::connectSlots() { - connect(ui.buttonCommon , &QPushButton::clicked, this, &DialogSmartIndent::buttonCommon_clicked); - connect(ui.buttonLanguageMode, &QPushButton::clicked, this, &DialogSmartIndent::buttonLanguageMode_clicked); - connect(ui.buttonOK , &QPushButton::clicked, this, &DialogSmartIndent::buttonOK_clicked); - connect(ui.buttonApply , &QPushButton::clicked, this, &DialogSmartIndent::buttonApply_clicked); - connect(ui.buttonCheck , &QPushButton::clicked, this, &DialogSmartIndent::buttonCheck_clicked); - connect(ui.buttonDelete , &QPushButton::clicked, this, &DialogSmartIndent::buttonDelete_clicked); - connect(ui.buttonRestore , &QPushButton::clicked, this, &DialogSmartIndent::buttonRestore_clicked); - connect(ui.buttonHelp , &QPushButton::clicked, this, &DialogSmartIndent::buttonHelp_clicked); + connect(ui.buttonCommon, &QPushButton::clicked, this, &DialogSmartIndent::buttonCommon_clicked); + connect(ui.buttonLanguageMode, &QPushButton::clicked, this, &DialogSmartIndent::buttonLanguageMode_clicked); + connect(ui.buttonOK, &QPushButton::clicked, this, &DialogSmartIndent::buttonOK_clicked); + connect(ui.buttonApply, &QPushButton::clicked, this, &DialogSmartIndent::buttonApply_clicked); + connect(ui.buttonCheck, &QPushButton::clicked, this, &DialogSmartIndent::buttonCheck_clicked); + connect(ui.buttonDelete, &QPushButton::clicked, this, &DialogSmartIndent::buttonDelete_clicked); + connect(ui.buttonRestore, &QPushButton::clicked, this, &DialogSmartIndent::buttonRestore_clicked); + connect(ui.buttonHelp, &QPushButton::clicked, this, &DialogSmartIndent::buttonHelp_clicked); } diff --git a/src/DialogSmartIndentCommon.cpp b/src/DialogSmartIndentCommon.cpp index 7f52d409..d8af9f65 100644 --- a/src/DialogSmartIndentCommon.cpp +++ b/src/DialogSmartIndentCommon.cpp @@ -25,9 +25,9 @@ DialogSmartIndentCommon::DialogSmartIndentCommon(QWidget *parent, Qt::WindowFlag * @brief DialogSmartIndentCommon::connectSlots */ void DialogSmartIndentCommon::connectSlots() { - connect(ui.buttonOK , &QPushButton::clicked, this, &DialogSmartIndentCommon::buttonOK_clicked); - connect(ui.buttonApply , &QPushButton::clicked, this, &DialogSmartIndentCommon::buttonApply_clicked); - connect(ui.buttonCheck , &QPushButton::clicked, this, &DialogSmartIndentCommon::buttonCheck_clicked); + connect(ui.buttonOK, &QPushButton::clicked, this, &DialogSmartIndentCommon::buttonOK_clicked); + connect(ui.buttonApply, &QPushButton::clicked, this, &DialogSmartIndentCommon::buttonApply_clicked); + connect(ui.buttonCheck, &QPushButton::clicked, this, &DialogSmartIndentCommon::buttonCheck_clicked); connect(ui.buttonRestore, &QPushButton::clicked, this, &DialogSmartIndentCommon::buttonRestore_clicked); } diff --git a/src/DialogSyntaxPatterns.cpp b/src/DialogSyntaxPatterns.cpp index 224c0c5b..5a2e67e7 100644 --- a/src/DialogSyntaxPatterns.cpp +++ b/src/DialogSyntaxPatterns.cpp @@ -67,19 +67,19 @@ DialogSyntaxPatterns::DialogSyntaxPatterns(MainWindow *window, Qt::WindowFlags f * @brief DialogSyntaxPatterns::connectSlots */ void DialogSyntaxPatterns::connectSlots() { - connect(ui.buttonLanguageMode , &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonLanguageMode_clicked); - connect(ui.buttonHighlightStyle, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonHighlightStyle_clicked); - connect(ui.buttonNew , &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonNew_clicked); - connect(ui.buttonDelete , &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonDelete_clicked); - connect(ui.buttonCopy , &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonCopy_clicked); - connect(ui.buttonUp , &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonUp_clicked); - connect(ui.buttonDown , &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonDown_clicked); - connect(ui.buttonOK , &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonOK_clicked); - connect(ui.buttonApply , &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonApply_clicked); - connect(ui.buttonCheck , &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonCheck_clicked); - connect(ui.buttonDeletePattern , &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonDeletePattern_clicked); - connect(ui.buttonRestore , &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonRestore_clicked); - connect(ui.buttonHelp , &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonHelp_clicked); + connect(ui.buttonLanguageMode, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonLanguageMode_clicked); + connect(ui.buttonHighlightStyle, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonHighlightStyle_clicked); + connect(ui.buttonNew, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonNew_clicked); + connect(ui.buttonDelete, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonDelete_clicked); + connect(ui.buttonCopy, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonCopy_clicked); + connect(ui.buttonUp, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonUp_clicked); + connect(ui.buttonDown, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonDown_clicked); + connect(ui.buttonOK, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonOK_clicked); + connect(ui.buttonApply, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonApply_clicked); + connect(ui.buttonCheck, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonCheck_clicked); + connect(ui.buttonDeletePattern, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonDeletePattern_clicked); + connect(ui.buttonRestore, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonRestore_clicked); + connect(ui.buttonHelp, &QPushButton::clicked, this, &DialogSyntaxPatterns::buttonHelp_clicked); } /** diff --git a/src/DialogWindowBackgroundMenu.cpp b/src/DialogWindowBackgroundMenu.cpp index 4cb0b5c6..e25554d4 100644 --- a/src/DialogWindowBackgroundMenu.cpp +++ b/src/DialogWindowBackgroundMenu.cpp @@ -54,15 +54,15 @@ DialogWindowBackgroundMenu::DialogWindowBackgroundMenu(QWidget *parent, Qt::Wind * @brief DialogWindowBackgroundMenu::connectSlots */ void DialogWindowBackgroundMenu::connectSlots() { - connect(ui.buttonNew , &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonNew_clicked); - connect(ui.buttonCopy , &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonCopy_clicked); - connect(ui.buttonDelete , &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonDelete_clicked); - connect(ui.buttonUp , &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonUp_clicked); - connect(ui.buttonDown , &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonDown_clicked); - connect(ui.buttonPasteLRMacro , &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonPasteLRMacro_clicked); - connect(ui.buttonCheck , &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonCheck_clicked); - connect(ui.buttonApply , &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonApply_clicked); - connect(ui.buttonOK , &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonOK_clicked); + connect(ui.buttonNew, &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonNew_clicked); + connect(ui.buttonCopy, &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonCopy_clicked); + connect(ui.buttonDelete, &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonDelete_clicked); + connect(ui.buttonUp, &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonUp_clicked); + connect(ui.buttonDown, &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonDown_clicked); + connect(ui.buttonPasteLRMacro, &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonPasteLRMacro_clicked); + connect(ui.buttonCheck, &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonCheck_clicked); + connect(ui.buttonApply, &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonApply_clicked); + connect(ui.buttonOK, &QPushButton::clicked, this, &DialogWindowBackgroundMenu::buttonOK_clicked); }