qt4 - why Mainwindow is closed during pressing the OK button of the messagebox -


i have mainwindow , button.i parsing 1 xml , rwesult displayed in messagebox...when pressed ok button of messagebox show next loop of xml...and @ end mainwindow closed.i dont want close mainwindow....how achieve it?????

it seems mainwindow dialog. try change type of form (formborderstyle property). maybe, should change property acceptbutton.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -