您实例化了 QWidget,这是朝着正确方向迈出的一步,但您需要使用 setcentralWidget() 函数将 QWidget 对象(您命名为 centralWidget)设置为中央小部件.
確定! 回上一頁