[Interest] Prevent QWidgetWindow from appending "Window" to objectNames

Philipp Kursawe phil.kursawe at gmail.com
Wed Oct 30 10:30:51 CET 2013


I would have to do that for every of my widgets, which sounds like a bug to
me.


On Wed, Oct 30, 2013 at 8:48 AM, Bo Thorsen <bthorsen at ics.com> wrote:

> Den 29-10-2013 18:36, Philipp Kursawe skrev:
> > That is really anyoing. When I set a widgets objectName I expect it to
> > not modify this name.
> > But QWidgetWindow connects itself to the objectNameChanged signal
> > connect(m_widget, &QObject::objectNameChanged, this,
> &QWidgetWindow::updateObjectName);
> >
> >
> > to modify it. I'm actually surprised this does not lead to a circular
> call.
> >
> > So, how can I prevent that? I want to have verbatim object names.
>
> disconnect() ?
>
> --
> Bo Thorsen, European Engineering Manager, ICS
> Integrated Computer Solutions. Delivering World-Class Applications
> http://ics.com/services
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131030/e8db369f/attachment.html>


More information about the Interest mailing list