comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Resizing UI?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Resizing UI? [message #29628] Mon, 04 March 2002 05:44
B.C. Hamans is currently offline  B.C. Hamans
Messages: 9
Registered: September 2001
Junior Member
Hi all,

I am trying to code an (medical?) image viewer in IDL. The UI should consist
of either 3 or 9 draw widgets. In other words the x,y,z projections or
slices of a reference and float image.
The UI would look a bit like the ascii representation below:
________________
|[taskbar ]|
|[1] [2] [3] [Controls]|
|[4] [5] [6] [ ]|
|[7] [8] [9] [ ]|
|[ sliders ]________ |

Where [1] is the X projection of the reference image, [2] = y projection,
[3] = z projection
[4,5,6] the same but for the float image.
[7,8,9] an overlay of 1+4, 2+5, 3+6
Hope you can follow me on this....... :-$

First question: How do i create a UI which adapts itself depending on how
much images/scans are loaded? So at t=0 no images at all draw widget at all.
After selecting file 1 the x,y,z projection of image 1. [1,2,3]
After selecting file 2 the x,y,z projection of image 2 and the overlay of 1
and 2. This would be 9 draw widgets. See above [1...-9]
This is something I would like to try but is not a necessary feature. I can
display 9 draw widgets in the beginning if this gets awfully complicated.

Second question: How do i make the widgets resizable but still keep aspect
ratio?? I looked at David Fannings code about resizing widgets but do not
have an idea how to implement this in my code.

Is some more IDL source available on the web for problems like this? I found
an awfull lot of code on David Fannings page and on a few other places but
mathtools.net did not return much. I am starting to think a had been better
off by chosing another programming language :-(

Are their any courses on IDL in Europe? I know of one company in the
netherlands (http://www.creaso.nl/) that provides courses.

Thanks in advance,
Bob
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Is PV-Wave running on SUSE Linux PCs?
Next Topic: Re: Resizing UI?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:49:47 PDT 2025

Total time taken to generate the page: 0.00620 seconds