MadQt Plugin Creator

A gui application for creating QtDesigner python plugins.

Prerequisites

In order to run this application you will need to first install the MadQt pip package.

In a command line type the following

MadQtPluginCreator

You should see the MadQt Project Manager

image


There’s a video on YouTube to help you get started.

MadQt Plugin Creator


Single registry file for multiple plugins

If you would like to create a file to register multiple plugins with an unique name create a python file that starts with the word “register” for example:

  • register_jimmy_plugins.py

In the file paste the following code:

#EXTRA_IMPORTS#

from PySide6.QtDesigner import QPyDesignerCustomWidgetCollection
if __name__ == '__main__':

You can now create multiple plugins and add them to register_jimmy_plugins.py for multiple registration in a single file.

When creating a new plugin check the “Add to Existing” checkbox, press the browse button next to it and select register_jimmy_plugins.py.


Create a executable for Windows

1 - Create a new file in a text editor and paste the following code

@echo off
MadQtPluginCreator

2 - Save the file as PluginCreator.bat

Note: Creating a shortcut from this file so that the command line window
does not show will stop Project Manager from receiving drag drops.

Create a shortcut for windows

PsgShortcut is a cool tool that allows for creating windows shortcuts for python scripts.

This will create the same result as the above example but you can have a icon for it.