Commit Graph

18 Commits

Author SHA1 Message Date
Seth Hillbrand 56895db84c Fix missing overrides 2022-07-06 16:05:32 -07:00
Fabien Corona 81108ed106 ADDED: pcb_calculator: wavelength panel 2022-07-06 18:28:59 +00:00
jean-pierre charras ef2d0c6438 pcb_calculator/calculator_panels/panel_cable_size: avoid a too large size.
Replace a wxGridSizer by a wxFlexGridSize to avoid too large column sizes
when not needed.
2022-06-22 21:03:07 +02:00
Seth Hillbrand d34e896708 Fix missing overrides 2022-06-21 16:43:15 -07:00
Fabien Corona 33d3618738 ADDED: PCB calculator fusing current
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9297
2022-06-21 23:34:36 +00:00
Fabien Corona 69f25f35a8 ADDED: pcb_calculator cable size
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/9298
2022-06-16 22:04:45 +00:00
jean-pierre charras 285d1f4fae pcb_calculator: change a string to facilitate a translation. 2022-06-03 18:48:01 +02:00
Seth Hillbrand 428970eb13 PCB_Calculator: Fix coupled microstrip diff Z
bffff6c1bf was well-meaning but mistook Zodd for Zsingle.  2*Zodd is the
appropriate value for differential impedance
2021-11-07 17:07:50 -08:00
Mikolaj Wielgus a3707ad365 Minor editorial changes to PCB calculator, part 2
Don't use substripts in HTML  if there is just a number in the
subscript: "R1", not "R<sub>1</sub>", except for characteristic
impedance. And of course still use "Z<sub>in</sub>", not "Zin".

This is also consistent with the images.
2021-11-01 00:09:46 +00:00
Mikolaj Wielgus 2fa9aefde2 Minor editorial changes in PCB calculator, part 1 2021-10-23 13:56:07 +00:00
jean-pierre charras 84e83fc743 pcb_calculator, eserie rework and add E24 serie.
Numerous enhancements in code.
2021-10-15 11:16:27 +02:00
Ian McInerney 8a11e89d0f Fix the type-based pcb_calculator GetCalculator implementation
ix the problem with the original template-based implementation to limit
the amount of things that could be forgotten by new panel creators
(since we can't just have a static fail method warning about things
beinf forgotten).

This reverts commit a92516bcd2.
2021-10-12 13:37:11 +01:00
Ian McInerney 708050aa55 pcb_calculator: Some code cleaning 2021-10-10 16:26:23 +01:00
Ian McInerney bd0fb5ca89 pcb_calculator: Update bitmaps on color code panel when theme changes
They aren't actually different between light and dark currently, but
this brings it inline with all other bitmaps.
2021-10-10 16:26:23 +01:00
jean-pierre charras a92516bcd2 Pcb_calculator: fix not working GetCalculator() template.
Use now wxWidgets functions to find a calculator panel.
Fixes #9358
https://gitlab.com/kicad/code/kicad/issues/9358
2021-10-10 14:16:11 +02:00
jean-pierre charras 2662433374 Pcb calculator panels: ensure sizer are correctly updated.
On wxWidgets 3.0, SetSizeHints must be called once the panel is fully populated.
On wxWidgets 3.1.5, SetSizeHints is not mandatory but can be called to ensure
right sizes once the panel is fully populated.
2021-10-09 09:07:18 +02:00
Ian McInerney c14bdf7fe0 pcb_calculator: Update panel images/text when system theme changes 2021-10-08 17:31:21 +01:00
Ian McInerney 1f4955a632 Reorganize the pcb_calculator directory to make it more logical 2021-10-08 15:44:44 +01:00