file:
main.py
#!/usr/bin/env python__author__ = "pyros2097"__license__ = "GPLv3"__copyright__ = 'Copyright (c) 2013, pyros2097'__credits__ = ['pyros2097', 'eclipse']__email__ = 'pyros2097@gmail.com'"""WARNING!!WARNING!!Must not modify the main.py script which is embedded into the exe fileThis is to ensure that updating the software will always work.Built on :python 2.7.3qt 4.8.2pyqt 4.9.4cxFreeze 4.3py2app 0.6.4sipqscintilla"""
from PyQt4.QtGui import QApplication,QSplashScreenfrom PyQt4.QtCore import Qtimport iconsapp = QApplication([])from globals import splash_pixfrom mainwindow import MainWindow
'''#currentlylist = QStyleFactory.keys() for i in list: print i
WindowsWindowsXPMotifCDEPlastiqueCleanlooks'''def main(): splash = QSplashScreen(splash_pix, Qt.WindowStaysOnTopHint) splash.setMask(splash_pix.mask()) splash.show() app.processEvents() #app.setStyle('Plastique') frame = MainWindow() frame.showMaximized() splash.finish(frame) frame.init() app.exec_()
if __name__ == "__main__": main()