Esempio 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__))
Esempio 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__))
Esempio 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__))
Esempio 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__))
Esempio 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__))