UI/SplashScreen.py

changeset 3670
f0cb7579c0b4
parent 3656
441956d8fce5
child 4021
195a471c327b
equal deleted inserted replaced
3669:ac84ac3c0f05 3670:f0cb7579c0b4
2 2
3 # Copyright (c) 2006 - 2014 Detlev Offenbach <detlev@die-offenbachs.de> 3 # Copyright (c) 2006 - 2014 Detlev Offenbach <detlev@die-offenbachs.de>
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a splashscreen for eric5. 7 Module implementing a splashscreen for eric6.
8 """ 8 """
9 9
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 11
12 import os.path 12 import os.path
14 14
15 from PyQt5.QtCore import Qt 15 from PyQt5.QtCore import Qt
16 from PyQt5.QtGui import QPixmap, QColor 16 from PyQt5.QtGui import QPixmap, QColor
17 from PyQt5.QtWidgets import QApplication, QSplashScreen 17 from PyQt5.QtWidgets import QApplication, QSplashScreen
18 18
19 from eric5config import getConfig 19 from eric6config import getConfig
20 20
21 21
22 class SplashScreen(QSplashScreen): 22 class SplashScreen(QSplashScreen):
23 """ 23 """
24 Class implementing a splashscreen for eric5. 24 Class implementing a splashscreen for eric6.
25 """ 25 """
26 def __init__(self): 26 def __init__(self):
27 """ 27 """
28 Constructor 28 Constructor
29 """ 29 """
54 QApplication.processEvents() 54 QApplication.processEvents()
55 55
56 56
57 class NoneSplashScreen(object): 57 class NoneSplashScreen(object):
58 """ 58 """
59 Class implementing a "None" splashscreen for eric5. 59 Class implementing a "None" splashscreen for eric6.
60 60
61 This class implements the same interface as the real splashscreen, 61 This class implements the same interface as the real splashscreen,
62 but simply does nothing. 62 but simply does nothing.
63 """ 63 """
64 def __init__(self): 64 def __init__(self):

eric ide

mercurial