example: Allow to test propagation of close event in the mdi example
(cherry-picked from commit 701069617c)
This commit is contained in:
@@ -55,6 +55,9 @@ int main(int argc, char **argv)
|
||||
auto widget3 = new MyWidget3();
|
||||
dock3->setWidget(widget3);
|
||||
|
||||
// Just for my personal testing: Overkill to add an option
|
||||
// widget3->blockCloseEvent();
|
||||
|
||||
// # 3. Dock them
|
||||
mainWindow.addDockWidget(dock1->dockWidget(), QPoint(10, 10));
|
||||
mainWindow.addDockWidget(dock2->dockWidget(), QPoint(50, 50));
|
||||
|
||||
Reference in New Issue
Block a user