Here are the examples of the python api PyQt4.QtGui.QApplication.instance.applicationVersion taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Example 1
def get_defaults(self):
system_values = {}
#get current app instance and the application version set there
system_values['version'] = QtGui.QApplication.instance().applicationVersion()
if QtCore.QSysInfo.ByteOrder == 0:
system_values['endian'] = "big endian"
else:
system_values['endian'] = "little endian"
system_values['architecture'] = str(QtCore.QSysInfo.WordSize)+"bit"
return system_values