def __init__(self, parent=None):
super(PlateDialog, self).__init__(parent)
layout = QtGui.QVBoxLayout(self)
self.info = QtGui.QLabel('Please make selection: ')
self.radio1 = QtGui.QRadioButton('Export only the sequences needed for this design. (176 staples in 2 plates)')
self.radio2 = QtGui.QRadioButton('Export full 2 full plates for all sequences used (176 staples * number of unique sequences)')
self.setWindowTitle('Plate export')
layout.addWidget(self.info)
layout.addWidget(self.radio1)
layout.addWidget(self.radio2)
self.buttons = QDialogButtonBox(
QDialogButtonBox.Ok | QDialogButtonBox.Cancel,
Qt.Horizontal, self)
layout.addWidget(self.buttons)
self.buttons.accepted.connect(self.accept)
self.buttons.rejected.connect(self.reject)
评论列表
文章目录