#print args
#print options
-
import sys
reload(sys)
import locale
else :
sys.setdefaultencoding(locale.getpreferredencoding())
#chemin de l'application
-
+#print 'ATTENTION APPLIPATH'
AppliPath = os.path.abspath(os.path.dirname(os.path.realpath(sys.argv[0])))
+#AppliPath = '/home/pierre/workspace/iramuteqNG'
#chemin des images
ImagePath = os.path.join(AppliPath, 'images')
#configuration generale
bmp = wx.Image(os.path.join(ImagePath, 'splash.png')).ConvertToBitmap()
wx.SplashScreen.__init__(self, bmp,
wx.SPLASH_CENTRE_ON_SCREEN | wx.SPLASH_TIMEOUT,
- 3000, None, -1)
+ 1000, None, -1)
self.Bind(wx.EVT_CLOSE, self.OnClose)
self.fc = wx.FutureCall(1500, self.ShowMain)
self.ShowMain()
def ShowMain(self):
- frame = IraFrame(None, -1, "IRaMuTeQ " + ConfigGlob.get('DEFAULT', 'version'), size=(950, 650))
+ frame = IraFrame(None, -1, "IRaMuTeQ " + ConfigGlob.get('DEFAULT', 'version'), size=(1100, 800))
frame.Show()
frame.Upgrade()
frame.OnOpenFromCmdl()
Create and show the splash screen. It will then create and show
the main frame when it is time to do so.
"""
-
wx.SystemOptions.SetOptionInt("mac.window-plain-transition", 1)
self.SetAppName("Iramuteq")
splash = MySplashScreen()