Pyqt5 dynamic startup interface

This article will introduce a Python program built using the PyQt5 library, which is mainly used to display the startup interface, connect to services in the background, and display the connection status. The program includes a startup interface, background data loading worker thread, and main interface. It achieves a smooth user experience by using the […]

python pyqt5 3. Text editing box pop-up window search and replace, highlighting the searched string

Function: 1. Click the Open Find and Replace button to pop up the Find and Replace window. After selecting the string, the window will open and the value will be automatically searched. 2. All found results are highlighted. 3. Display the number of results found and the number currently found 4. Implement batch replacement Rendering: […]

QT5.9 ported MQTT, QT for Android ported MQTT

MQTT porting source code package download https://github.com/qt/qtmqtt 1. Transplantation on QT 1. Use qt to open the source code package Compile using the suite, then transplant after compilation 2. Copy all header files under the qtmqtt-5.12.8\src\mqtt file of the source code package to the Mqtt file created in include 3. 4. Copy these two files […]

QT program runs slower than python PyQt5? , or the reason is QT Creator

This is a thread that pastes data into QPlainTextEdit Prepare data: 7+ million characters python code import time from PyQt5.QtCore import pyqtSignal, QMutex, QThread from collections import defaultdict from typing import Union from re import findall, sub from PublicSourceSection.PublicRecordLogger.Logger import LoggerRecord class ToolsStickForData(QThread): stick_process = pyqtSignal(int) stick_value = pyqtSignal(str) stick_state = pyqtSignal(bool) stick_mutex = QMutex() […]

[PyQt5] Open Excel, CSV, convert tableWidget to dataframe, add options to listWidget, for loop list derivation–list/dict

untitled.py # -*- coding: utf-8 -*- # Form implementation generated from reading ui file ‘untitled.ui’ # # Created by: PyQt5 UI code generator 5.15.9 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. […]

KDChart3.0 compilation process-compiled using QT5.15 and QT6.x

Article directory Reference original text 1. Download the KDChart source file 2. Download and install CMake 3. Compile Qt5.15.0 compilation Qt6.x compilation Compiled with Qt6.X, this is the fastest. 4. Use Test method one: Test method two: Refer to the original text Record my KDChart3.0 compilation process System: win11, Qt5.15, compiler mingw 64-bit Copyright statement: […]

Analysis and solution of PyQt5 playing video with transparent channel

Analysis and solutions on using PyQt5 to play videos with transparent channels: Recently, when I was practicing on the PyQt5 project, I encountered the problem of playing a transparent channel background video. After searching for a long time on the Internet to no avail, I finally solved the problem by myself. The solution was quite […]