6.101. sibl_gui.components.addons.onlineUpdater.remoteUpdater

remoteUpdater.py

Platform:
Windows, Linux, Mac Os X.
Description:
This module defines the RemoteUpdater class and others online update related objects.

Others:

6.101.1. Module Attributes

sibl_gui.components.addons.onlineUpdater.remoteUpdater.LOGGER
sibl_gui.components.addons.onlineUpdater.remoteUpdater.UI_FILE

6.101.2. Classes

class sibl_gui.components.addons.onlineUpdater.remoteUpdater.ReleaseObject(**kwargs)[source]

Bases: foundations.dataStructures.Structure

This class represents a storage object for a RemoteUpdater class release.

Parameters:kwargs – name, repositoryVersion, localVersion, type, url, comment. ( Key / Value pairs )
class sibl_gui.components.addons.onlineUpdater.remoteUpdater.RemoteUpdater(parent, releases=None, *args, **kwargs)[source]

Bases: foundations.ui.common.QWidget

This class defines the Application remote updater.
The remote updater is initialized with a list of available online releases ( List of ReleaseObject class instances ).
Parameters:
  • parent – Object parent. ( QObject )
  • releases – Releases. ( Dictionary )
  • *args – Arguments. ( * )
  • **kwargs – Keywords arguments. ( ** )
container[source]

This method is the property for self.__container attribute.

Returns:self.__container. ( QObject )
releases[source]

This method is the property for self.__releases attribute.

Returns:self.__releases. ( Dictionary )
uiResourcesDirectory[source]

This method is the property for self.__uiResourcesDirectory attribute.

Returns:self.__uiResourcesDirectory. ( String )
uiLogoImage[source]

This method is the property for self.__uiLogoImage attribute.

Returns:self.__uiLogoImage. ( String )
uiTemplatesImage[source]

This method is the property for self.__uiTemplatesImage attribute.

Returns:self.__uiTemplatesImage. ( String )
uiLightGrayColor[source]

This method is the property for self.__uiLightGrayColor attribute.

Returns:self.__uiLightGrayColor. ( QColor )
uiDarkGrayColor[source]

This method is the property for self.__uiDarkGrayColor attribute.

Returns:self.__uiDarkGrayColor. ( QColor )
view[source]

This method is the property for self.__view attribute.

Returns:self.__view. ( QWidget )
splitter[source]

This method is the property for self.__splitter attribute.

Returns:self.__splitter. ( String )
headers[source]

This method is the property for self.__headers attribute.

Returns:self.__headers. ( String )
applicationChangesUrl[source]

This method is the property for self.__applicationChangesUrl attribute.

Returns:self.__applicationChangesUrl. ( String )
repositoryUrl[source]

This method is the property for self.__repositoryUrl attribute.

Returns:self.__repositoryUrl. ( String )
downloadManager[source]

This method is the property for self.__downloadManager attribute.

Returns:self.__downloadManager. ( Object )
networkAccessManager[source]

This method is the property for self.__networkAccessManager attribute.

Returns:self.__networkAccessManager. ( QNetworkAccessManager )
extractZipFile(file)[source]

This method uncompress the given zip file.

Parameters:file – File to extract. ( String )
Returns:Extraction success. ( Boolean )