Esempio n. 1
0
    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)
        Rc.__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
        )
Esempio n. 2
0
	def __init__(self, session, interface = None):
		self.xmlfile = resolveFilename(SCOPE_PLUGINS, "SystemPlugins/NetworkWizard/networkwizard.xml")
		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		self.session = session
		self["wizard"] = Pixmap()

		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()
Esempio n. 3
0
	def __init__(self, session, silent = True, showSteps = False, neededTag = None):
		self.xmlfile = ["startwizard.xml"]
		WizardLanguage.__init__(self, session, showSteps = False)
		Rc.__init__(self)
		self["wizard"] = Pixmap()
		#Screen.setTitle(self, _("Welcome..."))
		Screen.setTitle(self, _("StartWizard"))
	def __init__(self, session):
		self.xmlfile = resolveFilename(SCOPE_PLUGINS, "SystemPlugins/Vision/restorewizard.xml")
		WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False)
		Rc.__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()
Esempio n. 5
0
	def __init__(self, session):
		self.xmlfile = resolveFilename(SCOPE_PLUGINS, "SystemPlugins/SoftwareManager/imagewizard.xml")
		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		self.session = session
		self["wizard"] = Pixmap()
		self.selectedDevice = None
Esempio n. 6
0
 def __init__(self, session):
     self.xmlfile = resolveFilename(
         SCOPE_PLUGINS, "SystemPlugins/CleanupWizard/cleanupwizard.xml")
     WizardLanguage.__init__(self,
                             session,
                             showSteps=False,
                             showStepSlider=False)
     Rc.__init__(self)
     self.session = session
     self["wizard"] = Pixmap()
     self.selectedAction = None
     self.selectedPackage = None
     self.NextStep = None
     self.Text = None
     self.buildListRef = None
     self.RemoveRef = None
     self.excluded_extensions = ('-skins', '-streamproxy',
                                 '-frontprocessorupgrade',
                                 '-crashlogautosubmit', '-hotplug',
                                 '-webinterface', '-mediascanner',
                                 '-genuinedreambox', '-mediaplayer',
                                 '-pictureplayer', '-dvdplayer', '-dvdburn',
                                 '-videotune', '-videomode',
                                 '-softwaremanager', '-skinselector',
                                 '-satfinder')
     self.Console = Console()
     self.installed_packetlist = []
     self.ipkg = IpkgComponent()
     self.ipkg.addCallback(self.ipkgCallback)
Esempio n. 7
0
 def __init__(self, session, silent=True, showSteps=False, neededTag=None):
     self.xmlfile = ["startwizard.xml"]
     WizardLanguage.__init__(self, session, showSteps=False)
     Rc.__init__(self)
     self["wizard"] = Pixmap()
     #Screen.setTitle(self, _("Welcome..."))
     Screen.setTitle(self, _("StartWizard"))
Esempio n. 8
0
	def __init__(self, session, silent = True, showSteps = False, neededTag = None):
		self.xmlfile = ["startwizard.xml", "defaultsatlists.xml"]
		DefaultWizard.__init__(self, session, silent, showSteps, neededTag = "services", default = True)
		WizardLanguage.__init__(self, session, showSteps = False, showMulticontentList = True)
		Rc.__init__(self)

		self["wizard"] = Pixmap()

		# needed for LanguageSelection
		self.png_cache = { }

		self["button_green"] = Boolean(False)
		self["button_green_text"] = Label()
		self["button_green_text"].hide()
		self["button_yellow"] = Boolean(False)
		self["button_yellow_text"] = Label()
		self["button_yellow_text"].hide()
		self["button_blue"] = Boolean(False)
		self["button_blue_text"] = Label()
		self["button_blue_text"].hide()

		self["state_label"] = Label()
		self["state"] = Label()
		self.showState(False)

		NetworkWizardNew.__init__(self)
		self.networkWizardAvailable = NetworkWizardNew not in emptyWizardList

		self["portpic"] = Pixmap()
		VideoWizard.__init__(self)
		self.videoWizardAvailable = VideoWizard not in emptyWizardList
