Ejemplo n.º 1
0
    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)
Ejemplo n.º 2
0
 def __init__(self, moduleRow):
     self.spinbox = SpinBoxGB('Period', 0, 65536)
     ValueGB.__init__(self, moduleRow, 'biaConfig', '', 1, '{:d}')
Ejemplo n.º 3
0
 def __init__(self, moduleRow):
     self.spinbox = SpinBoxGB('Duty', 0, 255)
     ValueGB.__init__(self, moduleRow, 'biaConfig', '', 2, '{:d}')
Ejemplo n.º 4
0
 def __init__(self, ccdCmd):
     self.ccdCmd = ccdCmd
     ValueGB.__init__(self, ccdCmd.controlPanel.moduleRow, 'looptime', '',
                      0, '{:.2f}')
Ejemplo n.º 5
0
 def __init__(self, moduleRow):
     ValueGB.__init__(self, moduleRow, 'turboStatus', 'Status', 1, '{:s}')
Ejemplo n.º 6
0
 def __init__(self, moduleRow):
     ValueGB.__init__(self, moduleRow, 'turboSpeed', 'Speed(RPM)', 0, '{:g}')
Ejemplo n.º 7
0
 def __init__(self, spsRow, smId):
     self.smId = smId
     ValueGB.__init__(self, spsRow, 'specModules', '', 0, '{:s}', fontSize=styles.bigFont)
     self.setText(self.specName.upper())
Ejemplo n.º 8
0
 def __init__(self, moduleRow, cooler):
     ValueGB.__init__(self, moduleRow, f'{cooler}Status', 'Status', 2,
                      '{:s}')
Ejemplo n.º 9
0
 def __init__(self, moduleRow, pumpId):
     ValueGB.__init__(self, moduleRow, f'ionpump{pumpId}Errors', 'status',
                      2, '{:s}')
Ejemplo n.º 10
0
 def __init__(self, moduleRow):
     ValueGB.__init__(self, moduleRow, 'interlock', 'Status', 1, '{:s}')
Ejemplo n.º 11
0
 def __init__(self, moduleRow):
     self.moduleRow = moduleRow
     ValueGB.__init__(self, moduleRow, 'exposureState', '', 0, '{:s}')
Ejemplo n.º 12
0
 def __init__(self, moduleRow):
     ValueGB.__init__(self, moduleRow, 'pumpSpeed', 'Speed(Hz)', 0, '{:g}')
Ejemplo n.º 13
0
 def __init__(self, moduleRow, key, label):
     ValueGB.__init__(self, moduleRow, key, label, 1, '{:s}')