본문 바로가기

Qt5 Python GUI Programming Cookbook14

Understanding OOP Concepts In this chapter, we will cover the following topics: Object-oriented programming Using classes in GUI Using single inheritance Using multilevel inheritance Using multiple inheritance Object-oriented programming Python supports object-oriented programming (OOP). OOP supports reusability; that is, code that was written earlier can be reused for making large applications, instead of starting from s.. 2023. 2. 28.
Working with Date and Time In this chapter, we will cover the following topics: Displaying LCD digits Displaying system clock time in LCD-like digits Displaying the data selected by the user from Calendar Widget Creating a hotel reservation form Displaying tabular data using Table Widget Displaying LCD digits Qt Designer enables us to display LCD-like digits of any size by making use of its LCD Number widget. The LCD Numb.. 2023. 2. 28.
Event Handling - Signals andSlots In this chapter, we will learn about the following topics: Using Signal/Slot Editor Copying and pasting text from one Line Edit widget to another Converting data types and making a small calculator Using the Spin Box widget Using scrollbars and sliders Using List Widget Selecting multiple list items from one List Widget and displaying them in another Adding items into List Widget Performing oper.. 2023. 2. 27.
Creating a User Interface with Qt Components Creating a User Interface with Qt Components In this chapter, we will learn to use the following widgets: Displaying a welcome message Using the Radio Button widget Grouping radio buttons Displaying options in the form of checkboxes Displaying two groups of checkboxes Dialogs are of the following two types: Modal: This dialog is one that blocks the user from interacting with other parts of the a.. 2023. 2. 27.
index Qt5 Python GUI Programming Cookbook The code bundle for the book is also hosted on GitHub at [https://github.com/PacktPublishing/Qt5-Python-GUI-Programming-Cookbook]. 2023. 2. 27.