Esempio n. 9
0
	def __init__(self, session, interface = None):
		self.xmlfile = resolveFilename(SCOPE_PLUGINS, "SystemPlugins/NetworkManager/networkwizard.xml")

		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		NetworkConfigGeneral.__init__(self)

		self._services = self["list"]
		self._services.buildfunc = self._buildListEntry
		self._services.setStyle("default")

		self["wizard"] = Pixmap()
		self["HelpWindow"] = Pixmap()
		self["HelpWindow"].hide()
		self["VKeyIcon"] = Boolean(False)
		self["button_green"] = Boolean(False)
		self["button_green_text"] = Label(_("Connect"))
		self["button_green_text"].hide()
		self["button_yellow"] = Boolean(False)
		self["button_yellow_text"] = Label(_("Rescan"))
		self["button_yellow_text"].hide()
		self["state_label"] = Label(_("Connection State:"))
		self["state"] = Label( NetworkConfigGeneral.translateState(self._nm.state()) )

		self._ipconfig = None
		self._nsconfig = None
Esempio n. 10
0
 def __init__(self, session, silent=True, showSteps=False, neededTag=None):
     self.xmlfile = ['italysatwizard.xml']
     WizardLanguage.__init__(self, session, showSteps=False)
     Rc.__init__(self)
     self['wizard'] = Pixmap()
     Screen.setTitle(self, _('Welcome...'))
     self.skinName = 'StartWizard'
Esempio n. 11
0
	def __init__(self, session):
		self.xmlfile = resolveFilename(SCOPE_PLUGINS, "SystemPlugins/SoftwareManager/imagewizard.xml")
		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		self.session = session
		self["wizard"] = Pixmap()
		self.selectedDevice = None
Esempio n. 12
0
 def __init__(self, session, silent=True, showSteps=False, neededTag=None):
     self.xmlfile = ['startwizard.xml']
     WizardLanguage.__init__(self, session, showSteps=False)
     Rc.__init__(self)
     self['wizard'] = Pixmap()
     self['HelpWindow'] = Pixmap()
     self['HelpWindow'].hide()
     Screen.setTitle(self, _('StartWizard'))
Esempio n. 13
0
	def __init__(self, session, silent = True, showSteps = False, neededTag = None):
		self.xmlfile = ["startwizard.xml", "defaultsatlists.xml"]
		DefaultWizard.__init__(self, session, silent, showSteps, neededTag = "services", default = True)
		WizardLanguage.__init__(self, session, showSteps = False, showMulticontentList = True)
		Rc.__init__(self)
		self["wizard"] = Pixmap()

		# needed for LanguageSelection
		self.png_cache = { }
Esempio n. 14
0
 def __init__(self, session, silent = True, showSteps = False, neededTag = None):
     DreamInfoHandler.__init__(self, self.statusCallback, neededTag=neededTag)
     self.silent = silent
     self.setDirectory()
     WizardLanguage.__init__(self, session, showSteps=False)
     self['wizard'] = Pixmap()
     self['rc'] = MovingPixmap()
     self['arrowdown'] = MovingPixmap()
     self['arrowup'] = MovingPixmap()
     self['arrowup2'] = MovingPixmap()
Esempio n. 15
0
 def __init__(self, session, silent=True, showSteps=False, neededTag=None):
     self.xmlfile = ["startwizard.xml", "defaultsatlists.xml"]
     WizardLanguage.__init__(self, session, showSteps=False)
     DefaultWizard.__init__(self,
                            session,
                            silent,
                            showSteps,
                            neededTag="services")
     Rc.__init__(self)
     self["wizard"] = Pixmap()
Esempio n. 16
0
	def __init__(self, session):
		self.xmlfile = resolveFilename(SCOPE_PLUGINS, "SystemPlugins/SoftwareManager/imagewizard.xml")
		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		self.session = session
		self["wizard"] = Pixmap()
		self["HelpWindow"] = Pixmap()
		self["HelpWindow"].hide()
		#Screen.setTitle(self, _("Welcome..."))
		Screen.setTitle(self, _("ImageWizard"))
		self.selectedDevice = None
Esempio n. 17
0
	def __init__(self, session, silent=True, showSteps=False, neededTag=None):
		self.xmlfile = ["startwizard.xml"]
		WizardLanguage.__init__(self, session, showSteps=False)
		Rc.__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"))
