Displaying translucent / irregular-shaped windows with Qt

前端 未结 2 1147
野趣味
野趣味 2020-12-16 00:55

Is it possible to display translucent and/or irregular-shaped windows with Qt?

(I\'m assuming it ultimately depends on the capabilities of the underlying GUI system,

2条回答
  •  暖寄归人
    2020-12-16 01:08

    It certainly is possible. Qt ships with the "Shaped Clock" demonstration. The documentation of which is here.

    It creates a top-level window with an odd shape. Should be all you need.

提交回复
热议问题