enthought / pyface

pyface: traits-capable windowing framework
Other
106 stars 55 forks source link

Refactor fields #1234

Closed corranwebster closed 1 year ago

corranwebster commented 1 year ago

This is a refactor of the Field class to split it into display and editable variants: base Fields may not be editable, EditaleFields add editability (ie. the value can be changed by the user). Includes tests and documentation, including fixes to make the documentation actually compile.

Adds a LabelField and ImageField to demonstrate the non-editable Fields.

corranwebster commented 1 year ago

This is probably going to fail because of PySide 6.5 and Numpy issues discussed in #1238