Esempio n. 18
0
 def __init__(self, session):
     self.xmlfile = resolveFilename(SCOPE_SKIN, 'videowizard.xml')
     self.hw = iAVSwitch
     WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False)
     Rc.__init__(self)
     self['wizard'] = Pixmap()
     self['portpic'] = Pixmap()
     Screen.setTitle(self, _('Welcome...'))
     self.port = None
     self.mode = None
     self.rate = None
Esempio n. 19
0
	def __init__(self, session, silent = True, showSteps = False, neededTag = None):
		DreamInfoHandler.__init__(self, self.statusCallback, neededTag = neededTag)
		self.silent = silent
		self.setDirectory()
        
		WizardLanguage.__init__(self, session, showSteps = False)
		self["wizard"] = Pixmap()
		self["rc"] = MovingPixmap()
		self["arrowdown"] = MovingPixmap()
		self["arrowup"] = MovingPixmap()
		self["arrowup2"] = MovingPixmap()
Esempio n. 20
0
	def __init__(self, session):
		self.xmlfile = resolveFilename(SCOPE_PLUGINS, "SystemPlugins/SoftwareManager/imagewizard.xml")
		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		self.session = session
		self["wizard"] = Pixmap()
		self["HelpWindow"] = Pixmap()
		self["HelpWindow"].hide()
		#Screen.setTitle(self, _("Welcome..."))
		Screen.setTitle(self, _("ImageWizard"))
		self.selectedDevice = None
Esempio n. 21
0
	def __init__(self, session, silent = True, showSteps = False, neededTag = None, default = False, showMulticontentList = False):
		DreamInfoHandler.__init__(self, self.statusCallback, neededTag = neededTag)
		self.silent = silent
		self.setDirectory()
		self.default = default

		WizardLanguage.__init__(self, session, showSteps = False, showMulticontentList = showMulticontentList)
		self["wizard"] = Pixmap()
		self["rc"] = MovingPixmap()
		self["arrowdown"] = MovingPixmap()
		self["arrowup"] = MovingPixmap()
		self["arrowup2"] = MovingPixmap()
Esempio n. 22
0
	def __init__(self, session, silent = True, showSteps = False, neededTag = None):
		if config.misc.iptvmode.value in ('normal'):
			self.xmlfile = ["startwizard.xml"]
		else:
			self.xmlfile = ["startwizard_iptv.xml"]
		WizardLanguage.__init__(self, session, showSteps = False)
		Rc.__init__(self)
		self["wizard"] = Pixmap()
		self["HelpWindow"] = Pixmap()
		self["HelpWindow"].hide()
		#Screen.setTitle(self, _("Welcome..."))
		Screen.setTitle(self, _("StartWizard"))
Esempio n. 23
0
	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)
		Rc.__init__(self)
		self["wizard"] = Pixmap()
		self["portpic"] = Pixmap()
		
		self.port = None
		self.mode = None
		self.rate = None
Esempio n. 24
0
	def __init__(self, session):
		self.xmlfile = resolveFilename(SCOPE_PLUGINS, "SystemPlugins/SoftwareManager/restorewizard.xml")
		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		self.session = session
		self.skinName = "StartWizard"
		self.skin = "StartWizard.skin"
		self["wizard"] = Pixmap()
		self.selectedAction = None
		self.NextStep = None
		self.Text = None
		self.buildListRef = None
		self.fullbackupfilename = None
Esempio n. 25
0
	def __init__(self, session):
		# FIXME anyone knows how to use relative paths from the plugin's directory?
		self.xmlfile = resolveFilename(SCOPE_SKIN, "videowizard.xml")
		self.hw = iAVSwitch

		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		self["wizard"] = Pixmap()
		self["portpic"] = Pixmap()

		self.port = None
		self.mode = None
		self.rate = None
Esempio n. 26
0
 def __init__(self, session):
     self.xmlfile = resolveFilename(SCOPE_SKIN, 'videowizard.xml')
     self.hw = iAVSwitch
     WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False)
     Rc.__init__(self)
     self['wizard'] = Pixmap()
     self['HelpWindow'] = Pixmap()
     self['HelpWindow'].hide()
     self['portpic'] = Pixmap()
     Screen.setTitle(self, _('VideoWizard'))
     self.port = None
     self.mode = None
     self.rate = None
     return
