Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
91 views
in Technique[技术] by (71.8m points)

c++ - Can create window like C#'s TransparencyKey in Qt?

I should to create window like C#'s TransparencyKey in Qt.
Normally, to make a window transparent in Qt, set the Window Color to transparent.
But, this way can't click button on background window.

Qt.WindowTransparentForInput is nearest to TransparencyKey, but It can't click button on transparent window.

Is it possible to make a window where I can press button on a transparent window, and also press buttons in the background?

question from:https://stackoverflow.com/questions/65896659/can-create-window-like-cs-transparencykey-in-qt

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...