GithubHelp home page GithubHelp logo

Comments (5)

reg31 avatar reg31 commented on August 23, 2024 1

No problem, at least it works great between c++ object.

Good job

from kdbindings.

LeonMatthesKDAB avatar LeonMatthesKDAB commented on August 23, 2024

Hi,
thank you for your interest in KDBindings and for taking the time to open an issue with your suggestion.

Unfortunately I don't quite understand your use-case.
Are you using Qt together with KDBindings? If so, why?
A big part of the reason KDBindings exists is that it's useful in environments where you want Qt features, but can't use Qt directly.

So why can't you just use Qt signals/slots for your use-case?

Happy to hear more about this :)

from kdbindings.

reg31 avatar reg31 commented on August 23, 2024

Hi,

Thank you for your response.

I am experimenting with replacing Q_OBJECT with Q_GADGET.
So I can't use the NOTIFY signal for c++ properties anymore.
I managed to work around this by using a QML timer and C++ getters functions.

from kdbindings.

LeonMatthesKDAB avatar LeonMatthesKDAB commented on August 23, 2024

Hm, okay. And now you're trying to replace the NOTIFY signal with a KDBindings::Signal?

I honestly have no idea how that could be hooked up to QML 🤔
And it may not be possible without modifying the QML Engine itself.

from kdbindings.

LeonMatthesKDAB avatar LeonMatthesKDAB commented on August 23, 2024

Out of scope for now.
If there's a more concrete plan to make this work, feel free to re-open.

from kdbindings.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.