Exemplo n.º 1
0
 def __init__(self, app, **atts):
     BaseDocument.__init__(self, app, **atts)
     self.trait = None #Trait(self.conn)
     self.cfg = self.app.cfg
     #self.title = SectionTitle('Trait Document')
     #self.title.attributes.update(dict(bgcolor='IndianRed', width='100%'))
     bgcolor = self.cfg.get('management_gui', 'traitdoc_section_title_color')
     self._sectitle_atts = dict(bgcolor=bgcolor, width='100%')
     self._show_description = False
     bgcolor = self.cfg.get('management_gui', 'traitdoc_bgcolor')
     self.body['bgcolor'] = bgcolor
Exemplo n.º 2
0
 def __init__(self, app, **atts):
     BaseDocument.__init__(self, app, **atts)
     self.trait = None  #Trait(self.conn)
     self.cfg = self.app.cfg
     #self.title = SectionTitle('Trait Document')
     #self.title.attributes.update(dict(bgcolor='IndianRed', width='100%'))
     bgcolor = self.cfg.get('management_gui',
                            'traitdoc_section_title_color')
     self._sectitle_atts = dict(bgcolor=bgcolor, width='100%')
     self._show_description = False
     bgcolor = self.cfg.get('management_gui', 'traitdoc_bgcolor')
     self.body['bgcolor'] = bgcolor
Exemplo n.º 3
0
 def __init__(self, app, **atts):
     BaseDocument.__init__(self, app, **atts)
     self.suite = None
     self.cursor = StatementCursor(self.conn)
Exemplo n.º 4
0
 def __init__(self, app, **atts):
     BaseDocument.__init__(self, app, **atts)
     self.suite = None
     self.cursor = StatementCursor(self.conn)
Exemplo n.º 5
0
 def __init__(self, app, **atts):
     BaseDocument.__init__(self, app, **atts)
     self.cursor = SuiteCursor(self.conn)
Exemplo n.º 6
0
 def __init__(self, app, **atts):
     BaseDocument.__init__(self, app, **atts)
     self.aptsrc = AptSourceHandler(self.conn)
     self.apt_table = AptSourceTable()
     self.apt_id = None
Exemplo n.º 7
0
 def __init__(self, app, **atts):
     BaseDocument.__init__(self, app, **atts)
     self.cursor = SuiteCursor(self.conn)