Currently the interface/device selection dialogs have 2 popups: a 'normal' drop-down list and a popup menu under the '>' button.
Both have their advantages: I love how the '>' view shows the card descriptions and default to 'functional' names ('hw:UA25EX' rather than 'hw:2'), on the other hand the combobox dropdown is more familiar.
The attached patch removes the '>' menu and customizes the dropdown to show the card descriptions. It also factors out much of the device enumeration code from qjackctlSetupForm.cpp to a newly introduced qjackctlInterfaceComboBox.cpp.
My QT and C++ are both rusty, so this patch will probably need a couple of iterations before it's ready for inclusion, but I'd love to hear what you think and what you'd like to see improved.
patch with additional adaptations, fixes and restyling were applied. svn trunk [r763] aka. qjackctl 0.3.10.3.
thanks
Related
Commit: <Commit _id='5042310d71b75b1e6889fc2f:763' tree_id='b796925288fff34cebdd823a3df489abd9c020bd' committed=I{'date': datetime.datetime(2013, 7, 13, 19, 19, 31, 57000), 'email': '', 'name': 'rncbc'} authored=I{'date': datetime.datetime(2013, 7, 13, 19, 19, 31, 57000), 'email': '', 'name': 'rncbc'} message="- Interface device selection is now unified, by moving the old \n '>' pop-up menu into the customized combo-box drop-down list\n showing all available card/device names and descriptions (on\n a patch by Arnout Engelen, thanks).\n" parent_ids=I['5042310d71b75b1e6889fc2f:762'] child_ids=I['5042310d71b75b1e6889fc2f:764'] repo_ids=I[ObjectId('5042310d71b75b1e6889fc2f')]>
nb.this new interface is severely lacking of some macosx/coreaudio testing :(
cheers
Rumour has it Travis (https://travis-ci.org) now supports MacOS, might be cool to check out - so we can at least check it compiles...