I use a QListWidget to display data in a column like way:
number: command: value

However, though all commands have the same length and the numbers always take the same space everything is no displayed in the right spacing. Therefore I need to change the font used to display the text inside the listwidget in a monospaced font.

So my question is: How do I change the font used inside the listwidget?

Matthias