def finalise(self):
""" Finalise
Add a spacer at the bottom of the QGroupBox layout
"""
policy = QtWidgets.QSizePolicy.Expanding
self.spacer = QtWidgets.QSpacerItem(0, 0, vPolicy=policy)
self.layout.addItem(self.spacer)
评论列表
文章目录