Skip to content

Qml#502

Open
tatolevicz wants to merge 42 commits intopaceholder:masterfrom
magiatrade:qml
Open

Qml#502
tatolevicz wants to merge 42 commits intopaceholder:masterfrom
magiatrade:qml

Conversation

@tatolevicz
Copy link
Contributor

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation/refactoring

Description

Testing

  • Qt version tested:
  • Existing tests still pass
  • [6.92] Added tests for new functionality (if applicable)

Please fill out the sections above to help reviewers understand your changes.

@tatolevicz
Copy link
Contributor Author

- QML support is opt-in (-DBUILD_QML=ON)
- Zero impact on existing users/CI
- Feature is fully self-contained

Tato Levicz and others added 11 commits December 9, 2025 21:56
- Node.qml reescrito com Canvas evenodd para cutouts transparentes
- Header colorido (HSL lighten 12%) com icone SVG + caption
- Body central (cor base) + port columns (HSL darken 10%)
- Port labels posicionados dentro do body
- Ports: outline (4px) quando desconectados, filled (10px) quando conectados
- portConnected() no QuickGraphModel para query reativa
- connectionVersion counter para invalidar port state bindings
- NodeGraphStyle: nodeTypeStyles map, helpers lighten/darken/getNodeColor/getNodeIcon
- Draft connection tracejada (dashPattern)
- Borda com gaps nos cutouts dos ports
- antialiasing nos port circles

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Shape com PathSvg e OddEvenFill para cutouts vetoriais
- Escala perfeitamente com zoom (sem pixelizacao)
- antialiasing: true + smooth: true para bordas suaves
- Remove Canvas (CPU bitmap) por Shape (GPU tessellation)
- Cutouts, header, borda com gaps todos via SVG paths

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
A linha tracejada ao arrastar agora usa a mesma cor do tipo
do port (trade=vermelho, candle=azul, etc.) em vez de azul fixo.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Cantos inferiores do body respeitam o radius quando nao ha
port column adjacente.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adiciona getPortCaption no QuickGraphModel e usa nos port labels
do Node.qml. Ports agora mostram nomes do Lua metadata (ex:
"candle", "close", "source", "ma") em vez de "Input"/"Output".
Fallback pro label generico se caption vazio.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- displayCaption() retorna custom caption se setado, senão default
- setCustomCaption() permite alterar caption em runtime
- setNodeData(Caption) agora funciona (era no-op)
- addNodeWithId() cria node com ID forçado (para restore de save)
- nodeDoubleClicked signal agora inclui caption do node

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant