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

Here is the step-by-step procedure to create an application that displays information in chunks using tabs:

  1. Let's create a new application based on the Dialog without Buttons template.
  2. Drag and drop Tab Widget onto the form. When you drag Tab Widget onto a dialog, it appears with two default tab buttons, labeled Tab1 and Tab2, as shown in the following screenshot:

  1. You can add more tab buttons to Tab Widget and delete existing buttons if you want by adding a new tab button; right-click on either tab button and select Insert Page from the menu that pops up. You will see two suboptions, After Current Page and Before Current ...
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