Qt 4.8: SDI Example

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# 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.