[Interest] Interface with signals and slots
Konstantin Shegunov
kshegunov at gmail.com
Fri Nov 30 22:47:12 CET 2018
On Fri, Nov 30, 2018 at 11:44 PM Jérôme Godbout <godboutj at amotus.ca> wrote:
> For me, under Android target, it does fail for the linking.
>
Links fine for me (g++8).
> I was trying to add and interface for injecting property into object
> expose to Qml. I often want to add a subset of property to a model and I
> would have want to have to rewrite the same Q_PROPERTY() and changed signal
> over and over again.
>
>
>
> Would be nice to have a way to extend a QObject with defined class of
> property with get/set and changed signals that is not a QObject to avoid
> diamond inheritance since it could already inherit another QObject class.
>
Q_GADGET supports properties. Maybe you can use that?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181130/24bc1866/attachment.html>
More information about the Interest
mailing list