Closed LittleNyima closed 1 year ago
改成下面这样可以不?
class Ui_MessageBox:
""" Ui of message box """
yesSignal = Signal()
cancelSignal = Signal()
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
建议使用 6.4.2,因为 pyside6.5.0 最大化后窗口会超出屏幕
也可以,只要能解决初始化问题就行,pr 我也一起关了
Describe the bug A clear and concise description of what the bug is.
qfluentwidgets.components.dialog_box.dialog.Ui_MessageBox
初始化参数个数不足导致子类对象无法初始化 (但实际的报错位置是不对的,并不是mask_dialog_base
的问题,应该是Ui_MessageBox
的问题)Environment
To Reproduce Steps to reproduce the behavior(you can use gif to demonstrate the problem): 在 gallery demo 中,点击左下角的头像按钮后,无法弹出对话框,同时后台报错:
Code
Expected behavior A clear and concise description of what you expected to happen. 对话框应该正确弹出
Screenshots If applicable, add screenshots to help explain your problem.