6.108. sibl_gui.components.addons.onlineUpdater.remoteUpdater

remoteUpdater.py

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

Others:

6.108.1. Module Attributes

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

6.108.2. Classes

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

Bases: foundations.dataStructures.Structure

Defines a storage object for a RemoteUpdater class release.

Initializes the class.

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

Bases: foundations.ui.common.QWidget

Defines the Application remote updater.
The remote updater is initialized with a list of available online releases ( List of ReleaseObject class instances ).

Initializes the class.

Parameters:
  • parent (QObject) – Object parent.
  • releases (dict) – Releases.
  • *args (*) – Arguments.
  • **kwargs (**) – Keywords arguments.
container[source]

Property for self.__container attribute.

Returns:self.__container.
Return type:QObject
releases[source]

Property for self.__releases attribute.

Returns:self.__releases.
Return type:dict
uiResourcesDirectory[source]

Property for self.__uiResourcesDirectory attribute.

Returns:self.__uiResourcesDirectory.
Return type:unicode
uiLogoImage[source]

Property for self.__uiLogoImage attribute.

Returns:self.__uiLogoImage.
Return type:unicode
uiTemplatesImage[source]

Property for self.__uiTemplatesImage attribute.

Returns:self.__uiTemplatesImage.
Return type:unicode
uiLightGrayColor[source]

Property for self.__uiLightGrayColor attribute.

Returns:self.__uiLightGrayColor.
Return type:QColor
uiDarkGrayColor[source]

Property for self.__uiDarkGrayColor attribute.

Returns:self.__uiDarkGrayColor.
Return type:QColor
view[source]

Property for self.__view attribute.

Returns:self.__view.
Return type:QWidget
splitter[source]

Property for self.__splitter attribute.

Returns:self.__splitter.
Return type:unicode
headers[source]

Property for self.__headers attribute.

Returns:self.__headers.
Return type:unicode
applicationChangesUrl[source]

Property for self.__applicationChangesUrl attribute.

Returns:self.__applicationChangesUrl.
Return type:unicode
repositoryUrl[source]

Property for self.__repositoryUrl attribute.

Returns:self.__repositoryUrl.
Return type:unicode
downloadManager[source]

Property for self.__downloadManager attribute.

Returns:self.__downloadManager.
Return type:object
networkAccessManager[source]

Property for self.__networkAccessManager attribute.

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

Uncompress the given zip file.

Parameters:file (unicode) – File to extract.
Returns:Extraction success.
Return type:bool