def get_group_box(self, widget):
group_box = QtGui.QGroupBox(widget)
group_box.setFlat(False)
self.form = widget
grid = self.get_grid()
title = QtGui.QLabel(self.form)
title.setText("Linked part to : %s" % self.part_link.name)
grid.addWidget(title, 1, 0, 1, 2)
group_box.setLayout(grid)
group_box.setTitle(self.name)
return group_box, grid
评论列表
文章目录