It depends on whether you want to do it on the j side or the Qt
side.  For the J side, it is simple, just uses wd and gl2
commands.  For the Qt side, you need to subclass a QWidget and
create a QPainter and also a QImage/QPixel if you want double
bufferring. git-clone or browse the gtide git repo in particular
the files isigraph* and gl2* under the lib/wd folder.

Вс., 06 янв. 2013, Henry Rich писал(а):
> I am interested in using Qt as the graphics base for my dissect
> program.  I need to be able to create a form, and in that form have
> an isigraph where I can use the full power of Qt (or at least, manage
> the layout of the screen using the Qt primitives).
> 
> Where should I look for examples of how to do this?  I am
> particularly interested in:
> 
> 
> 
> how to create a canvas (part of a form, I assume)
> 
> what the graphics commands are to lay out widgets
> 
> what the commands are to paint the screen
> 
> how resizes etc are handled
> 
> how do I get click information.  In particular, if I have a multiline
> text field, I assume that Qt would give me some way to know what
> character was clicked.
> 
> 
> 
> 
> I can slog through the Qt docs, but any pointers for J code would be
> much appreciated.
> 
> Henry Rich
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to