Exemplo n.º 1
0
 def getForm(self):
     '''getForm() ... return UI'''
     # return FreeCADGui.PySideUic.loadUi(":/panels/PageOpTurnBaseEdit.ui")
     turnUi = PathTurnHelpers.getResourcePath("PageOpTurnBaseEdit.ui")
     return FreeCADGui.PySideUic.loadUi(turnUi)
Exemplo n.º 2
0
 def getForm(self):
     """getForm() ... return UI"""
     # return FreeCADGui.PySideUic.loadUi(":/panels/DlgTurnToolHelper.ui")
     turnUi = PathTurnHelpers.getResourcePath("DlgTurnToolHelper.ui")
     return FreeCADGui.PySideUic.loadUi(turnUi)