diff options
author | Chris Xiong <chirs241097@gmail.com> | 2023-11-26 21:29:16 -0500 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2023-11-26 21:29:16 -0500 |
commit | f7def0d883fa5cab62ef61b40b9f857245be8e6c (patch) | |
tree | d29322dd4be6e98c0740ae6df4dc70eb41614a76 /qmidiplayer-desktop/qmpefxwindow.cpp | |
parent | 60989e52b3f3bc0a95d3e61bd8e59fa4d9b7ab83 (diff) | |
download | QMidiPlayer-f7def0d883fa5cab62ef61b40b9f857245be8e6c.tar.xz |
Initial Qt 6 port. Many bug fixes.
Diffstat (limited to 'qmidiplayer-desktop/qmpefxwindow.cpp')
-rw-r--r-- | qmidiplayer-desktop/qmpefxwindow.cpp | 56 |
1 files changed, 8 insertions, 48 deletions
diff --git a/qmidiplayer-desktop/qmpefxwindow.cpp b/qmidiplayer-desktop/qmpefxwindow.cpp index 0a281cd..2cea976 100644 --- a/qmidiplayer-desktop/qmpefxwindow.cpp +++ b/qmidiplayer-desktop/qmpefxwindow.cpp @@ -35,6 +35,14 @@ qmpEfxWindow::qmpEfxWindow(QWidget *parent) : 0, true ); + connect(ui->sbRoom, qOverload<int>(&QSpinBox::valueChanged), this, &qmpEfxWindow::spinValueChange); + connect(ui->sbDamp, qOverload<int>(&QSpinBox::valueChanged), this, &qmpEfxWindow::spinValueChange); + connect(ui->sbWidth, qOverload<int>(&QSpinBox::valueChanged), this, &qmpEfxWindow::spinValueChange); + connect(ui->sbLevelR, qOverload<int>(&QSpinBox::valueChanged), this, &qmpEfxWindow::spinValueChange); + connect(ui->sbFeedBack, qOverload<int>(&QSpinBox::valueChanged), this, &qmpEfxWindow::spinValueChange); + connect(ui->sbRate, qOverload<double>(&QDoubleSpinBox::valueChanged), this, &qmpEfxWindow::spinValueChange); + connect(ui->sbDepth, qOverload<double>(&QDoubleSpinBox::valueChanged), this, &qmpEfxWindow::spinValueChange); + connect(ui->sbLevelC, qOverload<int>(&QSpinBox::valueChanged), this, &qmpEfxWindow::spinValueChange); if (!settings->getOptionRaw("DialogStatus/EfxW", QRect()).toRect().isNull()) setGeometry(settings->getOptionRaw("DialogStatus/EfxW", QRect()).toRect()); if (settings->getOptionRaw("DialogStatus/EfxWShown", 0).toInt()) @@ -218,54 +226,6 @@ void qmpEfxWindow::on_dLevelC_valueChanged() dailValueChange(); } -void qmpEfxWindow::on_sbRoom_valueChanged(QString s) -{ - s = QString(); - spinValueChange(); -} - -void qmpEfxWindow::on_sbDamp_valueChanged(QString s) -{ - s = QString(); - spinValueChange(); -} - -void qmpEfxWindow::on_sbWidth_valueChanged(QString s) -{ - s = QString(); - spinValueChange(); -} - -void qmpEfxWindow::on_sbLevelR_valueChanged(QString s) -{ - s = QString(); - spinValueChange(); -} - -void qmpEfxWindow::on_sbFeedBack_valueChanged(QString s) -{ - s = QString(); - spinValueChange(); -} - -void qmpEfxWindow::on_sbRate_valueChanged(QString s) -{ - s = QString(); - spinValueChange(); -} - -void qmpEfxWindow::on_sbDepth_valueChanged(QString s) -{ - s = QString(); - spinValueChange(); -} - -void qmpEfxWindow::on_sbLevelC_valueChanged(QString s) -{ - s = QString(); - spinValueChange(); -} - void qmpEfxWindow::on_cbEnabledC_stateChanged() { sendEfxChange(); |