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
Post a Comment