Beispiel #1
0
 def taskrequest(self,cb):
     taskkey = gipsy.usertext(cb.key)
     if taskkey not in self.form.keys:
         self.form.addkey(taskkey)
         self.form.keys.append(taskkey)
         gipsy.KeyCallback(self.writekey, taskkey, task=cb.task)
         taskmsg = gipsy.usertext('M_'+cb.notifykey, default=2)
     self.form.errorLabel.setText(gipsy.usertext('R_'+cb.notifykey, default=2, defval=''))
Beispiel #2
0
 def taskrequest(self, cb):
     taskkey = gipsy.usertext(cb.key)
     
     if taskkey not in self.form.keys:
         self.form.addkey(taskkey)
         gipsy.KeyCallback(self.writekey, taskkey, task=cb.task)
         self.form.showError(gipsy.usertext('R_'+cb.notifykey, default=1, defval=''))
     else:
             
         self.form.showError(gipsy.usertext('R_'+cb.notifykey, default=1, defval=''))
         self.form.showStatus(gipsy.usertext('S_'+cb.notifykey, default=1, defval=''), wi="error")
         gipsy.aborttask( self.task)
Beispiel #3
0
 def show_status(self, cb):
     msg=gipsy.usertext('S_'+cb.notifykey, default=1, defval='') 
     
     if not "ABORT" in msg:
         self.form.showStatus(msg, wi="error")
Beispiel #4
0
 def writekey(self, cb):
     gipsy.wkey(cb.key+gipsy.usertext(cb.key, default=2, defval=''), cb.task)
Beispiel #5
0
 def show_status(self,cb):
     self.form.statusLabel.setText(gipsy.usertext(cb.key))
Beispiel #6
0
 def writekey(self,cb):
     gipsy.wkey(cb.key+gipsy.usertext(cb.key, default=2, defval=''), cb.task)
     self.form.errorLabel.setText('')