def get_group_box(self, widget):
group_box = QtGui.QGroupBox(widget)
group_box.setFlat(False)
if hasattr(self, 'description'):
group_box.setTitle("%s" % self.description)
else:
group_box.setTitle("%s" % self.name)
self.form = widget
grid = self.get_grid()
group_box.setLayout(grid)
return group_box, grid
评论列表
文章目录