Example #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)
Example #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)
Example #3
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)
Example #4
0
 def __init__(self, parent):
     KComboBox.__init__(self, parent, 'MTScriptComboBox')
     self.insertStrList(MTSCRIPTS)
Example #5
0
 def __init__(self, parent):
     KComboBox.__init__(self, parent, 'MachineScriptComboBox')
     self.insertStrList(MACHINE_SCRIPTS)
Example #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())
Example #7
0
 def __init__(self, parent):
     KComboBox.__init__(self, parent, 'MachineScriptComboBox')
     self.insertStrList(MACHINE_SCRIPTS)
Example #8
0
 def __init__(self, parent):
     KComboBox.__init__(self, parent, 'MTScriptComboBox')
     self.insertStrList(MTSCRIPTS)
Example #9
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())
Example #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)