def __init__(self, controlDialog, key='fiberConfig', title='fiberConfig', fmt='{:s}', fontSize=styles.smallFont): self.controlDialog = controlDialog ValueGB.__init__(self, controlDialog.moduleRow, key=key, title=title, ind=0, fmt=fmt, fontSize=fontSize) self.fibers = LineEdit() #self.fibers.editingFinished.connect(self.newConfig) self.grid.removeWidget(self.value) self.grid.addWidget(self.fibers, 0, 0)
def __init__(self, moduleRow): self.spinbox = SpinBoxGB('Period', 0, 65536) ValueGB.__init__(self, moduleRow, 'biaConfig', '', 1, '{:d}')
def __init__(self, moduleRow): self.spinbox = SpinBoxGB('Duty', 0, 255) ValueGB.__init__(self, moduleRow, 'biaConfig', '', 2, '{:d}')
def __init__(self, ccdCmd): self.ccdCmd = ccdCmd ValueGB.__init__(self, ccdCmd.controlPanel.moduleRow, 'looptime', '', 0, '{:.2f}')
def __init__(self, moduleRow): ValueGB.__init__(self, moduleRow, 'turboStatus', 'Status', 1, '{:s}')
def __init__(self, moduleRow): ValueGB.__init__(self, moduleRow, 'turboSpeed', 'Speed(RPM)', 0, '{:g}')
def __init__(self, spsRow, smId): self.smId = smId ValueGB.__init__(self, spsRow, 'specModules', '', 0, '{:s}', fontSize=styles.bigFont) self.setText(self.specName.upper())
def __init__(self, moduleRow, cooler): ValueGB.__init__(self, moduleRow, f'{cooler}Status', 'Status', 2, '{:s}')
def __init__(self, moduleRow, pumpId): ValueGB.__init__(self, moduleRow, f'ionpump{pumpId}Errors', 'status', 2, '{:s}')
def __init__(self, moduleRow): ValueGB.__init__(self, moduleRow, 'interlock', 'Status', 1, '{:s}')
def __init__(self, moduleRow): self.moduleRow = moduleRow ValueGB.__init__(self, moduleRow, 'exposureState', '', 0, '{:s}')
def __init__(self, moduleRow): ValueGB.__init__(self, moduleRow, 'pumpSpeed', 'Speed(Hz)', 0, '{:g}')
def __init__(self, moduleRow, key, label): ValueGB.__init__(self, moduleRow, key, label, 1, '{:s}')