python - How to format string for QErrorMessage in PySide2? -


i creating error message qtwidgets.qerrormessage() pyside2. qt5 documentation says use qstring - doesn't come pyside2.

i need add line breaks message. here have right now:

errorwindow = qtwidgets.qerrormessage() errormessage = 'error while loading footage:\n{}\n\nare network drives connected?'.format('\n'.join(failedmovies)) errorwindow.showmessage(errormessage) 


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -