O'Reilly logo

Foundations of Qt Development by Johan Thelin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 4The Main Window

Thus far in this book you have primarily used dialogs to communicate with your users. Yet although dialogs are a great solution when you need a widget for holding widgets and guiding the user in a particular task or configuring options surrounding a specific subject, most applications are not based around just one particular task, but a document. This is where a main window enters the picture.

A main window is the top-level window around which an application is based. It can have a menu bar, toolbars, a status bar, and areas in which toolboxes and other supporting windows can be docked. It is possible to open the application's dialogs from the main window, and the main window contains the working document.

Note Unless ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required