예제 #1
0
 def __init__(self, parent, name='ScriptNameComboBox'):
     KComboBox.__init__(self, parent, name)
     self.app = get_application_pointer()
     self.cursor = StatementCursor(self.app.conn)
     self.scriptnames = [
         row.script for row in self.cursor.select(table='scriptnames')
     ]
     self.insertStrList(self.scriptnames)
예제 #2
0
 def __init__(self, parent, type, name='ScriptNameComboBox'):
     KComboBox.__init__(self, parent, name)
     self.app = get_application_pointer()
     self.cursor = StatementCursor(self.app.conn)
     clause = In('type', ['both', type])
     rows = self.cursor.select(table='scriptnames', clause=clause)
     #self.scriptnames = [row.script for row in  self.cursor.select(table='scriptnames')]
     self.scriptnames = [row.script for row in rows]
     self.insertStrList(self.scriptnames)
예제 #3
0
파일: base.py 프로젝트: joelsefus/paella
 def __init__(self, parent, type, name='ScriptNameComboBox'):
     KComboBox.__init__(self, parent, name)
     self.app = get_application_pointer()
     self.cursor = StatementCursor(self.app.conn)
     clause=In('type', ['both', type])
     rows = self.cursor.select(table='scriptnames', clause=clause)
     #self.scriptnames = [row.script for row in  self.cursor.select(table='scriptnames')]
     self.scriptnames = [row.script for row in rows]
     self.insertStrList(self.scriptnames)
예제 #4
0
 def __init__(self, parent):
     KComboBox.__init__(self, parent, 'MTScriptComboBox')
     self.insertStrList(MTSCRIPTS)
예제 #5
0
파일: base.py 프로젝트: joelsefus/paella
 def __init__(self, parent):
     KComboBox.__init__(self, parent, 'MachineScriptComboBox')
     self.insertStrList(MACHINE_SCRIPTS)
예제 #6
0
 def __init__(self, parent, name='SuiteComboBox'):
     KComboBox.__init__(self, parent, name)
     self.initPaellaCommon()
     self.suites = SuiteCursor(self.conn)
     self.insertStrList(self.suites.get_suites())
예제 #7
0
 def __init__(self, parent):
     KComboBox.__init__(self, parent, 'MachineScriptComboBox')
     self.insertStrList(MACHINE_SCRIPTS)
예제 #8
0
 def __init__(self, parent):
     KComboBox.__init__(self, parent, 'MTScriptComboBox')
     self.insertStrList(MTSCRIPTS)
예제 #9
0
파일: dialogs.py 프로젝트: joelsefus/paella
 def __init__(self, parent, name='SuiteComboBox'):
     KComboBox.__init__(self, parent, name)
     self.initPaellaCommon()
     self.suites = SuiteCursor(self.conn)
     self.insertStrList(self.suites.get_suites())
예제 #10
0
 def __init__(self, parent, name='ScriptNameComboBox'):
     KComboBox.__init__(self, parent, name)
     self.app = get_application_pointer()
     self.cursor = StatementCursor(self.app.conn)
     self.scriptnames = [row.script for row in  self.cursor.select(table='scriptnames')]
     self.insertStrList(self.scriptnames)