Loading Qt Designer UI Files Directly in Python vs. Converting UI Files to Python Code

Guide to Loading Qt Designer UI and Event Binding After creating a user interface with Qt Designer, the next step is to bind events to the controls so that the application can respond to user interactions. In Python, you can use the Qt Designer UI either by directly loading the UI file or by converting … Read more

6 Python Libraries for GUI Development

6 Python Libraries for GUI Development

Python is a powerful programming language that can not only handle data and algorithms but also create beautiful and practical graphical user interfaces (GUI). This article will introduce 6 commonly used Python GUI libraries, including their features, usage methods, and code examples, to help developers choose the most suitable tools for their projects. Previous Python … Read more

Python: Scraping Any Website in Seconds with One Line of Code

Python: Scraping Any Website in Seconds with One Line of Code

Learning programming is like building with blocks, accumulating a sense of achievement bit by bit. If you want to try different learning methods, you can explore CodeCombat, which makes learning Python easy and fun through gamification.Python is indeed powerful and has a wide range of applications, making it easy to get started. The more you … Read more

PyQt: The Golden Combination for Python GUI Development

PyQt: The Golden Combination for Python GUI Development

1. Core Positioning of PyQt PyQt is the Python binding for the Qt framework, seamlessly porting the C++ Qt library to the Python ecosystem, providing: Cross-platform capability: Full support for Windows/macOS/Linux Dual licensing model: GPL (open source and free) and commercial license (closed source for commercial use) Modular architecture: Includes core modules such as QtWidgets … Read more

Getting Started with Embedded Linux Using Buildroot – Part 5

Getting Started with Embedded Linux Using Buildroot - Part 5

@ Configuring QT5 in Microchip Buildroot Select Graphic Configuration File Add QT5 Configuration Modify Root Filesystem to Support QT5 Modify output/target/etc/profile Configuration File Add output/target/usr/share/X11 Configuration File Flash the Generated Linux Image Download Etcher Tool Generate Final Flashing Image Use Etcher Tool to Flash SD Card Introduction to the Partition of the Flashed SD Card … Read more

Getting Started with Embedded Linux Using Buildroot – Part 6

Getting Started with Embedded Linux Using Buildroot - Part 6

@Getting Started with Embedded Linux Using Buildroot – Part 6 Configuring QT5 for Embedded Linux in QT Creator Adding SAMA5D2 QT5 Configuration in QTCreator Simple QT5 Code Demo Adding Copilot Plugin in VSCode Using Copilot to Generate Reference Source Code Using Open Source QT Project as a Template Configuring SAMA5D2 Platform Demo of Running Effects … Read more

PyQt UI Unit Testing Framework Ideas

PyQt UI Unit Testing Framework Ideas

Column ❈ Ding Guo, author of the Python Chinese community. Interested in django, pyqt, opencv, tornado. GitHub: https://github.com/lidingke ❈ 1. Idea PyQt is a quite flexible UI framework, but the Python version of Qt has never had a good unit testing tool for UI. The logic layer in PyQt is connected using signals and slots. … Read more

PyQt5 Example: Raspberry Pi + MPU6050 Data Collection

PyQt5 Example: Raspberry Pi + MPU6050 Data Collection

Click the above“Mechanical and Electronic Engineering Technology” to follow us System Configuration: Raspberry Pi 3B+, Operating System Raspbian-stretch, Python version is python3.5.3 Functional Requirements: Design a QT interface to collect data, with a start collection button that begins data collection when clicked, and a stop button that stops data collection when clicked. The data should … Read more