Hi -
I am using mdiarea and qmdisubwindows for my application. My question is - I want to override the function called whenever the "X" in the title bar is clicked.
I tried overloading QWidget::close() but no luck.
Any help appreciated.
Hi -
I am using mdiarea and qmdisubwindows for my application. My question is - I want to override the function called whenever the "X" in the title bar is clicked.
I tried overloading QWidget::close() but no luck.
Any help appreciated.
QWidget::close() is not a virtual method. Try reimplementing QWidget::closeEvent();
yapatel (5th July 2014)
Bookmarks