Beispiel #1
0
 def addLookUp(self):     
     #add new lookup table"
     actionState = [self.profile, QApplication.translate("WorkspaceLoader","Add Lookup")]
     dlg = TableEditor(actionState, None, self)
     dlg.exec_()
     self.initControls()
Beispiel #2
0
 def addTable(self,actionState):
     '''add new table'''
     if len(actionState)>1:
         dlg=TableEditor(actionState,self.tableName,self)
         dlg.exec_()