The desktop is too monotonous? Make a custom dynamic wallpaper with Python, and you can play videos!
preface
Some time ago, I wrote several articles with PyQt5 about Python made a cool music player,Custom desktop animation Pendant,Automatic license plate recognition system . Today, let's continue to share a practical case and take you to develop a custom dynamic desktop wallpaper with PyQt5 of Python. It's fun and interesting!
First, let's ...
Added by massimoGornatti on Sun, 19 Dec 2021 01:51:19 +0200
PYQT5(25) - graphics and special effects - UI beautification of QSS
QSS (Qt Style Sheets), or Qt style sheets, is a mechanism used to customize the appearance of controls. QSS refers to a lot of CSS content, but the function of QSS is much weaker than CSS, which is reflected in less selectors and less QSS properties that can be used, and not all properties can be applied to PyQt controls. QSS separates page bea ...
Added by oshecho on Thu, 09 Dec 2021 01:10:53 +0200
PYQT5|Pyside2 UI Designer Qt Designer dynamically loads UI files
PYQT5|Pyside2 UI Designer Qt Designer dynamically loads UI files
Introduction to Qt Designer
Click here to watch the video explanation and learn the following
The windows and controls of the QT program interface are created with the corresponding code as above.
However, it is difficult to write the interface in your mind directly in cod ...
Added by xcali on Wed, 08 Dec 2021 19:29:36 +0200
PYQT5(18) - advanced interface control - container
Load more controls
QTabWidget
The QTabWidget control provides a tab and a page area. By default, the page of the first tab is displayed. You can view the corresponding page by clicking each tab. If there are many input fields displayed in one window, these fields can be split and placed in tabs on different pages.
common method
addTab()Adds ...
Added by Amgine on Wed, 10 Nov 2021 14:42:43 +0200
[PyQt5 application example] obtain urban weather forecast
1, Get weather data
There are two ways to obtain weather data using Python: 1. Obtain the HTML page of the weather forecast website by crawling, and then parse the content of the HTML page by XPath or beautiful soup; 2. Through the API provided by the weather forecast website, the structured data can be obtained directly, eliminating the s ...
Added by chigley on Wed, 13 Oct 2021 02:27:29 +0300
Day 28 | learn PyQt5, QTreeWidget of advanced control
The tree structure is implemented through QTreeWidget and qtreewidgettitem classes, in which qtreewidgettitem class implements the addition of nodes. QTreeWidget is a hierarchical nested structure. The outer and inner layers of a tree structure have similar structures. It is often used to represent a data structure with one upper layer and mult ...
Added by fangfang on Mon, 04 Oct 2021 23:22:54 +0300
Day 25 | day 28 learn PyQt5, QTableWidget of advanced controls
The table control also has a QTableWidget, which inherits from QTableView. The main difference between QTableWidget and QTableView is that QTableView can use custom data model to display content, while QTableWidget can only use standard data model, and its cell data is realized through qtablewidgettitem object. In general, using QTableWidget ca ...
Added by dbrown on Mon, 04 Oct 2021 05:57:34 +0300