Shaped Clock Example▲

Widget masks are used to customize the shapes of top-level widgets by restricting the area available for painting and mouse input. Using a translucent background facilitates partially transparent wi
The Shaped Clock example shows how to apply a translucent background and a widget mask to a top-level widget to produce a shaped window.
Article lu fois.
The Qt Company Ltd.
Publié le 27 décembre 2024 - Mis à jour le 27 décembre 2024
Widget masks are used to customize the shapes of top-level widgets by restricting the area available for painting and mouse input. Using a translucent background facilitates partially transparent wi