Skip to content

versionManager


Account UI Class.

=== Author: Assaf Ben Zur ===

Licensing utility.

//RETRUN STATUS CODES

//

// 0 - Process failed

// 1 - username/password are empty or not provided

// 2 - Invalid Username

// 3 - Invalid Password

// 4 - Couldn't find related license for user.

// 5 - Invalid License

// 6 - All available seats are already taken.

// 7 - Couldn't find node-lock for current HUID.

//

//

// 15 - License validated.

// 16 - Log-Out successful.



Classes


MnsVersionManager [Class]

pluginRelease UI class


Constructor: MnsVersionManager(parent(str) ; [default: mnsUIUtils.get_maya_window()])
Inherits from: form_class, base_class
Class Members:
    • currentRootDir
    • currentVersion
Methods:

MnsVersionManager methods


closeEvent [MnsVersionManager class method]

Constructor: closeEvent(self, QCloseEvent)
Return: None
Arguments:
  • self
  • QCloseEvent
Optional Arguments:

connectSignals [MnsVersionManager class method]


Connect all the UI signals

Constructor: connectSignals(self)
Return: None
Arguments:
  • self
Optional Arguments:

downloadVersion [MnsVersionManager class method]

Constructor: downloadVersion(self)
Return: None
Arguments:
  • self
Optional Arguments:

getInstallledVersions [MnsVersionManager class method]

Constructor: getInstallledVersions(self)
Return: None
Arguments:
  • self
Optional Arguments:

goToFolder [MnsVersionManager class method]

Constructor: goToFolder(self)
Return: None
Arguments:
  • self
Optional Arguments:

initializeVersion [MnsVersionManager class method]

Constructor: initializeVersion(self)
Return: None
Arguments:
  • self
Optional Arguments:

initializeView [MnsVersionManager class method]

Constructor: initializeView(self)
Return: None
Arguments:
  • self
Optional Arguments:

installVersion [MnsVersionManager class method]

Constructor: installVersion(self)
Return: None
Arguments:
  • self
Optional Arguments:

loadWindow [MnsVersionManager class method]


Main window load.

Constructor: loadWindow(self)
Return: None
Arguments:
  • self
Optional Arguments:

resizeEvent [MnsVersionManager class method]

Constructor: resizeEvent(self, QResizeEvent)
Return: None
Arguments:
  • self
  • QResizeEvent
Optional Arguments:

setButtonsState [MnsVersionManager class method]

Constructor: setButtonsState(self, item, culomn)
Return: None
Arguments:
  • self
  • item
  • culomn
Optional Arguments:


Defenitions


loadVersionManager

Load the Preferences UI from globals, avoid UI duplication.


Constructor: loadVersionManager()
Return: None
Arguments:
Keyword Arguments: