def generateWidget( self, idGDT, ContainerOfData ):
self.idGDT = idGDT
self.ContainerOfData = ContainerOfData
self.checkBox = QtGui.QCheckBox(self.Text)
self.checkBox.setChecked(True)
global checkBoxState
checkBoxState = True
hbox = QtGui.QHBoxLayout()
hbox.addWidget(self.checkBox)
hbox.addStretch(1)
self.checkBox.stateChanged.connect(self.updateState)
return hbox
评论列表
文章目录