Esempio n. 27
0
	def __init__(self, session):
		# FIXME anyone knows how to use relative paths from the plugin's directory?
		self.xmlfile = resolveFilename(SCOPE_SKIN, "videowizard.xml")
		self.hw = iAVSwitch

		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		self["wizard"] = Pixmap()
		self["portpic"] = Pixmap()
		Screen.setTitle(self, _("Welcome..."))

		self.port = None
		self.mode = None
		self.rate = None
Esempio n. 28
0
    def __init__(self, session):
        self.xmlfile = resolveFilename(
            SCOPE_PLUGINS, "SystemPlugins/Videomode/videowizard.xml")
        self.video_cfg = video_hw

        WizardLanguage.__init__(self, session)
        Rc.__init__(self)

        self["wizard"] = Pixmap()
        self["portpic"] = Pixmap()

        self.port = None
        self.mode = None
        self.rate = None
 def __init__(self, session, interface = None):
     self.xmlfile = resolveFilename(SCOPE_SKIN, 'userinterfacepositionerwizard.xml')
     WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False)
     Rc.__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)
Esempio n. 30
0
	def __init__(self, session):
		self.xmlfile = Directories.resolveFilename(Directories.SCOPE_PLUGINS, "SystemPlugins/Vision/clientmodebox.xml")
		WizardLanguage.__init__(self, session)
		self.setTitle(_('Vision Client Mode Box'))
		self.skinName = ["ClientModeBoxWizard"]
		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['myactions'] = ActionMap(["MenuActions"],
									  {
									  'menu': self.Menu,
									  'exit': self.exit,
									  }, -1)
Esempio n. 31
0
    def __init__(self, session):
        if environ["LANGUAGE"] == "de":
            self.xmlfile = config.plugins.pvmc.pluginfolderpath.value + "DMC_Wizard_DE.xml"
        else:
            if environ["LANGUAGE"] == "de_DE":
                self.xmlfile = config.plugins.pvmc.pluginfolderpath.value + "DMC_Wizard_DE.xml"
            else:
                self.xmlfile = config.plugins.pvmc.pluginfolderpath.value + "DMC_Wizard.xml"

        WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False)
        self["wizard"] = Pixmap()
        self["textTop"] = Label()
        self["textCenter"] = Label()
        self["textBottom"] = Label()

        self["showiframe"] = StillPicture(session)
Esempio n. 32
0
	def __init__(self, session):
		self.xmlfile = resolveFilename(SCOPE_PLUGINS, "SystemPlugins/CleanupWizard/cleanupwizard.xml")
		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		self.session = session
		self["wizard"] = Pixmap()
		self.selectedAction = None
		self.selectedPackage = None
		self.NextStep = None
		self.Text = None
		self.buildListRef = None
		self.RemoveRef = None
		self.excluded_extensions = ('-skins', '-streamproxy', '-frontprocessorupgrade', '-crashlogautosubmit', '-hotplug', '-webinterface', '-mediascanner', '-genuinedreambox', '-mediaplayer', '-pictureplayer', '-dvdplayer', '-dvdburn', '-videotune', '-videomode', '-softwaremanager', '-skinselector', '-satfinder' )
		self.Console = Console()
		self.installed_packetlist = []
		self.ipkg = IpkgComponent()
		self.ipkg.addCallback(self.ipkgCallback)
Esempio n. 33
0
	def __init__(self, session, packagesAvailable, packagesMissing):
		self.xmlfile = "restorewizard.xml"
		WizardLanguage.__init__(self, session)
		self.skinName = "DefaultWizard"
		self._packagesAvailable = packagesAvailable
		self._packagesMissing = packagesMissing
		self._commands = []

		self["wizard"] = Pixmap()
		self["rc"] = MovingPixmap()
		self["arrowdown"] = MovingPixmap()
		self["arrowup"] = MovingPixmap()
		self["arrowup2"] = MovingPixmap()

		self._packages = []
		for p in self._packagesAvailable:
			self._packages.append(getConfigListEntry(p, ConfigYesNo(default=True)))
Esempio n. 34
0
	def __init__(self, session):
		self.xmlfile = resolveFilename(SCOPE_PLUGINS, "SystemPlugins/Vision/restorewizard.xml")
		WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False)
		Rc.__init__(self)
		self.session = session
		self["wizard"] = Pixmap()
		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, interface = None):
		self.xmlfile = resolveFilename(SCOPE_SKIN, "userinterfacepositionerwizard.xml")
		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		self.skinName = "StartWizard"
		self.session = session
		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)
