On Mon, 19 Jun 2006, D. Michael 'Silvan' McIntyre wrote: > On Monday 19 June 2006 7:54 am, Chris Cannam wrote: >> Doesn't look too bad, does it? Needs to lose the group boxes within the >> tab box, and I'd prefer the Segment parameters to be aligned with the top >> of their containing tab box rather than the centre, but apart from that.
Agreed. In my working copy, I now have the Segment parameters aligned with the top left corner. After hunting fruitlessly for child alignment options within frames, I ended up doing this by adding an empty row at the bottom, and an empty column at the right of the Segment Parameters grid layout, and configured both of these to use up extra space in their respective directions. I have also taken the liberty of getting rid of a redundant QHBox around the segment-name label and its pushbutton, laid these out with the existing grid manager of the Segment parameters box, and changed the pushbutton's label from "..." to "Edit", which seems more intuitive to me. I haven't got rid of the labeled group boxes yet, since I assume that I'll need to conditionally keep them for one or more of the optional layouts, such as the "classic" layout. > I didn't look yet, but if you think it "doesn't look too bad" then I'll go > along with the idea of adding it as an option, but not the only option, if > he's willing to make it configurable. Sure. Do you want any more options than tabbed and "classic"? I can personally think of one other possibility. This would be to enhance the "classic" look, by making its parameter boxes collapsible, by way of a small toggle button next to the title of each box. When collapsed, all that would remain would be the title of the parameter box, and its toggle button. I don't know if Qt has anything canned to do anything like this, or whether I would have to implement it myself. Regardless of other options, I think that for now I will simply concentrate on making it possible to select the existing "classic" and the new tabbed layouts, as options. Once I have the configuration mechanism in place for these two, it should be relatively easy to add others. > Not too hard to figure that out > looking at examples in the code. Keyword: KConfig Thanks for the tip. Martin _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel