๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ‘จ๐Ÿผ‍๐Ÿ’ป๊ฐœ๋ฐœ/PyQt

PyQt - ์œˆ๋„์šฐ์ฐฝ ํˆฌ๋ช…ํ•˜๊ฒŒ ๋งŒ๋“ค๊ธฐ

by Janger 2022. 5. 7.
728x90
๋ฐ˜์‘ํ˜•

[์™„์ „ ํˆฌ๋ช…ํ•˜๊ฒŒ ๋งŒ๋“ค๊ธฐ]

Form.setWindowFlags(QtCore.Qt.FramelessWindowHint)
Form.setAttribute(QtCore.Qt.WA_TranslucentBackground)
Form.setStyleSheet("background:transparent;")

 

[๋ถˆํˆฌ๋ช…๋„ ์„ค์ •]

Form.setWindowOpacity(0.5)

 

 

์ถœ์ฒ˜: 

https://stackoverflow.com/questions/7667552/qt-widget-with-transparent-background

 

Qt Widget with Transparent Background

(I'm using PySide, but I think the answer would be the same/similar for any language bindings). I'm trying to take the shaped clock example, located here, and cause the face of the clock (circle...

stackoverflow.com

 

728x90
๋ฐ˜์‘ํ˜•