mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
[PR #219] [MERGED] QQuickPaintedItem support #250
Labels
No labels
bug
enhancement
help wanted
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/qmlnet#250
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/qmlnet/qmlnet/pull/219
Author: @devmil
Created: 8/19/2020
Status: ✅ Merged
Merged: 12/1/2020
Merged by: @pauldotknopf
Base:
develop← Head:feature/QQuickPaintedItem_support📝 Commits (10+)
bf58cf1Merge branch 'hotfix/0.10.1'663e05aMerge branch 'release/0.11.0'bfbe3d4First support for QQuickPaintedItemf9e9eabLess string passing during drawing61893a6Color string to id conversion is now an implementation detail of QmlNetPaintedItem9dd329aAdds Font metrics functionalitya893865Adds DrawText overload with bounding rectangle334c42cDont copy the actions on each draw but lock the vectorcb35ed9Optional Text support for QmlNetPaintedItem (including preedit)caa2fb0Adds Flags to the DrawText (Rect) method📊 Changes
15 files changed (+1824 additions, -17 deletions)
View changed files
📝
.gitignore(+3 -1)📝
src/native/QmlNet(+1 -1)📝
src/net/Qml.Net.Tests/Qml.Net.Tests.csproj(+1 -0)📝
src/net/Qml.Net.Tests/Qml/BaseQmlTests.cs(+68 -12)📝
src/net/Qml.Net.Tests/Qml/MvvmInteropBehaviorTests.cs(+0 -1)➕
src/net/Qml.Net.Tests/Qml/QmlNetQuickPaintedItemTests.cs(+709 -0)📝
src/net/Qml.Net/Internal/DefaultCallbacks.cs(+2 -2)📝
src/net/Qml.Net/Internal/Helpers.cs(+11 -0)📝
src/net/Qml.Net/Internal/Interop.cs(+6 -0)➕
src/net/Qml.Net/NetQPainter.cs(+779 -0)📝
src/net/Qml.Net/QCoreApplication.cs(+7 -0)📝
src/net/Qml.Net/QGuiApplication.cs(+5 -0)📝
src/net/Qml.Net/QQmlApplicationEngine.cs(+12 -0)📝
src/net/Qml.Net/Qml.cs(+14 -0)➕
src/net/Qml.Net/QmlNetQuickPaintedItem.cs(+206 -0)📄 Description
This PR adds QQuickPaintedItem support to Qml.Net.
I use this currently in a QML.Net based terminal application, so it seems to work.
The approach is:
Example usage:
Solves #198
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.