Skip to Main Content
Qt5 Python GUI Programming Cookbook
book

Qt5 Python GUI Programming Cookbook

by B. M. Harwani
July 2018
Intermediate to advanced content levelIntermediate to advanced
462 pages
12h 2m
English
Packt Publishing
Content preview from Qt5 Python GUI Programming Cookbook

How to do it...

Let's create an application that consists of two documents, and each document will be displayed via its individual subwindow. We will learn how to arrange and view these subwindows as desired:

  1. Launch Qt Designer and create a new Main Window application.
  2. Drag and drop a MdiArea widget onto the form.
  1. Right-click on the widget and select Add Subwindow from the context menu to add a subwindow to the MdiArea widget.

When the subwindow is added to the MdiArea widget, the widget appears as the dark background, as shown in the following screenshot:

  1. Let's, right-click again on the MdiArea widget and add one more subwindow to it. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python GUI Programming Cookbook - Third Edition

Python GUI Programming Cookbook - Third Edition

Burkhard Meier

Publisher Resources

ISBN: 9781788831000Supplemental Content