Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PYQT5萌新,不懂就问qwq #36

Closed
fsf678 opened this issue Mar 25, 2023 · 4 comments
Closed

PYQT5萌新,不懂就问qwq #36

fsf678 opened this issue Mar 25, 2023 · 4 comments

Comments

@fsf678
Copy link

fsf678 commented Mar 25, 2023

给窗口设置背景的时候遇到了这种情况
image
这样实现的
self.homeInterface.setObjectName("home") self.homeInterface.setStyleSheet(#home{border-image:url(resource/bg/1.png);}")
如何让侧边选项卡也加上背景图片?怎样在侧边选项卡中使用acrylic_label?

@zhiyiYo
Copy link
Owner

zhiyiYo commented Mar 25, 2023

你可以设置主界面的背景图片,然后把 navigationInterface 以及其他子界面背景调成透明的

@fsf678
Copy link
Author

fsf678 commented Mar 25, 2023

大佬细说行吗,本人纯纯小萌新一枚

@zhiyiYo
Copy link
Owner

zhiyiYo commented Mar 25, 2023

暂时没时间写示例,我还在写其他的组件,你可以自己先试试

@fsf678
Copy link
Author

fsf678 commented Mar 25, 2023

OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOK

@fsf678 fsf678 closed this as completed Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants