[Mono-list] Qtcsharp / Windows.Forms
Richard Dale
Richard_Dale@tipitina.demon.co.uk
Thu, 28 Mar 2002 17:38:04 +0000
On Thursday 28 March 2002 3:06 am, Adam Treat wrote:
> > Would it be possible to autogenerate the Windows.Forms layer? You could
> > nominate a Qt peer class for each of the Windows.Forms controls.
>
> No, we will not be autogenerating Windows.Forms. It will be a lot of work
> to produce a complete implementation of Windows.Forms, but auto generation
> is simply not an option.
Now I've gone and had a look at the Windows.Forms documentation for the
ComboBox, and seen some example code - I think you're right! Instead of
trying to autogenerate everything in a 'top down' manner, you'd have to start
'bottom up' with seeing how Qt events could be mapped onto Windows.Forms
events, or how the Qt graphics model can be adapted to look like the Windows
one. Hmm.. looks pretty tricky to me..
I think delegates look neat though - nice and high level like Qt's
slots/signals or Cocoa outlets/actions. Not clunky rubbish like Java's
EventListeners - I like the way you can add and remove delegates with the
'+=' or '-=' operators.
-- Richard