Add FontBox QML editor for QFont properties — collapsed display shows "family, size pt", expanded inline dropdown provides family ComboBox (populated from QFontDatabase), compact +/- size buttons, and Bold/Italic/Underline toggles. QFont is a Q_GADGET type classified as Object by parserType(), so it requires both a PropertyTypeCustomization_Font (overrides customizeHeaderRow to create the value editor, customizeChildren as no-op) and a mMetaTypeCustomizationMap entry — the Object branch of getCustomPropertyType() is extended to check this map first. Also fix property name column to always top-align (anchors.top + implicitHeight) so it stays fixed when inline editors like FontBox expand vertically, rather than drifting to row center. Files (8 changed): - resources/Qml/ValueEditor/FontBox.qml (new) - source/src/Customization/PropertyTypeCustomization_Font.h (new) - source/src/Customization/PropertyTypeCustomization_Font.cpp (new) - resources.qrc - source/src/QQuickDetailsViewBasicTypeEditor.cpp - source/src/QQuickDetailsViewMananger.cpp - source/src/QQuickDetailsViewLayoutBuilder.cpp - source/src/PropertyHandleImpl/IPropertyHandleImpl.cpp |
||
|---|---|---|
| .. | ||
| Icon | ||
| Qml | ||
| image-20250826114654194.png | ||