Go to file
jessequ 2e93156093 feat: add QFont type editor with FontBox and fix property name top-alignment
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
2026-07-27 21:54:57 +08:00
PropertyEditor feat: add QFont type editor with FontBox and fix property name top-alignment 2026-07-27 21:54:57 +08:00
QtADS fix: ads linux compile warning. 2026-07-15 18:10:35 +08:00
include feat: add text item with IShape interface decoupling 2026-07-22 09:56:28 +08:00
resource first commit for HMI 2026-07-03 11:29:21 +08:00
source feat: add text item with IShape interface decoupling 2026-07-22 09:56:28 +08:00
ui feat: add text item with IShape interface decoupling 2026-07-22 09:56:28 +08:00
.drone.yml change CI machine 2026-07-03 11:54:57 +08:00
.gitignore ⏺ feat: add Document layer with serialization, dirty tracking, and file actions 2026-07-08 16:57:46 +08:00
CMakeLists.txt feat: add text item with IShape interface decoupling 2026-07-22 09:56:28 +08:00
README.md first commit for HMI 2026-07-03 11:29:21 +08:00

README.md

Build Status

HMI

桌面端 HMIDesktop HMI