[Development] The future of smart pointers in Qt API

Jason H jhihn at gmx.com
Mon Feb 3 17:59:46 CET 2020


Recently this has caused me much consternation. I think QtQuick everything should have a parent, and a visual parent, though I appreciate how tedious this would be. They should be the same except when they can't and having separate properties would highlight that.


> Sent: Monday, February 03, 2020 at 10:33 AM
> From: "Mitch Curtis" <mitch.curtis at qt.io>
> To: "Vitaly Fanaskov" <vitaly.fanaskov at qt.io>, "Konrad Rosenbaum" <konrad at silmor.de>, "development at qt-project.org" <development at qt-project.org>
> Subject: Re: [Development] The future of smart pointers in Qt API
>
> > Vitaly Fanaskov
> >
> > [...] In this case, I think we won't have this confusing definitions like "visual
> > parent" and "just a parent"
> > (that we have in controls).
>
> Sorry, couldn't resist: visual parent vs QObject parent is a distinction that Qt Quick made, not Qt Quick Controls.
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development
>


More information about the Development mailing list