Tangwx

Tangwx

博客网站

PyQt5_Setting Window Background, Always on Top, Transparent, Remove Border

Setting Window Background Transparent, Always on Top, and Borderless in PyQt5#

Without a border, the mouse cannot drag, so rewrite mouse events to drag the widget:

Complete:

Using PyQt5 to Draw a Pointer Clock Widget#

The code is as follows:

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.