OrsStatusBar¶
Manages the status bar of the application
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved 2021. |
| date: | Dec 01 2015 16:42 |
| dragonflyVersion: | |
| 3.1.0.286 (D) | |
| UUID: | 9bd4ea8a761c11e7b642448a5b5d70c0 |
Class Code¶
-
class
OrsPythonPlugins.OrsStatusBar.OrsStatusBar.OrsStatusBar(varname=None)¶ -
DummyState= 'DummyState'¶
-
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
captions= {}¶
-
getAMDGPUsNb()¶
-
getAvailableRAM()¶
-
getCPULoads()¶
-
getFreeGPUVRAM(idx)¶
-
getGPULoads(idx)¶
-
getGPUName(idx)¶
-
getGPUVRAMs(idx)¶
-
getGPUsNb()¶
-
classmethod
getMainFormClass()¶ Gets the class of the main form
Returns: output –
-
getNVGPUsNb()¶
-
getRAMs()¶
-
getShowButtonNewSession()¶
-
getShowButtonPreferences()¶
-
getTotalGPUVRAMs()¶
-
getTotalRAM()¶
-
handleChanged(oldState, newState)¶ This method is called when the state of the application is changed.
Parameters: - oldState (str) – name of the old (previous) state
- newState (str) – name of the new (current) state
-
keepAlive= False¶
-
multiple= False¶
-
orsStatusTextChange()¶
-
prefix= 'Current state:'¶
-
savable= True¶
-
setShowButtonNewSession(isVisible)¶
-
setShowButtonPreferences(isVisible)¶
-
shiftHistory(history, newValue)¶
-
stateDescriptors= [<ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>]¶
-
updateHistory()¶
-