+1
Mario's template is now supported by the addon manager as of git commit 53c2058e0
Code: Select all
#self.resize(326, 304)
self.resize(626, 404)
https://github.com/FreeCAD/FreeCAD/pull/1582
Because it started as a simple macro, so it was easier to have it all embedded in the same file. Now it could become a separate ui file, though...
Oh, I see! Makes sense. kkremitzki was working on a .ui file.. I wonder if I could use that or even borrow the QGIS .ui (and remove a lot of the bells and whistles).
Hey man, where is that .ui file you were working on for the Addon Installer. Did you attach it to a post somewhere ?kkremitzki wrote:ping
How do I render out a .ui file from the python file that runs AddonManager ?yorik wrote:ping
Showing an ui file is easy:
Code: Select all
import FreeCADGui
mydialog = FreeCADGui.PySideUic.loadUi("/path/to/my/dialog.ui")
mydialog.show()