def _onRestore(self):
     widgets = getWidgetsOfType(self, TangoConfigLineEdit)
     for w in widgets:
         param = str(w.text())
         if w.getValue() != param:
             w.setText(param)
示例#2
0
 def _onRestore(self):
     widgets = getWidgetsOfType(self, TangoConfigLineEdit)
     for w in widgets:
         param = str(w.text())
         if w.getValue() != param:
             w.setText(param)
 def _onApply(self):
     widgets = getWidgetsOfType(self, TangoConfigLineEdit)
     for w in widgets:
         param = str(w.text())
         if w.getValue() != param:
             w.writeValue()
示例#4
0
 def _onApply(self):
     widgets = getWidgetsOfType(self, TangoConfigLineEdit)
     for w in widgets:
         param = str(w.text())
         if w.getValue() != param:
             w.writeValue()