Hi, This is an update patch to the new component chooser containing the planned followup-change to display a mini-preview of the component. Clicking on that box opens the 'big' component browser (Also fixes [Bug 1280567]). (Since we already can preselect a lot, it would be good if that browser would take these defaults; planned for another patch).
Also, the component browser now allows to choose not only the component itself, but the units (or 'Gates' or 'Parts' however you'd call them). The four NANDs in a 7400 for instance, are provided in a sub-tree to select (the preview also shows the right unit). The best part of that: the chosen unit is also kept in the history. So if you previously selected 'Unit B' of the 7400, you now can press 'a' (add component - opens dialog), cursor-down (go from 'Unit B' to 'Unit C') and ENTER: now you can place 'Unit C'. I find that this very much speeds up the way I choose components. Also now: internally it works with the Aliases instead of the Components - the previous implementation just gave out component names, but it should've given out Alias names (so even if you chose 74HC00, you got 74LS00. This is now fixed). The preview is based on the suggestion by jp; and like he predicted there were several places that I needed to change to properly deal with NULL-aPanels. Included in this patch.. Commit message: * Allow to select units in components that have more than one right in the component chooser dialog. * Keep chosen unit in history. * Show preview of current component-unit as thumbnail image next to the description box. * Fixes 1280567 View here: https://github.com/hzeller/kicad/compare/master...component-selection#files_bucket Download here: https://github.com/hzeller/kicad/compare/master...component-selection.diff -h _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

