Hi,
my question is:
How to disable the back button if i don't want user back to the previous window now
Is there a method available?
thanks a lot
Printable View
Hi,
my question is:
How to disable the back button if i don't want user back to the previous window now
Is there a method available?
thanks a lot
You can ignore closeEvent
[url]http://doc.trolltech.com/4.6/qwidget.html#closeEvent[/url]
i don't understand clearly . Is the back button related to the closeEvent?
Can you tell me how to ignore the closeEvent?
thanks very much
Maybe I understand something,and i will try
thanks a lot
[QUOTE=tfjy2008;740170]i don't understand clearly. Is the back button related to the closeEvent?[/QUOTE]
Tapping back button generates closeEvent for a topmost window.
[QUOTE=tfjy2008;740170]Can you tell me how to ignore the closeEvent?[/QUOTE]
By calling
[CODE]
event->ignore();[/CODE]
The problem has been solved using your method
thanks very much