![]() ![]() # x and y coordinates on the screen, width, height.We start out with an empty canvas, a bare-minimum PyQt application: Once you’re set up and ready to go, we can embark on our journey to create a totally awesome text editor. If you don’t already have PyQt installed, you can go grab it from the official website. ![]() You can find and download the finished source code on GitHub.This is what it’ll look like at the end of this tutorial series:īefore we get started, there are two things to square away: And in part three, we’ll add some useful extensions like a find-and-replace dialog, support for tables and more. ![]() ![]() In part two, we’ll take care of text-formatting. The first part of the tutorial will focus on the core features and skeleton of the editor. This tutorial will guide you through the process of using PyQt to build a simple but useful rich-text editor. For Python, my GUI library of choice is the Python binding for Qt, PyQt. I’ve always enjoyed building beautiful Graphical User Interfaces (GUIs) to the back-end computations, number-crunching and algorithms of my programs. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |