简体   繁体   English

单击PySide时将新窗口添加到MDI

[英]Adding new window to MDI on click in PySide

我正在使用PySide作为GUI创建者在Python中编写程序,但是现在我想当用户单击“新建”按钮之类的东西时要在MDI中获得一个新窗口,但我无法弄清楚可能会发生,所以需要一些帮助...在此先感谢

Since your question is very light on details, I will just give you some links to a simple example application that probably does a lot of what you want. 由于您的问题只涉及细节,因此,我仅向您提供一些指向简单示例应用程序的链接,该应用程序可能会完成您想要的很多事情。

It is based on this Qt MDI example : 它基于此Qt MDI示例

在此处输入图片说明

The PySide code itself can be dowloaded from the PySide Examples Repository . PySide代码本身可以从PySide示例存储库中下载

For more examples like this, see the PySide Examples and Demos . 有关更多此类示例 ,请参见PySide示例和演示

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM