src/eric7/UI/SplashScreen.py

branch
eric7
changeset 10760
f702f6781b05
parent 10692
9becf9ca115c
child 11090
f5f5f5803935
equal deleted inserted replaced
10758:1fd5ea95c0e3 10760:f702f6781b05
5 5
6 """ 6 """
7 Module implementing a splashscreen for eric. 7 Module implementing a splashscreen for eric.
8 """ 8 """
9 9
10 import logging
11 import os.path 10 import os.path
12 11
13 from PyQt6.QtCore import Qt 12 from PyQt6.QtCore import Qt
14 from PyQt6.QtGui import QColor, QPixmap 13 from PyQt6.QtGui import QColor, QPixmap
15 from PyQt6.QtWidgets import QApplication, QSplashScreen 14 from PyQt6.QtWidgets import QApplication, QSplashScreen
41 Public method to show a message in the bottom part of the splashscreen. 40 Public method to show a message in the bottom part of the splashscreen.
42 41
43 @param msg message to be shown 42 @param msg message to be shown
44 @type str 43 @type str
45 """ 44 """
46 logging.debug(msg)
47 super().showMessage(msg, self.labelAlignment, QColor(Qt.GlobalColor.white)) 45 super().showMessage(msg, self.labelAlignment, QColor(Qt.GlobalColor.white))
48 QApplication.processEvents() 46 QApplication.processEvents()
49 47
50 def clearMessage(self): 48 def clearMessage(self):
51 """ 49 """
74 Public method to show a message in the bottom part of the splashscreen. 72 Public method to show a message in the bottom part of the splashscreen.
75 73
76 @param msg message to be shown 74 @param msg message to be shown
77 @type str 75 @type str
78 """ 76 """
79 logging.debug(msg) 77 pass
80 78
81 def clearMessage(self): 79 def clearMessage(self):
82 """ 80 """
83 Public method to clear the message shown. 81 Public method to clear the message shown.
84 """ 82 """

eric ide

mercurial