Hi,
i want when i finished entred position (numbers) in 3 doublespinbox
it show to me an object
for that

i make like that, i define class
Qt Code:
  1. Coordinate3dWidget::Coordinate3dWidget(QWidget *parent):
  2. QWidget(parent)
  3. {
  4.  
  5. pos_cam = new QGroupBox(this);
  6. pos_cam->setObjectName(QString::fromUtf8("pos_cam"));
  7. pos_cam->setGeometry(QRect(10, 50, 191, 71));
  8. pos_cam->setTitle("Position");
  9.  
  10. sbx_cam = new QDoubleSpinBox(pos_cam);
  11. sbx_cam->setObjectName(QString::fromUtf8("sbx_cam"));
  12. sbx_cam->setGeometry(QRect(10, 40, 51, 22));
  13. sbx_cam->setRange(-5000, 5000);
  14. lx_cam = new QLabel(pos_cam);
  15. lx_cam->setObjectName(QString::fromUtf8("lx_cam"));
  16. lx_cam->setGeometry(QRect(10, 20, 46, 13));
  17. lx_cam->setText(QApplication::translate("MainWindow", "X :", 0, QApplication::UnicodeUTF8));
  18.  
  19. sby_cam = new QDoubleSpinBox(pos_cam);
  20. sby_cam->setObjectName(QString::fromUtf8("sby_cam"));
  21. sby_cam->setGeometry(QRect(70, 40, 51, 22));
  22. sby_cam->setRange(-5000, 5000);
  23. ly_cam = new QLabel(pos_cam);
  24. ly_cam->setObjectName(QString::fromUtf8("ly_cam"));
  25. ly_cam->setGeometry(QRect(70, 20, 46, 13));
  26. ly_cam->setText(QApplication::translate("MainWindow", "Y :", 0, QApplication::UnicodeUTF8));
  27. sbz_cam = new QDoubleSpinBox(pos_cam);
  28. sbz_cam->setObjectName(QString::fromUtf8("sbz_cam"));
  29. sbz_cam->setGeometry(QRect(130, 40, 51, 22));
  30. sbz_cam->setRange(-5000, 5000);
  31. lz_cam = new QLabel(pos_cam);
  32. lz_cam->setObjectName(QString::fromUtf8("lz_cam"));
  33. lz_cam->setGeometry(QRect(130, 20, 46, 13));
  34. lz_cam->setText(QApplication::translate("MainWindow", "Z :", 0, QApplication::UnicodeUTF8));
  35.  
  36. connect(sbx_cam, SIGNAL(editingFinished()), this, SLOT(onCoordinateChanged()));
  37. connect(sby_cam, SIGNAL(editingFinished()), this, SLOT(onCoordinateChanged()));
  38. connect(sbz_cam, SIGNAL(editingFinished()), this, SLOT(onCoordinateChanged()));
  39. }
To copy to clipboard, switch view to plain text mode 
but it dos not work , it add to me 3 object (when i enter value in sbx_cam it add to me an object , when i enter value in sby_cam it add to me another !!!!!!!!!!!)
i want when i the editingFinished() of the 3 DoubleSpinBox i add the object not when i finished one