> On Monday, October 10, 2011, Tom Breton (Tehom) wrote:
>
>> tickstamp).  That would either be inconsistent with the way other views
>> of
>> events are drawn or would imply changing them too.  That'd be a big
>> change, certainly not something I should launch myself.  So I didn't.
>
> If the inefficiency isn't massively crippling, I'd rather live with the
> status
> quo than open that can of worms.  Whenever we start trying to tinker
> around
> with update mechanisms, we always wind up chasing down bugs for years
> afterwards.

Right, it's far from crippling.  I can't actually see any slowup.

>>  * Segment now derives from QObject; Qt insists on it being the first
>> base.
>
> Part of me admires the obvious simplicity of that solution, while part of
> me
> is still rooted in a past when Qt wasn't allowed in base/.

I actually sympathize with that concern.  I looked at other ways to do it.
 I looked at MatrixWidget, but unlike NotationWidget, MatrixWidget doesn't
seem to have a workable signal to forward to the rulers (I mentioned that
even NotationWidget seems to be only succeeding by accident) Then I
considered emitting the signal from commands.  But that didn't prove
reasonable.  BasicCommand does know which segment is affected, but does
not know anything about segment connections or ruler slots.  And ISTM it
shouldn't have to know that.

That proved to me that the segment updating signal is about segments, so I
bit the bullet and made Segment a QObject.

> First we let in QString, and now Segment is a QObject.  It's pretty
> shocking
> to this old timer, but I can't think of any good reason why we should
> still
> care about trying to keep Qt out of base/.  Qt has been our common law
> wife
> for a long time now, so we might as well just get married and be done with
> it.
>
> I'm stomping down the stodgy, conservative part of me that is objecting to
> this, and we'll just move along and see where it goes from here.  It looks
> like a workable solution to the problem, and a nice bit of work.

Thank you!

        Tom Breton (Tehom)




------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to