diff --git a/widegraph.cpp b/widegraph.cpp index 914453d..8ca7c31 100644 --- a/widegraph.cpp +++ b/widegraph.cpp @@ -254,7 +254,7 @@ bool WideGraph::shouldAutoSync(){ return ui->autoDriftButton->isChecked(); } -void WideGraph::on_autoDriftButton_checked(bool checked){ +void WideGraph::on_autoDriftButton_toggled(bool checked){ auto text = ui->autoDriftButton->text(); if(checked){ ui->autoDriftButton->setText(text.replace("Start", "Stop")); diff --git a/widegraph.h b/widegraph.h index 26d873f..38a84f7 100644 --- a/widegraph.h +++ b/widegraph.h @@ -123,7 +123,7 @@ private slots: void on_filterCheckBox_toggled(bool b); void on_filterOpacitySpinBox_valueChanged(int n); - void on_autoDriftButton_checked(bool checked); + void on_autoDriftButton_toggled(bool checked); void on_driftSpinBox_valueChanged(int n); void on_driftSyncButton_clicked(); void on_driftSyncEndButton_clicked(); diff --git a/widegraph.ui b/widegraph.ui index 53d91f3..fb0b91d 100644 --- a/widegraph.ui +++ b/widegraph.ui @@ -428,7 +428,7 @@ 0 0 - 240 + 267 742 @@ -976,7 +976,7 @@ 0 0 281 - 234 + 252 @@ -1020,6 +1020,13 @@ + + + + Qt::Horizontal + + + @@ -1029,13 +1036,20 @@ - Start Automatic Drift Sync + Start Automatic Sync Time Drift true + + + + Qt::Horizontal + + +