我想用QSplitter将QMdiarea应用到QMainwindow上,关于QMdiarea的文章很少,但没有一个真正解释如何应用到这样的QtWidgets上。我的代码: class Mywindow(QtWidgets.QMainWindow): super(Mywindowself.groupone)
self.V_Splitter.addW
我使用QStackedWidget并在不同的视图之间切换。每个窗格基本上都是一个类,应该驻留在它自己的文件中。 def __init__(self, session):我得到了这个错误:
AttributeError: type object 'QMainWindow' has no attribut