def __init__(self, parent, name='AbandonPart'):
     KHTMLPart.__init__(self, parent, name)
     self.app = get_application_pointer()
     self.doc  = AbandoniaInfoDocument(self.app)
     self.handler = AbandonGamesHandler(self.app)
     self.begin()
     self.write('')
     self.end()
예제 #2
0
    def __init__(self, parent, name='ProfileManagerWidget'):
        QSplitter.__init__(self, parent, name)
        self.app = get_application_pointer()
        #self.listView = KListView(self)
        self.cfgView = DosboxConfigTabWidget(self)
        self.dbox = self.app.make_new_dosbox_object()

        #self.initlistView()
        cfg = self.dbox.get_default_config()
        self.cfgView.set_config(cfg)
예제 #3
0
 def __init__(self, parent, name='DboxPykdeWizard'):
     # the last argument is modal
     KWizard.__init__(self, parent, name, True)
     self.app = get_application_pointer()
     print 'hello', self.app
     self.cfg = generate_default_config_for_wizard()
     print self.cfg.sections()
     self.pageone = IntroPage(self)
     self.addPage(self.pageone, 'Introduction')
     self.pagetwo = ArchivePathsPage(self)
     self.addPage(self.pagetwo, 'Archive Paths')
     self.pagethree = DosboxPathPage(self)
     self.addPage(self.pagethree, 'Dosbox Path')
     self.set_config()
예제 #4
0
 def __init__(self, parent, name='BaseConfigWidget'):
     QWidget.__init__(self, parent, name)
     self.app = get_application_pointer()
     self.tooltips = QToolTip
     self.mainconfig = None
     self.localconfig = ConfigParser()