Ejemplo n.º 1
0
 def __openText(self, item, record):
     self.dlgOpen=dlgText(app=kuraapp.app,
                          parent=self,
                          title='Edit Text',
                          firstTabTitle="Text", record=record,
                          mode= UPDATE,
                          tableDef=kuraapp.app.tables["lng_text"])
     self.connect(self.dlgOpen,
                  PYSIGNAL("sigAcceptData"),
                  self.slotOpenTextAccept)
     self.dlgOpen.show()
Ejemplo n.º 2
0
 def open(self):
     try:        
         record, lvi=self.textSelector.currentRecord()
     except TypeError:
         # nothing selected
         return
         
     
     self.dlgOpen=dlgText(kuraapp.app, self, 'Edit Text', "Text", 
                          record, UPDATE, kuraapp.app.tables["lng_text"])
     self.connect(self.dlgOpen,
                  PYSIGNAL("sigAcceptData"),
                  self.slotOpenAccept)
     self.dlgOpen.show()