Shaped Clock Example▲

Widget masks are used to customize the shapes of top-level widgets by restricting the available area for painting. On some window systems, setting certain window flags will cause the window decoration (title bar, window frame,
The Shaped Clock example shows how to apply 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 available area for painting. On some window systems, setting certain window flags will cause the window decoration (title bar, window frame,