Update Form Designer - filesystem.ring - remove createnewform() function.
@@ -214,35 +214,6 @@ class FormDesignerFileSystem
oDesigner.oView.oSub.setupdatesenabled(True)
oDesigner.oView.oSub.blocksignals(False)
-
- func CreateNewForm oDesigner
- # Close the form
- oDesigner.oModel.FormObject().close()
-
- # Update the Model
- oDesigner.oModel.aObjectsList = []
-
- # Create the form
- oDesigner.oModel.AddObject("Window",
- new FormDesigner_qWidget() { hide() }
- )
-
- # Create the Select/Draw Label
- oDesigner.oView.oLabelSelect = new qlabel(oDesigner.oModel.FormObject()) {
- setGeometry(100,100,400,400)
- setstylesheet("background-color:rgba(50,150,255,0.3);border: 1px solid black")
- setautoFillBackground(false)
- settext("")
- setmousetracking(false)
- hide()
- }
-
- # Add the form to the Sub Window
- oDesigner.oView.oSub {
- setwidget(oDesigner.oModel.FormObject())
- oDesigner.oModel.ActiveObject().setSubWindow(oDesigner.oView.oSub)
- }
-
func CreateFormObjects oDesigner,aObjectsList
# Use the List data to create the objects
for item in aObjectsList {
