← Back to team overview

kicad-developers team mailing list archive

Re: Project templates (related to the modal dialog thread)

 

On 11 June 2012 10:04, Brian Sidebotham <brian.sidebotham@xxxxxxxxx> wrote:
> On 11 June 2012 08:49, Miguel Angel Ajo Pelayo <miguelangel@xxxxxxx> wrote:
>> Niiiicee!!! :-)
>>
>>    Keep working and you will get it done :-), I think it's a very useful
>> improvement to
>> any daily work in KiCad.
>>
>>    Have you tried to work with the wxForms builder?, if you see the dialogs
>> directory in pcbnew there
>> is a lot of .fbp files that export a _base.cpp and _base.h (something like
>> that), why is a class
>> that you can derive with your real form code and keep the form edited in
>> wxformbuilder later.
>>
>> http://wxformbuilder.org/
>>
>
> Hi Miguel,
>
> Yes I've used wxformbuilder, exactly as is done for the other dialogs
> and used Dick's DIALOG_SHIM base class. It's only taken a while
> because of the custom widget aspect. I had trouble with connecting
> events, but in the end it turned out to be a trivial problem. So
> shouldn't be too long before it's ready! :-D
>
> Oh, plus my Raspberry Pi arrived, and it turned out to be too tempting
> to play with so that took up a couple of weeks worth of programming!
> ;-)
>
> Best Regards, Brian.

Another ping! Anyway, I'm ploughing through wxWidgets stuff and it's
horrible! Something won't resize properly and I'm still unsure what it
is - I've spent hours at the keyboard trying to get this widget to
size properly but I just don't yet see why it doesn't work.

I'm currently lost in a sea of ->Layout(), ->Fit(), and
->FitInside()'s ! Soon should be out the other end and then I can
submit the patch. :)

Best Regards, Brian.


Follow ups

References