Qt Reference Documentation

# SDI Example

Files:

- mainwindows/sdi/mainwindow.cpp
- mainwindows/sdi/mainwindow.h
- mainwindows/sdi/main.cpp
- mainwindows/sdi/sdi.pro
- mainwindows/sdi/sdi.qrc

Images:

- mainwindows/sdi/images/copy.png
- mainwindows/sdi/images/cut.png
- mainwindows/sdi/images/new.png
- mainwindows/sdi/images/open.png
- mainwindows/sdi/images/paste.png
- mainwindows/sdi/images/save.png

The SDI example shows how to create a Single Document Interface. It uses a number of top-level windows to display the contents of different text files.