我在GUI中通过拖放的方式添加了一个
QDockWidget
,现在我想删除它。
首先,我选择了可见的对象并按下Delete
键,对象消失了。
然而,在对象检查器中仍可以看到QDockWidget
,当我尝试保存我的.ui
时,会收到以下消息:The container extension of the widget MainWindow (QMainWindow)
returned a widget not managed by Designer dockWidget (QDockWidget)
when queried for page #2. Container pages should only be added by
specifying them in XML returned by the domXml() method of the custom
widget.
在对象检查器中单击小部件并按下删除键没有任何作用,右键上下文菜单没有通常的“删除”选项。我该如何摆脱它?!: |
规格:
Windows 7 32 bit
PyQt4