Hi,
i want when clic in button i see window where i enter name and number

i make like that
Qt Code:
  1. Add = new QToolButton(page_13);
  2. Add->setObjectName(QString::fromUtf8("Add"));
  3. Add->setGeometry(QRect(150, 9, 51, 31));
  4. Add->setText("Aadd");
  5. connect(Add, SIGNAL(clicked()),mQOgreWidget,SLOT(AddInfo()));
To copy to clipboard, switch view to plain text mode 
in AddInfo() i make like that
Qt Code:
  1. QString Nom_Segment = QInputDialog::getText(this, "Name", "Name");
  2. int entier = QInputDialog::getInteger(this, "Number", "Number");
To copy to clipboard, switch view to plain text mode 
But like that i see one window where i enter just the name when i close it i see another one where i enter the number

BUT it's not what i want i want to enter the a both in one window