From: Jonathan W. <jw...@ph...> - 2008-06-30 23:14:19
|
Hi Arnold > Writing with my boy on the arm... :-) Heh, I know that feeling. > > I guess the only problem with this is that there could be some display > > "flicker" between the initial mixer display and when the controls take on > > their actual values. However, that's no biggie IHMO. > > Well, no. It would mean that first there is the ffadomixer-window showing some > progress bar "Connecting to dbus..." or something. And when the connection is > made the tabs of the specific or generic mixers appear... Ah right. > > > > Finally, the ffadomixer window's vertical size is not large enough for > > > > the motumixer - it's short by the amount of space consumed at the top > > > > of the window for the "top level" controls - the clock source etc. I > > > > would like to get this fixed - what is the acceptable way of doing > > > > this? I have an inkling that it is related to QLayouts in some way, > > > > but since I can't find any reference to layouts in my version of QT > > > > designer I'm kind of at a loss as to what should be done. > > > As far as I remember the motu mixer is still not using layouts. > > Given that I don't really have any idea what layouts are or how to use > > them, and that my QT designer doesn't seem to know about them, this is > > probably completely true. > > Designer knows about layouts since Qt 1.X :-) > > Its in the top toolbar: "Layout horizontal", "Layout vertical" and "Grid". And > if you add spacers from the toolbox you get variable-width spaces... Hmm, Ok, I'll take another look and experiment further. Thanks. > > > When I switched the other mixers to layouts, I gave up on the complicated > > > (and in some places non-standard use) of elements and just tried to make > > > the motu-mixer a fixed-size widget. > > What aspects of the MOTU mixer are "nonstandard"? Where is the "standard" > > documented? I would be happy to make it more standard-compliant if I could > > find out what the "standard" actually was. As it is, I've implemented the > > mixer using what seemed sensible given QT designer's offerings. > > Well, the checkboxes are supposed to have their buddy-text on the left or > right, not underneath. Ok, from the point of view of "standard" GUI applications that's true. However, for an audio mixer-type application I personally prefer the labels to be underneith since that's where audio people expect them to be. It is after all how a vast majority of mixing desks and control surfaces do it. I take your point though. > And more generic: The dial from standard qt sucks. > usability-wise, graphic wise and when used with layouts... Maybe for the > Qt4-version I'll include the dials (and faders?) from JackMix... Oh, I couldn't agree more on this point. However, it's all we've got to work with at the moment so it'll have to do. In this respect the problem isn't motumixer but the lack of a decent dial control in the underlying GUI (Qt). In my opinion a dial is the most natural type of control for certain actions (panning in particular). I guess once could reduce the pan and gain controls to spin controls but that's really not intuitive for users. I would certainly support the addition of a decent dial. > > > It should work without the hack once the motu-mixer reports its correct > > > minimum and preferred size and the main qlayout of ffadomixer respects > > > that. Or once motu-mixer really uses layouts (which would also allow > > > resizing). > > I'll have another poke around QT designer but last time I did this there > > didn't seem to be any mention of layouts, nor were there any size-related > > fields which made any significant difference. > > Qt "should" respect the minimum size and when the sizePolicy is Minimum or > MinimumExpanding, the layout around should resize automatically... Ok, I'll give this a go. Thanks. > > > Is the current motu-mixer inspired by the layout of the win-/mac-mixer? > > > Perhaps we can redesign it when we switch to Qt4? > > It's actually inspired by what seemed sensible to me at the time. The > > layout is based partially on the standard mixer, and partly on practical > > functionality. Details are still in flux however, as I tweak things to > > account for model variations. Keeping this last point in mind, what > > aspects of the current layout are in need of redesign? > > I will think about redesign (if needed) later. Moving houses, work and > family-problems don't leave room for much ffado... No problem. I'll pick up on the above issues as time allows over the next few weeks (although this week is pretty much a write-off) and we'll let the other things resolve in time. Thanks for the additional Qt/designer tips. Regards jonathan |