I have built a Qgis 3.0 Plugin which was created by QGIS Plugin Builder. The Plugin has two separate options which work perfectly (see Figure).
However, I want to attach two completely separate UIs for the two options. For the first one I already used the .ui file from the Skeleton, created by the Plugin Builder.
My Question is now: How can I create a second UI Window for the second option. It should only show two
QFileDialog Items where the user can select two import directories and a
I assume I must edit the
parent attribute in the initGui method and set up another .ui instance?
For completeness a code snippet from my
def initGui(self): """Create the menu entries and toolbar icons inside the QGIS GUI.""" export_icon = ':/plugins/export_rf3d/export.png' self.add_action( export_icon, text=self.tr(u'Export vector files to rockyfor3d ascii files'), callback=self.run, parent=self.iface.mainWindow()) """Import rf3d generated files and style them""" import_icon = ':/plugins/export_rf3d/import.png' self.add_action( import_icon, text=self.tr(u'Import Files from rockyfor3D output directory'), callback=self.runImportRockyFor3DFiles, parent=self.iface.mainWindow())