Description |
1 online resource (730 pages) |
Contents |
Cover; FM; Copyright; About Packt; Contributors; Table of Contents; Preface; Chapter 1: Introduction to Tkinter; Introducing Tkinter and Tk; Choosing Tkinter; Installing Tkinter; Installing Python 3 on Windows; Installing Python 3 on macOS; Installing Python 3 and Tkinter on Linux; Introducing IDLE; Using the shell mode of IDLE; Using the editor mode of IDLE; IDLE as a Tkinter example; Creating a Tkinter Hello World; Creating a better Hello World Tkinter; Summary; Chapter 2: Designing GUI Applications with Tkinter; A problem at ABQ AgriLabs; Assessing the problem |
|
Gathering information about the problemWhat you found out; Information about the data being collected; Information about the users of the application; Documenting specification requirements; Contents of a simple specification; Writing the ABQ data entry program specification; Designing the application; Exploring Tkinter input widgets; Grouping our fields; Laying out the form; Laying out the application; Summary; Chapter 3: Creating Basic Forms with Tkinter and ttk Widgets; Evaluating our technology choices; Choosing a technology; Exploring Tkinter widgets; The Entry widget; The Spinbox widget |
|
The Combobox widgetThe Checkbutton widget; The Text widget; The Button widget; The LabelFrame widget; Implementing the application; Saving some time with a LabelInput class; Building the form; Adding LabelFrame and other widgets; Retrieving data from our form; Resetting our form; Building our application class; Saving to CSV; Finishing and testing; Summary; Chapter 4: Reducing User Error with Validation and Automation; Validating user input; Strategies to prevent data errors; Validation in Tkinter; Creating a DateEntry widget; Implementing validated widgets in our form |
|
Exploiting the power of multiple inheritanceA validating mixin class; Building our widgets; Requiring data; A Date widget; A better Combobox widget; A range-limited Spinbox widget; Dynamically adjusting the Spinbox range; Updating our form; Displaying errors; Preventing form submission on error; Automating input; Inserting a date; Automating Lab, Time, and Technician; Summary; Chapter 5: Planning for the Expansion of Our Application; Separating concerns; The MVC pattern; What is a model?; What is a view?; What is a controller?; Why complicate our design?; Structuring our application directory |
|
Basic directory structureThe abq_data_entry.py file; The README.rst file; ReStructuredText; Populating the docs folder; Making a Python package; Splitting our application into multiple files; Creating the models module; Moving the widgets; Moving the views; Removing redundancy in our view logic; Creating the application file; Running the application; Using version control software; A super-quick guide to using Git; Initializing and configuring a Git repository; Adding and committing code; Viewing and using our commits; Summary; Chapter 6: Creating Menus with Menu and Tkinter Dialogs |
Note |
Solving problems in our application |
Summary |
This Learning Path guides you through every concept necessary to create fully functional GUI applications using PyQt and Tkinter with only a few lines of code. You'll learn to design and build GUIs that are functional, appealing, and user-friendly using the powerful combination of Python and its GUI frameworks. |
Local Note |
eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - North America |
Subject |
Qt (Electronic resource)
|
|
Qt (Electronic resource) |
|
Graphical user interfaces (Computer systems) -- Design.
|
|
Python (Computer program language)
|
|
Graphical user interfaces (Computer systems) -- Design |
|
Python (Computer program language) |
Added Author |
Harwani, B. M., author.
|
Other Form: |
Print version: Moore, Alan D. Python GUI Programming - a Complete Reference Guide : Develop Responsive and Powerful GUI Applications with Pyqt and Tkinter. Birmingham : Packt Publishing, Limited, ©2019 9781838988470 |
ISBN |
1838982108 |
|
9781838982102 (electronic bk.) |
|
9781838988470 (pbk.) |
|
1838988475 (Trade Paper) |
|
9781838988470 |
Standard No. |
9781838988470 |
|