[SOLVED] How to create QMdiArea with multi type sub windows?
-
I would like to design a QMdiArea as central widget capable of opening QTextEdit as well as QTableView windows. I use "MDI example":http://doc.qt.digia.com/4.6/mainwindows-mdi.html as my base line. This example is designed for opening and editing text files. How can I modify it to also open tableView windows?
I'd like to be able to arrange windows in vertical and horizontal tile and cascade views and disable the File menu features for tabelView windows only.
Thanks
-
Hi,
Technically you can add any widget type to a QMdiArea.
To enable/disable stuff, you can use the aboutToActivate signal and check in the connect slot the type of the sender to update your GUI.
Hope it helps