Select Tab bar controller in the MainWindow component window.
在MainWindow组件窗口中选择Tabbarcontroller。
We create a NoteBook widget as child to the MainWindow and then add three tabs.
我们创建一个NoteBook窗口小部件作为MainWindow的子窗口,然后添加三个标签。
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.
下一步,我们将在这个主窗口中创建标签和按钮对象,作为主窗口的子部件。
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.
每个部件(除了顶层部件外,比如主窗口)必须是某个确切父部件的子部件。
应用推荐