Comments (1)
Hi, thank you for the feedback. :)
I am using Qt Quick items for the cursors currently:
slate/app/qml/ui/CanvasContainer.qml
Lines 50 to 78 in 7fd4bba
The benefit of this approach is that the cursors can be coloured, which means we can also use the inverse of the colour under the pixel to ensure that the cursor has good visibility due to contrast.
Another advantage is that we can have nice, smooth cursors. From memory, a custom QCursor shape will be quite blocky and not smooth, but I'd have to double-check that.
The disadvantage is, as you've seen, it can lag behind the mouse a bit due to it not being a system cursor. That's unrelated to signals and slots though, I think.
from slate.
Related Issues (20)
- Rerrange contents into grid
- Move image contents preview doesn't update
- See if it's possible to de-duplicate undo command code
- Document that tileset project functionality is limited
- Copy/paste across layers
- Fix flaky selectionEdgePan test
- "Scroll Zoom" doesn't work on iMac with mouse
- Add standard cmd+scroll / ctrl+scroll to zoom
- Clicking window back to focus places an unwanted pixel HOT 1
- Snap to guides/canvas edges
- Improvements for the color picker & color selection tools HOT 1
- Port guides, notes, etc. away from QQuickPaintedItem
- capas HOT 1
- Chinese translation HOT 3
- Memory Issue HOT 3
- Unusable with 150% display scaling HOT 1
- the viewport is hard to use with touchpad HOT 1
- heap-use-after-free when running "test-app saveAndLoadLayeredImageProject layerVisibilityAfterMoving"
- texturedFillSwatch, models, and disableToolsWhenLayerHidden auto tests are failing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slate.