如何在 QLabel 中创建项目符号列表?

How do you create a list of bullet points in a QLabel?

使用 Python 和 PySide2,如何在 QLabel 小部件中创建项目符号列表?

您可以为此使用 HTML。

label.setText("<html><ul><li>Coffee</li><li>Tea</li><li>Milk</li></ul></html>")