def __init__(self, session): self.xmlfile = resolveFilename( SCOPE_PLUGINS, "SystemPlugins/Vision/restorewizard.xml") WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False) ShowRemoteControl.__init__(self) self.setTitle(_("Vision Core Restore Wizard")) self.skinName = ["NetworkWizard"] self.session = session self["wizard"] = Pixmap() self["lab1"] = StaticText(_("OpenVision")) self["lab2"] = StaticText(_("Let's define enigma2 once more")) self["lab3"] = StaticText(_("Report problems to:")) self["lab4"] = StaticText(_("https://openvision.tech")) self["lab5"] = StaticText(_("Sources are available at:")) self["lab6"] = StaticText(_("https://github.com/OpenVisionE2")) self.selectedAction = None self.NextStep = None self.Text = None self.buildListRef = None self.didSettingsRestore = False self.didPluginRestore = False self.PluginsRestore = False self.fullbackupfilename = None self.delaymess = None self.selectedDevice = None self.Console = Console()
def __init__(self, session, silent=True, showSteps=False, neededTag=None): self.xmlfile = ["startwizard.xml"] WizardLanguage.__init__(self, session, showSteps=False) ShowRemoteControl.__init__(self) self["wizard"] = Pixmap() self["HelpWindow"] = Pixmap() self["HelpWindow"].hide() #Screen.setTitle(self, _("Welcome...")) Screen.setTitle(self, _("StartWizard"))
def __init__(self, session): LanguageSelection.__init__(self, session) ShowRemoteControl.__init__(self) global inWizzard inWizzard = True self.onLayoutFinish.append(self.selectKeys) self["wizard"] = Pixmap() self["summarytext"] = StaticText() self["text"] = Label() self.setText()
def __init__(self, session, silent=True, showSteps=False, neededTag=None): self.xmlfile = ["startwizard.xml"] WizardLanguage.__init__(self, session, showSteps=False) ShowRemoteControl.__init__(self) self["wizard"] = Pixmap() self["lab1"] = StaticText(_("OpenVision")) self["lab2"] = StaticText(_("Lets define enigma2 once more")) self["lab3"] = StaticText(_("Report problems to:")) self["lab4"] = StaticText(_("https://openvision.tech")) self["lab5"] = StaticText(_("Sources are available at:")) self["lab6"] = StaticText(_("https://github.com/OpenVisionE2"))
def __init__(self, session): LanguageSelection.__init__(self, session) ShowRemoteControl.__init__(self) self.onLayoutFinish.append(self.selectKeys) self["wizard"] = Pixmap() self["text"] = Label() self["lab1"] = StaticText(_("OpenVision")) self["lab2"] = StaticText(_("Lets define enigma2 once more")) self["lab3"] = StaticText(_("Report problems to:")) self["lab4"] = StaticText(_("https://openvision.tech")) self["lab5"] = StaticText(_("Sources are available at:")) self["lab6"] = StaticText(_("https://github.com/OpenVisionE2")) self.setText()
def __init__(self, session): self.xmlfile = resolveFilename( SCOPE_PLUGINS, "SystemPlugins/SoftwareManager/imagewizard.xml") WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False) ShowRemoteControl.__init__(self) self.session = session self["wizard"] = Pixmap() self["HelpWindow"] = Pixmap() self["HelpWindow"].hide() self.setTitle(_("ImageWizard")) self.selectedDevice = None
def __init__(self, session): # FIXME anyone knows how to use relative paths from the plugin's directory? self.xmlfile = resolveFilename(SCOPE_SKINS, "videowizard.xml") self.hw = iAVSwitch WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False) ShowRemoteControl.__init__(self) self["wizard"] = Pixmap() self["HelpWindow"] = Pixmap() self["HelpWindow"].hide() self["portpic"] = Pixmap() #Screen.setTitle(self, _("Welcome...")) Screen.setTitle(self, _("VideoWizard")) self.port = None self.mode = None self.rate = None
def __init__(self, session, interface=None): self.xmlfile = resolveFilename( SCOPE_PLUGINS, "SystemPlugins/NetworkWizard/networkwizard.xml") WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False) ShowRemoteControl.__init__(self) self.session = session self["wizard"] = Pixmap() self["HelpWindow"] = Pixmap() self["HelpWindow"].hide() self["VKeyIcon"] = Boolean(False) self["lab1"] = StaticText(_("OpenVision")) self["lab2"] = StaticText(_("Let's define enigma2 once more")) self["lab3"] = StaticText(_("Report problems to:")) self["lab4"] = StaticText(_("https://openvision.tech")) self["lab5"] = StaticText(_("Sources are available at:")) self["lab6"] = StaticText(_("https://github.com/OpenVisionE2")) self.InstalledInterfaceCount = None self.Adapterlist = None self.InterfaceState = None self.isInterfaceUp = None self.WlanPluginInstalled = False self.ap = None self.w = None if interface is not None: self.selectedInterface = interface else: self.selectedInterface = None self.NextStep = None self.resetRef = None self.checkRef = None self.AdapterRef = None self.APList = None self.newAPlist = None self.oldlist = None self.originalInterfaceState = {} self.originalInterfaceStateChanged = False self.Text = None self.rescanTimer = eTimer() self.rescanTimer.callback.append(self.rescanTimerFired) self.getInstalledInterfaceCount() self.isWlanPluginInstalled()
def __init__(self, session, interface=None): self.xmlfile = resolveFilename( SCOPE_PLUGINS, "SystemPlugins/NetworkWizard/networkwizard.xml") WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False) ShowRemoteControl.__init__(self) Screen.setTitle(self, _("NetworkWizard")) self.session = session self["wizard"] = Pixmap() self["HelpWindow"] = Pixmap() self["HelpWindow"].hide() self["VKeyIcon"] = Boolean(False) self.InstalledInterfaceCount = None self.Adapterlist = None self.InterfaceState = None self.isInterfaceUp = None self.WlanPluginInstalled = False self.ap = None self.w = None if interface is not None: self.selectedInterface = interface else: self.selectedInterface = None self.NextStep = None self.resetRef = None self.checkRef = None self.AdapterRef = None self.APList = None self.newAPlist = None self.oldlist = None self.originalInterfaceState = {} self.originalInterfaceStateChanged = False self.Text = None self.rescanTimer = eTimer() self.rescanTimer.callback.append(self.rescanTimerFired) self.getInstalledInterfaceCount() self.isWlanPluginInstalled()
def __init__(self, session, interface=None): self.xmlfile = resolveFilename(SCOPE_SKINS, "userinterfacepositionerwizard.xml") WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False) ShowRemoteControl.__init__(self) self.skinName = "StartWizard" self.session = session Screen.setTitle(self, _("Welcome...")) self.Console = Console() self["wizard"] = Pixmap() self["HelpWindow"] = Pixmap() self["HelpWindow"].hide() self["VKeyIcon"] = Boolean(False) self.NextStep = None self.Text = None self.onLayoutFinish.append(self.layoutFinished) self.onClose.append(self.__onClose)
def __init__(self, session, newTimer): self.xmlfile = Directories.resolveFilename( Directories.SCOPE_PLUGINS, "Extensions/AutoTimer/autotimerwizard.xml") WizardLanguage.__init__(self, session, showSteps=True, showStepSlider=True) AutoTimerEditorBase.__init__(self, newTimer) ShowRemoteControl.__init__(self) self.skinName = ["AutoTimerWizard", "NetworkWizard"] self["wizard"] = Pixmap() self["HelpWindow"] = Pixmap() self["HelpWindow"].hide() self["VKeyIcon"] = Boolean(False) self.doCancel = False self.emptyMatch = False self.tailingWhitespacesMatch = False # We might need to change shown items, so add some notifiers self.timespan.addNotifier(self.regenTimespanList, initial_call=False) self.generateTimespanList() self.servicesDlg = self.session.instantiateDialog( AutoTimerServiceEditor, self.serviceRestriction, self.services, self.bouquets) self.filterDlg = self.session.instantiateDialog( AutoTimerFilterEditor, self.filterSet, self.excludes, self.includes) self["TextEntryActions"] = ActionMap( ["TextEntryActions"], { "deleteForward": self.deleteForward, "deleteBackward": self.deleteBackward }, -2)
def __init__(self, session): # FIXME anyone knows how to use relative paths from the plugin's directory? self.xmlfile = resolveFilename( SCOPE_PLUGINS, "SystemPlugins/Videomode/videowizard.xml") self.hw = video_hw WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False) ShowRemoteControl.__init__(self) self["wizard"] = Pixmap() self["portpic"] = Pixmap() self["lab1"] = StaticText(_("OpenVision")) self["lab2"] = StaticText(_("Lets define enigma2 once more")) self["lab3"] = StaticText(_("Report problems to:")) self["lab4"] = StaticText(_("https://openvision.tech")) self["lab5"] = StaticText(_("Sources are available at:")) self["lab6"] = StaticText(_("https://github.com/OpenVisionE2")) self.port = None self.mode = None self.rate = None
def __init__(self, session): LocaleSelection.__init__(self, session) ShowRemoteControl.__init__(self) global inWizard inWizard = True saveText = _( "Apply the currently highlighted locale/language and exit") cancelText = _( "Cancel any changes to the active locale/language and exit") self["selectionActions"] = HelpableActionMap( self, "LocaleSelectionActions", { "select": (self.keySelect, saveText), "close": (self.keyCancel, cancelText), "cancel": (self.keyCancel, cancelText), "save": (self.keySelect, saveText), }, prio=0, description=_("Locale/Language Selection Actions")) self["manageActions"].setEnabled(False) self.onLayoutFinish.append(self.selectKeys) self["summarytext"] = StaticText() self["text"] = Label()