So I checked on my MainWindow.
所以我检查我的主窗口。
Select Tab bar controller in the MainWindow component window.
在MainWindow组件窗口中选择Tabbarcontroller。
The next step has created a Canvas widget and had it fill the entire MainWindow.
下一步是创建画布部件并使之充满整个主窗口。
Next, we've created Label and Button objects as child widgets inside the MainWindow.
下一步,我们将在这个主窗口中创建标签和按钮对象,作为主窗口的子部件。
Here we've created a MainWindow as before and configured it to be $size pixels wide and high.
在这个程序中,和前一程序一样,首先创建一个主窗口,并且设置窗口的宽和高为 $size像素。
I thought that this was odd, as when I was working on my MainWindow it was working just fine.
我认为这是奇怪的,因为当我工作在主窗口工作只是罚款。
Each widget (except for top-level ones, such as MainWindow) must be the child of exactly one parent.
每个部件(除了顶层部件外,比如主窗口)必须是某个确切父部件的子部件。
Each widget (except for top-level ones, such as MainWindow) must be the child of exactly one parent.
每个部件(除了顶层部件外,比如主窗口)必须是某个确切父部件的子部件。
应用推荐