Esempio n. 1
0
    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()
Esempio n. 2
0
 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()
Esempio n. 3
0
 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()
Esempio n. 4
0
 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)
Esempio n. 5
0
 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()
Esempio n. 6
0
 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)
Esempio n. 7
0
    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()
Esempio n. 8
0
 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)
Esempio n. 9
0
 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')
Esempio n. 10
0
 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)
Esempio n. 11
0
 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')
Esempio n. 12
0
 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')
Esempio n. 13
0
 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')