[Qt-interest] resizing window signal
Philippe
philwave at gmail.com
Mon Mar 28 13:17:19 CEST 2011
I think the current design is perfectly normal...
It is desired that resize events can be overriden (resizeEvent is
virtual).
Not to mention that signals have a cost, and resizing events can be
numerous.
Philippe
On Mon, 28 Mar 2011 06:52:45 -0400
Atlant Schmidt <aschmidt at dekaresearch.com> wrote:
> André:
>
> > Because they are not for free,
>
> Thank you, and that's a good thought but I can't accept
> that answer. Qt is *LOADED* with signals that most of
> us never catch most of the time and that happen far more
> frequently than the relatively-rare "window resize" events.
> So the processing wasted deciding that nobody's handling
> all of these other signals is far greater than would ever
> be wasted deciding that nobody's handling the "window resize"
> event.
>
>
> > usually the client interested is the actual subclass itself
>
> That may be closer to the true explanation but still,
> Qt generally encourages the use of signals and slots
> even within the same class. This feels like an
> unnecessary divergence from that general plan.
>
> I suspect the real answer is that this just never
> "bubbled up" high enough on the wish-list priority
> list to be worth an implementer's time.
>
> Maybe Thiago knows?
>
> Atlant
>
>
> -----Original Message-----
> From: qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com [mailto:qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com] On Behalf Of Andre Somers
> Sent: Monday, March 28, 2011 06:43
> To: qt-interest at trolltech.com
> Subject: Re: [Qt-interest] resizing window signal
>
> Op Ma, 28 maart, 2011 12:35 pm, schreef Atlant Schmidt:
> > All:
> >
> >> It's not a signal, it's an event you've got to reimplement
> >
> > Which of course begs the question:
> >
> > Why *ISN'T* it a signal?
>
> Because they are not for free, usually the client interested is the actual
> subclass itself, and not too many people need it as a signal. At least,
> that would be my guess, I am not a Troll.
>
> André
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
> This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.
>
> Thank you.
>
> Please consider the environment before printing this email.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list