Hi,
i want when clic in button i see window where i enter name and number
i make like that
Add
->setObjectName
(QString::fromUtf8("Add"));
Add
->setGeometry
(QRect(150,
9,
51,
31));
Add->setText("Aadd");
connect(Add, SIGNAL(clicked()),mQOgreWidget,SLOT(AddInfo()));
Add = new QToolButton(page_13);
Add->setObjectName(QString::fromUtf8("Add"));
Add->setGeometry(QRect(150, 9, 51, 31));
Add->setText("Aadd");
connect(Add, SIGNAL(clicked()),mQOgreWidget,SLOT(AddInfo()));
To copy to clipboard, switch view to plain text mode
in AddInfo() i make like that
int entier
= QInputDialog::getInteger(this,
"Number",
"Number");
QString Nom_Segment = QInputDialog::getText(this, "Name", "Name");
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
Bookmarks