hi it's me again

i create fuction to add camera if i clic button it add it in positions where is entred its
i make that
Qt Code:
  1. page_14 = new QWidget();
  2. page_14->setObjectName(QString::fromUtf8("page_14"));
  3. page_14->setGeometry(QRect(0, 0, 211, 250));
  4.  
  5.  
  6. toolBox_5 = new QToolBox(dockWidgetContents_5);
  7. toolBox_5->setObjectName(QString::fromUtf8("toolBox_5"));
  8. toolBox_5->setGeometry(QRect(0, 0, 211, 331));
  9. toolBox_5->setAutoFillBackground(false);
  10. toolBox_5->setFrameShape(QFrame::NoFrame);
  11. toolBox_5->setFrameShadow(QFrame::Plain);
  12. toolBox_5->addItem(page_14, QString::fromUtf8("Object"));
  13. toolBox_5->setItemText(toolBox_5->indexOf(page_14), QApplication::translate("MainWindow", "Camera", 0, QApplication::UnicodeUTF8));
  14.  
  15. toolButton_17 = new QToolButton(page_13);
  16. toolButton_17->setObjectName(QString::fromUtf8("toolButton_13"));
  17. toolButton_17->setGeometry(QRect(10, 10, 31, 31));
  18. toolButton_17->setText(QApplication::translate("MainWindow", "Add", 0, QApplication::UnicodeUTF8));
  19.  
  20. doubleSpinBox = new QDoubleSpinBox(groupBox_6);
  21. doubleSpinBox->setObjectName(QString::fromUtf8("doubleSpinBox"));
  22. doubleSpinBox->setGeometry(QRect(10, 40, 51, 22));
  23.  
  24. doubleSpinBox_2 = new QDoubleSpinBox(groupBox_6);
  25. doubleSpinBox_2->setObjectName(QString::fromUtf8("doubleSpinBox_2"));
  26. doubleSpinBox_2->setGeometry(QRect(70, 40, 51, 22));
  27.  
  28. doubleSpinBox_3 = new QDoubleSpinBox(groupBox_6);
  29. doubleSpinBox_3->setObjectName(QString::fromUtf8("doubleSpinBox_3"));
  30. doubleSpinBox_3->setGeometry(QRect(130, 40, 51, 22));
  31.  
  32. label = new QLabel(groupBox_6);
  33. label->setObjectName(QString::fromUtf8("label"));
  34. label->setGeometry(QRect(10, 20, 46, 13));
  35. label->setText(QApplication::translate("MainWindow", "X :", 0, QApplication::UnicodeUTF8));
  36.  
  37. label_2 = new QLabel(groupBox_6);
  38. label_2->setObjectName(QString::fromUtf8("label_2"));
  39. label_2->setGeometry(QRect(70, 20, 46, 13));
  40. label_2->setText(QApplication::translate("MainWindow", "Y :", 0, QApplication::UnicodeUTF8));
  41.  
  42. label_3 = new QLabel(groupBox_6);
  43. label_3->setObjectName(QString::fromUtf8("label_3"));
  44. label_3->setGeometry(QRect(130, 20, 46, 13));
  45. label_3->setText(QApplication::translate("MainWindow", "Z :", 0, QApplication::UnicodeUTF8));
To copy to clipboard, switch view to plain text mode 

my function to add cam is
Qt Code:
  1. void OgreWidget::add_camera(const Ogre::Vector3 &pos)
  2. {
  3. char name_cam[16];
  4.  
  5. sprintf(name_cam, "cam%d", mCount_cam++);
  6.  
  7. ogreCamera1 = ogreSceneManager->createCamera(std::string(name_cam) +"PlayerCam");
  8.  
  9. ogreCamera1->setPosition(pos);
  10. ogreCamera1->lookAt(0,0,-200);
  11.  
  12. }
To copy to clipboard, switch view to plain text mode 

what i messed ? how i make signal/slot in this case?