Update Form Designer - Better Code - Remove unnecessary methods.
@@ -305,7 +305,9 @@ Class FormDesignerController from WindowsControllerParent
}
oModel.ActiveObject().installeventfilter(oFilter)
oModel.ActiveObject().oFilter = oFilter
+ if isAttribute(oModel.ActiveObject(),:text) {
oModel.ActiveObject().setText(cName+nCount)
+ }
oModel.ActiveObject().Show()
oModel.ActiveObject().CreateCorners()
AddObjectsToCombo()
@@ -3149,10 +3151,6 @@ class FormDesigner_QSpinBox from QSpinBox
itemdata = item[:data]
SetvalueChangedEventCode(itemdata[:setvalueChangedEvent])
- func text return ""
-
- func settext cValue
-
class FormDesigner_QComboBox from QComboBox
CreateCommonAttributes()
@@ -3253,19 +3251,11 @@ class FormDesigner_QComboBox from QComboBox
SeteditTextChangedEventCode(itemdata[:seteditTextChangedEvent])
SethighlightedEventCode(itemdata[:sethighlightedEvent])
- func text return ""
-
- func settext cValue
-
class FormDesigner_QDateTimeEdit from QDateTimeedit
CreateCommonAttributes()
CreateMoveResizeCornersAttributes()
- func text return ""
-
- func settext cValue
-
class FormDesigner_QTableWidget from QTableWidget
CreateCommonAttributes()
@@ -3542,10 +3532,6 @@ class FormDesigner_QTableWidget from QTableWidget
SetitemPressedEventCode(itemdata[:setitemPressedEvent])
SetitemSelectionChangedEventCode(itemdata[:setitemSelectionChangedEvent])
- func text return ""
-
- func settext cValue
-
class FormDesigner_QTreeWidget from QTreeWidget
CreateCommonAttributes()
@@ -3870,10 +3856,6 @@ class FormDesigner_QTreeWidget from QTreeWidget
SetitemPressedEventCode(itemdata[:setitemPressedEvent])
SetitemSelectionChangedEventCode(itemdata[:setitemSelectionChangedEvent])
- func text return ""
-
- func settext cValue
-
class FormDesigner_QRadioButton from QRadioButton
CreateCommonAttributes()
