#include "QuantiDialog.h" #include QuantiDialog::QuantiDialog(QWidget* parent) : QDialog(parent) , Ui::QuantiDialog() { setupUi(this); //connect(area_quanti, static_cast(&QSpinBox::valueChanged), this, SLOT(QuantiDialog::updateLabe())); //connect(area_quanti, SIGNAL(valueChanged(int)), this, &QuantiDialog::updateLabelValue); //connect(area_quanti, static_cast(&QDoubleSpinBox::valueChanged), this, &QuantiDialog::updateLabelValue); }