Silvan:
> Nested trinary operators? WTF?! You can do that? I didn't even know that
> was legal.
Yep, that's mine. I do that quite often. It's more
expressive than the equivalent string of ifs, because
it's clear that it's a single value under alternation
rather than a whole expression. T
On Saturday 22 July 2006 10:33 pm, Stephen Torri wrote:
> It's doing exactly the opposite of what it's supposed to do. Hell's bells,
> that's good enough for the first try! I need a ! in there somewhere and
> I'm good.
Actually, I put the expression on the wrong side of the new layer of nesting
On Saturday 22 July 2006 10:33 pm, Stephen Torri wrote:
> Legal as in C++ compilers allow. Illegal if you want code that is
> maintainable others.
Probably just as well I never would have thought to go there.
> > The bright side is it seems I have followed the trail of bread crumbs to
> > the bi
On Sat, 2006-07-22 at 21:48 -0400, D. Michael 'Silvan' McIntyre wrote:
> And the prize goes to the author of this little jewel here:
>
> NoteCharacter body = getCharacter
> (charName,
> params.m_highlighted ? HighlightedColour :
> params.m_quantized ? QuantizedColour
And the prize goes to the author of this little jewel here:
NoteCharacter body = getCharacter
(charName,
params.m_highlighted ? HighlightedColour :
params.m_quantized ? QuantizedColour :
params.m_trigger ? TriggerColour : PlainColour,
inverted);
Nes
On Saturday 22 July 2006 7:28 am, Pedro Lopez-Cabanillas wrote:
> QGridLayout *mainLayout = new QGridLayout(this, 17, 4, 4, 2);
OK, that cured that. Good. Thank you.
> Shouldn't it be:
> > if (foo == Some)
> > foo = All
>
> ?
Just for the record, I didn't make any such stupid mistak
On Saturday, 22 July 2006 09:24, D. Michael 'Silvan' McIntyre wrote:
> I have the same problem here I had in the TPB. The widgets stretch out
> like crazy top to bottom unless I put in a stupid extra label. Pedro fixed
> my dummy label somehow in the TPB, and I can't work out how. I currently
>
I've got the highest/lowest bit working at the track level. I'm in the guts
of the SPB trying to work out the whole tristate gobbledehooza. Bleck.
I have the same problem here I had in the TPB. The widgets stretch out like
crazy top to bottom unless I put in a stupid extra label. Pedro fixed