Esempio n. 36
0
 def __init__(self, session):
     self.xmlfile = resolveFilename(
         SCOPE_PLUGINS, "SystemPlugins/SoftwareManager/restorewizard.xml")
     WizardLanguage.__init__(self,
                             session,
                             showSteps=False,
                             showStepSlider=False)
     Rc.__init__(self)
     self.session = session
     self.skinName = "StartWizard"
     self.skin = "StartWizard.skin"
     self["wizard"] = Pixmap()
     self.selectedAction = None
     self.NextStep = None
     self.Text = None
     self.buildListRef = None
     self.fullbackupfilename = None
	def __init__(self, session):
		# FIXME anyone knows how to use relative paths from the plugin's directory?
		self.xmlfile = resolveFilename(SCOPE_SKIN, "videowizard.xml")
		self.hw = iAVSwitch

		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__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
Esempio n. 38
0
	def __init__(self, session, packagesAvailable, packagesMissing):
		self.xmlfile = "restorewizard.xml"
		WizardLanguage.__init__(self, session)
		self.skinName = "DefaultWizard"
		self._packagesAvailable = packagesAvailable
		self._packagesMissing = packagesMissing
		self._commands = []

		self["wizard"] = Pixmap()
		self["rc"] = MovingPixmap()
		self["arrowdown"] = MovingPixmap()
		self["arrowup"] = MovingPixmap()
		self["arrowup2"] = MovingPixmap()

		self._packages = []
		for p in self._packagesAvailable:
			self._packages.append(getConfigListEntry(p, ConfigYesNo(default=True)))
Esempio n. 39
0
 def __init__(self, session, interface = None):
     self.xmlfile = resolveFilename(SCOPE_SKIN, 'userinterfacepositionerwizard.xml')
     WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False)
     Rc.__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)
     return
Esempio n. 40
0
    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()
Esempio n. 41
0
	def __init__(self, session):
		self.xmlfile = resolveFilename(SCOPE_PLUGINS, "SystemPlugins/AtemioCore/restorewizard.xml")
		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		self.session = session
		self.skinName = "StartWizard"
#		self.skin = "StartWizard.skin"
		self["wizard"] = Pixmap()
		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.Console = Console()
Esempio n. 42
0
	def __init__(self, session, interface = None):
		self.xmlfile = resolveFilename(SCOPE_SKIN, "userinterfacepositionerwizard.xml")
		WizardLanguage.__init__(self, session, showSteps = False, showStepSlider = False)
		Rc.__init__(self)
		self.skinName = "StartWizard"
		self.session = session
		self.Console = Console()
		self["wizard"] = Pixmap()
		self["HelpWindow"] = Pixmap()
		self["HelpWindow"].hide()
		self["VKeyIcon"] = Boolean(False)

		self.NextStep = None
		self.Text = None

		self.onClose.append(self.__onClose)
		if self.welcomeWarning not in self.onShow:
			self.onShow.append(self.welcomeWarning)
Esempio n. 43
0
    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)
        Rc.__init__(self)
        self["wizard"] = Pixmap()
        self["portpic"] = Pixmap()
        Screen.setTitle(self, _("Welcome..."))

        self.port = None
        self.mode = None
        self.rate = None
Esempio n. 44
0
    def __init__(self, session):
        if environ["LANGUAGE"] == "de":
            self.xmlfile = config.plugins.pvmc.pluginfolderpath.value + "DMC_Wizard_DE.xml"
        else:
            if environ["LANGUAGE"] == "de_DE":
                self.xmlfile = config.plugins.pvmc.pluginfolderpath.value + "DMC_Wizard_DE.xml"
            else:
                self.xmlfile = config.plugins.pvmc.pluginfolderpath.value + "DMC_Wizard.xml"

        WizardLanguage.__init__(self,
                                session,
                                showSteps=False,
                                showStepSlider=False)
        self["wizard"] = Pixmap()
        self["textTop"] = Label()
        self["textCenter"] = Label()
        self["textBottom"] = Label()

        self["showiframe"] = StillPicture(session)
