Making an Options Page in 2026

Can I get some help on making an options page on current release of Picard? (Not the beta release). I saw on here some suggestions to use Qt Designer but when trying to download it from pyqt5-tools I get an error message.

So, I have been trying to use Qt Creator instead but it doesn’t seem like I can control the zoom of the page I’m making when editing using the Design tab.

Related questions for once I have it designed:

  1. How do I turn the .ui into the required python class?
  2. How do I grey out certain options and make them unchangeable unless another option has a certain value?

Thanks

For how to best install Qt Designer I can’t say, depends also on your OS. I use the one provided by my Linux distribution. It’s the one for Qt6 currently. Not sure how well the .ui files are compatible with Qt5 still, I haven’t tested this yet.

For building we have a helper Python script in the v2 picard-plugins repository, see picard-plugins/build_ui.py at 2.0 · metabrainz/picard-plugins · GitHub . For Picard 3 this becomes a bit easier, as their as a command line utility for it (picard-cli plugins compile-ui in the latest beta).

However, you also don’t necessarily need to use .ui files and Qt Designer. I think it can be nice for UIs, as it can be graphically designed. But you can just as well create the UI in code if you prefer. A plugin that does it that way is the happidev_lyrics plugin, see picard-plugins/plugins/happidev_lyrics/happidev_lyrics.py at 2.0 · metabrainz/picard-plugins · GitHub

2 Likes