PySide6 QRadioButton state reset

PySide6 QRadioButton state reset QRadioButton state reset through QCheckBox unchecking. Principle introduction QRadioButton components are mutually exclusive through the QBottonGroup abstract button container. Then add custom properties to the QCheckBox button to get the object name of the QButtonGroup. Find the QRadioButton added to it through the QButtonGroup object name, and then reset the QRadioButton. […]

Pyside6 installation and simple interface development

Pyside6 installation and simple interface development Introduction to Pyside6 Pysied6 development environment setup Python installation Pysied6 installation Pyside6 interface development Simple interface design interface design Interface compilation Write interface initialization code Software packaging Introduction to Pyside6 For GUI development in Python, the visual programming module that comes with Python is weak in functionality. PySide is […]

Pyside | PYQT borderless design, simple writing methods for window movement and resizing

Original statement: This article is authorized by the author to be published on the CSDN platform and may not be reproduced without permission. The easy way to borderless design and functionality Foreword 1. Remove system borders and make the background transparent 2. Add shadow to border 3. Window resizing 1. Change the mouse style at […]

Pyside6: Develop an adaptive picture control

The simplest control for displaying images in Qt is QLabel, but this control is very inconvenient to use without adding adaptive features: It can be found that the image is displayed in real pixels, so if the image is too large, only part of it can be displayed. Then after adding adaptation, changes will appear […]

19 types of animal target detection system based on YOLOv8 model (PyTorch+Pyside6+YOLOv8 model)

Abstract: The 19 types of animal target detection system based on the YOLOv8 model can be used to detect and locate 19 types of animal targets (buffalo, zebra, elephant, capybara, turtle, cat, cow, deer, dog, flamingo, giraffe) in daily life , jaguar, kangaroo, lion, parrot, penguin, rhinoceros, sheep and tiger), the deep learning algorithm can […]

PySide6 QGraphicsItem paint drawing demonstration and instructions

Article directory Preface 1. What is QGraphicsItem? 2. Usage steps – Drawing through parameter painter – Draw by setting subclass item hint: Summarize Foreword This is a detailed record of rewriting the paint method of QGraphicsItem, using Python and PySide6 1. What is QGraphicsItem? It is a primitive of the QGraphicsWidget system in PySide6. It […]

PySide6 solves the problem of QWidget moving when embedded in QGraphicsView, providing two ideas: QGraphicsProxyWidget and QGraphicsWidget.

Project application: When we need to make QWidget move in QGraphicsView Problem description Since we need to use QWidget in the view, we need to convert it to QGraphicsProxyWidget and set it to the corresponding Flag, but when we run it we will find:It does not move as we expected Cause analysis: For Items without […]

PySide6 Android development — PySide6 for Android successful practice + filling holes

The official tutorial is here: https://www.qt.io/blog/taking-qt-for-python-to-android A few words, in fact, a lot of pitfalls. Written from memory, it may not be very complete (there is no trick to win) Only supported in Linux environment QT environment installation Download the online installer from http://mirrors.ustc.edu.cn/qtproject/official_releases/online_installers/. Newer versions of the installer (after 4.0.1-1) support the –mirror command […]

Intelligent driving target detection system based on Kitti dataset (PyTorch+Pyside6+YOLOv5 model)

Abstract: The intelligent driving target detection system based on the Kitti data set can be used to detect and locate pedestrians (Pedestrian), vans (Van), sitting people (Person Sitting), cars (Car), trucks (Truck), bicycles, etc. in daily life. Cyclists (Cyclist), trams (Tram) and other targets (Misc) can use deep learning algorithms to realize target detection in […]