I've got my plugin well on the way to working as required, so I would now like to remove the QDialog in main.py which is called from ui.py, (as per the interface demo plugin), and just let the plugin run when its tool button is clicked on the main toolbar. I've got the icon on the toolbar but I don't know what to replace the QDialog with. I still need main.py as it contains all my code; I just don't need the dialog.
|