Update Form Designer - Better Code for displaying the object properties.
@@ -44,14 +44,7 @@ Class FormDesignerController from WindowsControllerParent
}
func DisplayObjectProperties
- cClass = classname(oActiveObject)
- switch cClass {
- case "formdesigner_qwidget"
- setWindowObjectProperties(oActiveObject)
- }
-
- func SetWindowObjectProperties oObject
- oView.SetWindowObjectProperties(oObject)
+ oActiveObject.setProperties(oView.oPropertiesTable)
func UpdateProperties
nRow = oView.oPropertiesTable.Currentrow()
@@ -337,9 +330,6 @@ Class FormDesignerView from WindowsViewParent
oPropertiesTable.setItem(nRow,1,item)
oPropertiesTable.blocksignals(false)
- func SetWindowObjectProperties oObject
- oObject.setProperties(oPropertiesTable)
-
Class FormDesignerModel
aObjectsList = []
