Skip to content

Commit

Permalink
converting more auto-connects to manual
Browse files Browse the repository at this point in the history
formatting
  • Loading branch information
eteran committed Apr 1, 2019
1 parent 5449395 commit 7348e56
Show file tree
Hide file tree
Showing 13 changed files with 89 additions and 87 deletions.
24 changes: 13 additions & 11 deletions src/DialogDrawingStyles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down Expand Up @@ -279,9 +281,9 @@ void DialogDrawingStyles::currentChanged(const QModelIndex &current, const QMode
}

/**
* @brief DialogDrawingStyles::on_buttonBox_accepted
* @brief DialogDrawingStyles::buttonBox_accepted
*/
void DialogDrawingStyles::on_buttonBox_accepted() {
void DialogDrawingStyles::buttonBox_accepted() {

if (!applyDialogChanges()) {
return;
Expand All @@ -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();
}
Expand Down
6 changes: 2 additions & 4 deletions src/DialogDrawingStyles.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ class DialogDrawingStyles final : public Dialog {
private Q_SLOTS:
void currentChanged(const QModelIndex &current, 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();
Expand Down
18 changes: 10 additions & 8 deletions src/DialogLanguageModes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down Expand Up @@ -226,9 +228,9 @@ void DialogLanguageModes::currentChanged(const QModelIndex &current, 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;
}
Expand All @@ -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);
}
Expand Down
6 changes: 2 additions & 4 deletions src/DialogLanguageModes.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ class DialogLanguageModes final : public Dialog {
private Q_SLOTS:
void currentChanged(const QModelIndex &current, 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();
Expand Down
18 changes: 9 additions & 9 deletions src/DialogMacros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down
4 changes: 2 additions & 2 deletions src/DialogMultiReplace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down
10 changes: 5 additions & 5 deletions src/DialogReplace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down
20 changes: 11 additions & 9 deletions src/DialogShellMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down Expand Up @@ -283,19 +285,19 @@ void DialogShellMenu::currentChanged(const QModelIndex &current, 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;
Expand Down
4 changes: 2 additions & 2 deletions src/DialogShellMenu.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ private Q_SLOTS:
void currentChanged(const QModelIndex &current, 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();
Expand Down
16 changes: 8 additions & 8 deletions src/DialogSmartIndent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down
6 changes: 3 additions & 3 deletions src/DialogSmartIndentCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
26 changes: 13 additions & 13 deletions src/DialogSyntaxPatterns.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down
18 changes: 9 additions & 9 deletions src/DialogWindowBackgroundMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit 7348e56

Please sign in to comment.