def __init__(self, parent=None, designMode=False): TaurusWidget.__init__(self, parent, designMode=designMode) self._ui = Ui_LiberaSinglePassEMini() self._ui.setupUi(self) self._ui.taurusCurveDialog = myTaurusCurveDialog(self) self._ui.taurusCurveDialog.setObjectName("taurusCurveDialog") self._ui.gridLayout.addWidget(self._ui.taurusCurveDialog, 0, 0, 1, 1) self.l_plot = self._ui.taurusCurveDialog.get_active_plot() self.sym = QwtSymbol(QwtSymbol.Ellipse, QtGui.QBrush(QtCore.Qt.blue), QtGui.QPen(QtCore.Qt.blue), QtCore.QSize(10, 10)) self.sym_old = QwtSymbol(QwtSymbol.Ellipse, QtGui.QBrush(QtCore.Qt.gray), QtGui.QPen(QtCore.Qt.gray), QtCore.QSize(4, 4)) self.l_plot.set_axis_limits('left', -0.003, 0.003) self.l_plot.set_axis_title('left', "Y") self.l_plot.set_axis_unit('left', "mm") self.l_plot.set_axis_limits('bottom', -0.003, 0.003) self.l_plot.set_axis_title('bottom', "X") self.l_plot.set_axis_unit('bottom', "mm") self.x = 0 self.y = 0 self.list_mark = [] self.trigger.connect(self.update_plot)
def __init__(self, parent=None): TaurusWidget.__init__(self, parent) self._setup_ui() self.ior_model = None self.mot_model = None self.options = [] self.dict = {}
def __init__(self, parent=None, designMode=False): TaurusWidget.__init__(self, parent, designMode=designMode) self._setup_ui() self._throttle_timer = QtCore.QTimer() self._throttle_timer.setInterval(200) self._throttle_timer.setSingleShot(True) self.connect(self._throttle_timer, QtCore.SIGNAL("timeout()"), self._writeValue) self._value = None self._acc_value = 0 # accumulate fast wheel events self._last_wheel = 0 # time of last wheel event
def __init__(self, parent=None): TaurusWidget.__init__(self, parent) self._setup_ui()
def __init__(self, parent=None, designMode=False): TaurusWidget.__init__(self, parent, designMode=designMode) self._ui = Ui_facadeAdjustments() self._ui.setupUi(self)
def __init__(self, parent=None, designMode=False): TaurusWidget.__init__(self, parent, designMode=designMode) self._ui = Ui_Loops() self._ui.setupUi(self)
def __init__(self, parent=None, down_command=None, up_command=None, state=None): TaurusWidget.__init__(self, parent) self._down_command = down_command self._up_command = up_command self._state = state self._setup_ui()
def __init__(self, parent=None, designMode=False): TaurusWidget.__init__(self, parent, designMode=designMode) self._ui = Ui_timeAndDecimation() self._ui.setupUi(self)
def __init__(self, parent=None): TaurusWidget.__init__(self, parent) vbox = QtGui.QVBox(layout=self) self.lineedit = MAXLineEdit(parent=vbox)
def __init__(self, userwidget, parent=None): self.userwidget = userwidget TaurusWidget.__init__(self, parent) self._setup_ui() self.oldvalue = {}
def __init__(self, parent=None, designMode=False): TaurusWidget.__init__(self, parent, designMode=designMode) self._ui = Ui_FastDataLoggerDLLRF() self._ui.setupUi(self)