UI/SplashScreen.py

changeset 15
f6ccc31d6e72
parent 13
1af94a91f439
child 791
9ec2ac20e54e
equal deleted inserted replaced
14:092aa8fafa4e 15:f6ccc31d6e72
2 2
3 # Copyright (c) 2006 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> 3 # Copyright (c) 2006 - 2010 Detlev Offenbach <detlev@die-offenbachs.de>
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a splashscreen for eric4. 7 Module implementing a splashscreen for eric5.
8 """ 8 """
9 9
10 import os.path 10 import os.path
11 import logging 11 import logging
12 12
13 from PyQt4.QtCore import Qt 13 from PyQt4.QtCore import Qt
14 from PyQt4.QtGui import QApplication, QPixmap, QSplashScreen, QColor 14 from PyQt4.QtGui import QApplication, QPixmap, QSplashScreen, QColor
15 15
16 from eric4config import getConfig 16 from eric5config import getConfig
17 17
18 class SplashScreen(QSplashScreen): 18 class SplashScreen(QSplashScreen):
19 """ 19 """
20 Class implementing a splashscreen for eric4. 20 Class implementing a splashscreen for eric5.
21 """ 21 """
22 def __init__(self): 22 def __init__(self):
23 """ 23 """
24 Constructor 24 Constructor
25 """ 25 """
47 QSplashScreen.clearMessage(self) 47 QSplashScreen.clearMessage(self)
48 QApplication.processEvents() 48 QApplication.processEvents()
49 49
50 class NoneSplashScreen(object): 50 class NoneSplashScreen(object):
51 """ 51 """
52 Class implementing a "None" splashscreen for eric4. 52 Class implementing a "None" splashscreen for eric5.
53 53
54 This class implements the same interface as the real splashscreen, 54 This class implements the same interface as the real splashscreen,
55 but simply does nothing. 55 but simply does nothing.
56 """ 56 """
57 def __init__(self): 57 def __init__(self):

eric ide

mercurial