示例#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
示例#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
示例#3
0
 def __init__(self, app, **atts):
     BaseDocument.__init__(self, app, **atts)
     self.suite = None
     self.cursor = StatementCursor(self.conn)
示例#4
0
 def __init__(self, app, **atts):
     BaseDocument.__init__(self, app, **atts)
     self.suite = None
     self.cursor = StatementCursor(self.conn)
示例#5
0
 def __init__(self, app, **atts):
     BaseDocument.__init__(self, app, **atts)
     self.cursor = SuiteCursor(self.conn)
示例#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
示例#7
0
 def __init__(self, app, **atts):
     BaseDocument.__init__(self, app, **atts)
     self.cursor = SuiteCursor(self.conn)