Esempio n. 45
0
    def __init__(self, session, interface=None):
        self.xmlfile = resolveFilename(
            SCOPE_PLUGINS, "SystemPlugins/NetworkWizard/networkwizard.xml")
        WizardLanguage.__init__(self,
                                session,
                                showSteps=False,
                                showStepSlider=False)
        Rc.__init__(self)
        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
        self.selectedInterface = interface
        self.originalSelectedInterface = interface
        self.NextStep = None
        self.resetRef = None
        self.AdapterRef = None
        self.APList = None
        self.newAPlist = None
        self.oldlist = None
        self.notification = None

        self.originalInterfaceState = {}
        self.originalInterfaceStateChanged = False
        self.Text = None
        self.rescanTimer = eTimer()
        self.rescanTimer.callback.append(self.rescanTimerFired)
        self.dhcpWaitTimerRunCount = 0
        self.dhcpWaitTimer = eTimer()
        self.dhcpWaitTimer.callback.append(self.dhcpWaitTimerFired)

        self.getInstalledInterfaceCount()
        self.isWlanPluginInstalled()
Esempio n. 46
0
 def __init__(self, session):
     self.xmlfile = resolveFilename(SCOPE_PLUGINS, 'SystemPlugins/ItalyCore/restorewizard.xml')
     WizardLanguage.__init__(self, session, showSteps=False, showStepSlider=False)
     Rc.__init__(self)
     self.session = session
     self.skinName = 'StartWizard'
     self.skin = 'StartWizard.skin'
     self['wizard'] = Pixmap()
     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()
     return
Esempio n. 47
0
    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)
        Rc.__init__(self)
        self["wizard"] = Pixmap()
        self["portpic"] = Pixmap()

        self["helpActions"] = ActionMap(["HelpActions"], {
            "displayHelp": self.FactoryTest,
        })

        self.port = None
        self.mode = None
        self.rate = None
    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):
        # 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)
        Rc.__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
Esempio n. 50
0
    def __init__(self, session, silent=True, showSteps=False, neededTag=None):
        self.xmlfile = ["startwizard.xml", "defaultsatlists.xml"]
        DefaultWizard.__init__(self,
                               session,
                               silent,
                               showSteps,
                               neededTag="services",
                               default=True)
        WizardLanguage.__init__(self,
                                session,
                                showSteps=False,
                                showMulticontentList=True)
        Rc.__init__(self)

        self["wizard"] = Pixmap()

        # needed for LanguageSelection
        self.png_cache = {}

        self["button_green"] = Boolean(False)
        self["button_green_text"] = Label()
        self["button_green_text"].hide()
        self["button_yellow"] = Boolean(False)
        self["button_yellow_text"] = Label()
        self["button_yellow_text"].hide()
        self["button_blue"] = Boolean(False)
        self["button_blue_text"] = Label()
        self["button_blue_text"].hide()

        self["state_label"] = Label()
        self["state"] = Label()
        self.showState(False)

        NetworkWizardNew.__init__(self)
        self.networkWizardAvailable = NetworkWizardNew not in emptyWizardList

        self["portpic"] = Pixmap()
        VideoWizard.__init__(self)
        self.videoWizardAvailable = VideoWizard not in emptyWizardList
Esempio n. 51
0
    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)
        Rc.__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)
Esempio n. 52
0
 def __init__(self, session, silent = True, showSteps = False, neededTag = None):
     self.xmlfile = ['startwizard.xml']
     WizardLanguage.__init__(self, session, showSteps=False)
     Rc.__init__(self)
     self['wizard'] = Pixmap()
     Screen.setTitle(self, _('Welcome...'))
Esempio n. 53
0
	def __init__(self, session, silent = True, showSteps = False, neededTag = None):
		self.xmlfile = ["startwizard.xml", "defaultsatlists.xml"]
		WizardLanguage.__init__(self, session, showSteps = False)
		DefaultWizard.__init__(self, session, silent, showSteps, neededTag = "services")
		Rc.__init__(self)
		self["wizard"] = Pixmap()
Esempio n. 54
0
	def __init__(self, session, silent = True, showSteps = False, neededTag = None):
		self.xmlfile = ["startwizard.xml"]
		WizardLanguage.__init__(self, session, showSteps = False)
		Rc.__init__(self)
		self["wizard"] = Pixmap()