def _createNew(self):
        a = ArgSetter(
            'New camera calibration', {
                'camera name': {
                    'value': 'change me',
                    'dtype': str
                },
                'bit depth': {
                    'value': 16,
                    'limits': [8, 12, 14, 16, 24, 32],
                    'dtype': int,
                    'tip': 'e.g. 16 for 16 bit'
                }
            })
        a.exec_()
        if a.result():
            c = CameraCalibration()
            c.path = None
            self.calibrations.append(c)

            name = a.args['camera name']
            depth = a.args['bit depth']
            c.setCamera(name, depth)
            self.calibrations.append(c)
            self.pModified.setValue(True)
            l = list(self.pCal.opts['limits'])
            l.append(name)
            self.pCal.setLimits(l)
            self.pDepth.setValue(depth)
            [p.show() for p in self.pCal.childs]
    def _createNew(self):
        a = ArgSetter('New camera calibration', {
                'camera name':{
                                'value': 'change me', 
                                'dtype':str},
                'bit depth': {
                                'value':16, 
                                'limits':[8,12,14,16,24,32], 
                                'dtype':int,
                                'tip':'e.g. 16 for 16 bit'} })
        a.exec_()
        if a.result():
            c = CameraCalibration()
            self.calibrations.append(c)

            name = a.args['camera name']
            c.setCamera(name,a.args['bit depth'])
            self.calibrations.append(c)
            self.pModified.setValue(True)
            l = list(self.pCal.opts['limits'])
            l.append(name)
            self.pCal.setLimits(l)
            [p.show() for p in self.pCal.childs]