Exemplo n.º 1
0
 def __init__(self, collection, conf):
     import ui
     pane = ui.ClassicView(collection,
                           conf,
                           title='select an event',
                           description='do something')
     ui.start_pane(pane, pane.cleanup,
                   header=u'{0} v{1}'.format(__productname__, __version__))
Exemplo n.º 2
0
 def __init__(self, collection, conf):
     import ui
     self.dbtool = backend.SQLiteDb(conf)
     ui.start_pane(ui.ClassicView(collection,
                                  conf,
                                  title='select an event',
                                  description='do something'),
                   header=u'{0} v{1}'.format(__productname__, __version__))
Exemplo n.º 3
0
 def __init__(self, collection, conf):
     import ui
     pane = ui.ClassicView(collection,
                           conf,
                           title='select an event',
                           description='do something')
     ui.start_pane(pane, pane.cleanup,
                   header=u'{0} v{1}'.format(__productname__, __version__))
Exemplo n.º 4
0
 def __init__(self, collection, conf):
     import ui
     self.dbtool = backend.SQLiteDb(conf)
     ui.start_pane(ui.ClassicView(collection,
                                  conf,
                                  self.dbtool,
                                  title='select an event',
                                  description='do something'),
                   header=u'{0} v{1}'.format(__productname__, __version__))
Exemplo n.º 5
0
 def __init__(self, conf):
     import ui
     super(Interactive, self).__init__(conf)
     ui.start_pane(ui.ClassicView(conf, self.dbtool, title='select an event',
                                  description='do something'),
                   header=u'{0} v{1}'.format(__productname__, __version__))