MyMainWindow*p=(MyMainWindow*)this->parent();
MyMainWindow*p=(MyMainWindow*)this->parent();
To copy to clipboard, switch view to plain text mode
In above code ,In place of "MyMainWindow" what should I put?
in mainwindow .h class is decraled as..
{
}
class MainWindow : public QMainWindow
{
}
To copy to clipboard, switch view to plain text mode
cant we connect a close event to parent window function???
I just need to detect the close event of this child window and connect my f_max() function to that signal
Bookmarks