4343 from PySide .QtCore import *
4444else :
4545 print ("USAGE:" )
46- print (" qt4 .py pyqt4" )
47- print (" qt4 .py pyqt5" )
48- print (" qt4 .py pyside" )
46+ print (" qt .py pyqt4" )
47+ print (" qt .py pyqt5" )
48+ print (" qt .py pyside" )
4949 sys .exit (1 )
5050
5151# Fix for PyCharm hints warnings when using static methods
@@ -83,14 +83,14 @@ def main():
8383
8484
8585def check_versions ():
86- print ("[qt4 .py] CEF Python {ver}" .format (ver = cef .__version__ ))
87- print ("[qt4 .py] Python {ver} {arch}" .format (
86+ print ("[qt .py] CEF Python {ver}" .format (ver = cef .__version__ ))
87+ print ("[qt .py] Python {ver} {arch}" .format (
8888 ver = platform .python_version (), arch = platform .architecture ()[0 ]))
8989 if PYQT4 or PYQT5 :
90- print ("[qt4 .py] PyQt {v1} (qt {v2})" .format (
90+ print ("[qt .py] PyQt {v1} (qt {v2})" .format (
9191 v1 = PYQT_VERSION_STR , v2 = qVersion ()))
9292 elif PYSIDE :
93- print ("[qt4 .py] PySide {v1} (qt {v2})" .format (
93+ print ("[qt .py] PySide {v1} (qt {v2})" .format (
9494 v1 = PySide .__version__ , v2 = QtCore .__version__ ))
9595 # CEF Python version requirement
9696 assert cef .__version__ >= "55.4" , "CEF Python v55.4+ required to run this"
@@ -265,7 +265,7 @@ def OnLoadStart(self, browser, **_):
265265 self .navigation_bar .cef_widget .setFocus ()
266266 # Temporary fix no. 2 for focus issue on Linux (Issue #284)
267267 if LINUX :
268- print ("[qt4 .py] LoadHandler.OnLoadStart:"
268+ print ("[qt .py] LoadHandler.OnLoadStart:"
269269 " keyboard focus fix no. 2 (Issue #284)" )
270270 browser .SetFocus (True )
271271 self .initial_app_loading = False
@@ -281,7 +281,7 @@ def OnSetFocus(self, **_):
281281 def OnGotFocus (self , browser , ** _ ):
282282 # Temporary fix no. 1 for focus issues on Linux (Issue #284)
283283 if LINUX :
284- print ("[qt4 .py] FocusHandler.OnGotFocus:"
284+ print ("[qt .py] FocusHandler.OnGotFocus:"
285285 " keyboard focus fix no. 1 (Issue #284)" )
286286 browser .SetFocus (True )
287287
0 commit comments