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)
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)
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)
def __init__(self, parent): KComboBox.__init__(self, parent, 'MTScriptComboBox') self.insertStrList(MTSCRIPTS)
def __init__(self, parent): KComboBox.__init__(self, parent, 'MachineScriptComboBox') self.insertStrList(MACHINE_SCRIPTS)
def __init__(self, parent, name='SuiteComboBox'): KComboBox.__init__(self, parent, name) self.initPaellaCommon() self.suites = SuiteCursor(self.conn) self.insertStrList(self.suites.get_suites())
def __init__(self, parent): KComboBox.__init__(self, parent, 'MachineScriptComboBox') self.insertStrList(MACHINE_SCRIPTS)
def __init__(self, parent): KComboBox.__init__(self, parent, 'MTScriptComboBox') self.insertStrList(MTSCRIPTS)
def __init__(self, parent, name='SuiteComboBox'): KComboBox.__init__(self, parent, name) self.initPaellaCommon() self.suites = SuiteCursor(self.conn) self.insertStrList(self.suites.get_suites())
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)