QLineEdit problem in Qt for Symbian
-
code is simple
on QMainWindow1 QPushButton clicked
@
void QMainWindow1::onPushbuttonclick() {
QMainWindow2 *w2 = new QMainWindow2();
w2.showMaximised();
}@
and adding "this->close() on QMainWindow2
@
void QMainWindow2::onExitclick() {
this->close()
}
@ -
I have used the second QmainWindow for user selection like popup dialog for selection of data. After selection user closes the second QMainWindow and that data will be transmit it to the first QMainWindow.
Kindly let me know if any other approach I use for popup selection.
Thanks in advance.
-
You can also use a "QDialog":http://doc.trolltech.com/latest/qdialog.html for this, if is only a forms that is close after the function.
[quote author="smotiwala" date="1292588751"]I have used the second QmainWindow for user selection like popup dialog for selection of data. After selection user closes the second QMainWindow and that data will be transmit it to the first QMainWindow.
Kindly let me know if any other approach I use for popup selection.
Thanks in advance.[/quote]