Editorium
Editorium creates Qt editors for objects or functions via reflection.
Object fields or method parameters are reflected and an editor generated for each field or parameter.
For instance an int field is generated as a QSpinBox editor.
Please see the StringCoercion project for the command-line equivalent.
Features
- Generate editor for field/type
- Generate editors for object
- Generate editors for function call
- Read fields from object to editors
- Write fields from editors into object
- Supports custom editors and extensions
Default editors
Type |
AbstractEditor |
QWidget |
int |
IntEditor |
QSpinBox |
float |
FloatEditor |
QLineEdit |
str |
StringEditor |
QLineEdit |
Optional[T]
|
NullableEditor |
QCheckBox & Editor(T) |
bool |
BoolEditor |
QCheckBox |
Enum |
AbstractEnumEditor
|
QComboBox |
Flags |
FlagsEditor |
QCheckBox[] |
List[T] |
ListTEditor |
Editor(T)`[]` |
Filename
|
AbstractBrowserEditor |
QLineEdit & QToolButton
|