def __init__(self, app, parent, name='FamilyList'): KListView.__init__(self, parent, name) dbwidget(self, app) self.family = Family(self.conn) self.setRootIsDecorated(True) self.addColumn('family') self.refreshlistView()
def __init__(self, parent, name='FamilyList'): KListView.__init__(self, parent, name) self.app = get_application_pointer() self.conn = self.app.conn self.family = Family(self.conn) self.setRootIsDecorated(True) self.addColumn('family') self.refreshlistView()
def __init__(self, app, parent, etype='default', name='EnvironmentList'): KListView.__init__(self, parent, name) dbwidget(self, app) self.etype = etype self.environ = ETYPE[self.etype](self.conn) self.cursor = StatementCursor(self.conn) self.cursor.set_table('%s_environment' % self.etype) self.setRootIsDecorated(True) for field in ['section', 'option', 'value']: self.addColumn(field)
def __init__(self, app, parent, clientid): KListView.__init__(self, parent) self.app = app self.manager = ClientManager(self.app) self.clientid = clientid self.addColumn('tag') self.addColumn('value') self.setRootIsDecorated(True) self.connect(self, SIGNAL('rightButtonClicked()'), self.popupmymenu) self.refreshlistView()
def __init__(self, parent, etype='default', name='EnvironmentList'): KListView.__init__(self, parent, name) self.app = get_application_pointer() self.conn = self.app.conn self.etype = etype self.environ = ETYPE[self.etype](self.conn) self.cursor = self.conn.cursor(statement=True) self.cursor.set_table('%s_environment' % self.etype) self.setRootIsDecorated(True) for field in ['section', 'option', 'value']: self.addColumn(field)
def __init__(self, app, parent, ftype='template', name='TraitList'): KListView.__init__(self, parent, name) dbwidget(self, app) self.ftype = ftype self.scripts = None self.templates = None self.traits = None self.setRootIsDecorated(True) self.addColumn('trait/file') self.addColumn('name') self.addColumn('package')
def __init__(self, parent, file_type='template', name='TraitListView'): KListView.__init__(self, parent, name) self.app = get_application_pointer() self.conn = self.app.conn self.file_type = file_type self.scripts = None self.templates = None self.traits = None self.trait = None self.setRootIsDecorated(True) self.addColumn('trait/file') self.addColumn('name') self.addColumn('package')