OrsNonCommercialLicenseManager_8aeeec32a97811e99917c860009a272e

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4
copyright:Object Research Systems (ORS), Inc. All rights reserved 2021.
date:Jul 18 2019 12:24
dragonflyVersion:
 4.5.0.11500
UUID:8aeeec32a97811e99917c860009a272e

Class Code

class OrsPythonPlugins.OrsNonCommercialLicenseManager_8aeeec32a97811e99917c860009a272e.OrsNonCommercialLicenseManager_8aeeec32a97811e99917c860009a272e.OrsNonCommercialLicenseManager_8aeeec32a97811e99917c860009a272e(varName=None, managed=True)
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
classmethod buildRequest(userName, userMail, institution, originalJpeg, croppedJpeg, fileName)
classmethod convert2Jpeg(path)
classmethod createFilename(path)
classmethod createJpegThumbnail(path)
classmethod getMainFormClass()

Gets the class of the main form

Returns:output
classmethod helpMenu()
classmethod invalidEmail(email)
classmethod invalidImageSize(path)
classmethod invalidInputs(name, mail, institution, image_path, renewal)
keepAlive = False
multiple = False
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1, show=True)

Instantiates the widget with the provided name. This is done only if it is not already instantiated.

Parameters:
  • name (str) – name of the widget to instantiate
  • dock (str) – docking location in the main window (left, right, top, bottom, center, floating)
  • tab (str) – name of the tab to dock in
  • x (int) – position of top left corner of window in x. Use -1 for default value.
  • y (int) – position of top left corner of window in y. Use -1 for default value.
  • w (int) – width of window. Use -1 for default value.
  • l (int) – height of window. Use -1 for default value.
  • order (int.) – position of widget in docking location. Use -1 to put at the end.
  • show (bool) – if True, the form is also shown after being instantiated. If the form already exists, a “raise” is done. If False, no call to show the form is made.
classmethod popMessage()
classmethod postRequest(infos, files, url, timeout=30)
savable = False