def __init__(self, parent = None):
super(Outliner, self).__init__(parent)
## Build the qt layout that we will parent the sip paneLayout to later
self.mainLayout = QGridLayout(self)
self.mainLayout.setObjectName('OutlinerQGridLayout')
self.__initUI()
self.setMinimumWidth(200)
try:self.parent().closed.connect(self.close)
except AttributeError:pass
评论列表
文章目录