Rev 3 | Blame | Last modification | View Log | RSS feed
#-----------------------------------------------------------------------------# Name: HelpAbout.py# Purpose:## Author: Ron Wellsted## Created: 2015-10-05# Copyright: (c) 2015# Licence: GPL 3.0#-----------------------------------------------------------------------------# Date Author Modification#-----------------------------------------------------------------------------from PyQt4 import uicfrom PyQt4.Qt import PYQT_VERSION_STRimport sysMY_APP_VERSION_STRING = '0.0.1 pre-alpha'(Ui_HelpAbout, QDialog) = uic.loadUiType('HelpAbout.ui')class HelpAbout (QDialog):"""HelpAbout inherits QDialog"""def __init__ (self, parent = None):QDialog.__init__(self, parent)self.ui = Ui_HelpAbout()self.ui.setupUi(self)ver = 'ExamClock version' + MY_APP_VERSION_STRINGver += '\nPython: ' + sys.versionver += '\nPyQt version: ' + PYQT_VERSION_STRself.ui.label_versions.setText(ver)def __del__ (self):self.ui = None