New XRC files for Stitcher Panel (Was: Re: [ptx] thoughts for hugin UI, post 0.5)

douglas wilkins dgswilkins at yahoo.co.uk
Sun May 29 22:43:51 BST 2005


Hi there,

--- Rob Park <rbpark at gmail.com> wrote:

> On 5/29/05, douglas wilkins <dgswilkins at yahoo.co.uk> wrote:
> > Here is a first step towards your prototype. It is still a bit rough but at
> > least it should give you an idea of how close we can get without modifying
> the
> > current code base. Drop the files inside the zip into the xrc directory,
> fire
> > up hugin and tell me what you think.
> 
> I think this is a huge step in the right direction.
> 
> Some problems though:
> 
> 1. spacing is bad in general. the widgets shouldn't be flush with the
> top and left of the tab area. There should be some margin there. Also,
> if I understand the HIG correctly, there should be 6px of vertical
> space between each line of widgets, 12px of horizontal space between
> widgets (eg, between the horizontal/vertical field of view widgets and
> the "calculate field of view" button). 20px of vertical space between
> the last widget and a group and the label for the next group, and the
> labels on the widgets should be indented 12px from the label on the
> group (eg "Width" indented 12px from the "Image" label).

This I will fix. This was actually the by-product of work done to solve another
problem, so as I said, kinda rough right now.

> 
> 2. there's this enourmous space between all the widgets clumped up in
> the top left and the "stitch now" button all alone in the bottom
> right. I'm not sure exactly what do do about that but it should be
> brought closer somehow

Agreed

> 
> 3. "use custom settings" dropdown list stretches all the way across
> and nothing else does.

Yeah, originally it didn't, but that also looked strange so..... what to do?

> 
> 4. the "interpolator" dropdown list seems to be missing a row or two
> of pixels off the top, like they got covered up by something.

Hmm.. I hadn't noticed that before.

> 
> 5. image width/height should be spinboxes just like fov
> horizontal/vertical are.

They probably will be post 0.5 

Right now, I can't change them without changing code and I was trying to avoid
that.

> 
> 6. the two "calculate..." buttons really do make a lot more sense as
> "best fit" buttons.

Also post 0.5
I'm trying not to change strings so that translators have a chance to catch up.

> 
> 7. the alignment of the widgets should line up between each section.

Almost impossible with the code as it is currently. I could probably get it to
line up in english by hard-coding sizes, but then all the translations would
break. Best attempt at the moment is lined up in sections. By the way you need
to look at it when PTStitcher is selected as the engine as well.

> 
> Here's a really nitpicky screenshot for you ;)
> 
> http://artography.ath.cx/hugin-corrections.png
> 
> > Or use them as a base for a new prototype. The XML should also be a little
> > clearer than previously :-) I wrote them originally in xrced and then just
> > tweaked a little by hand for readability.
> 
> I'll have to play with XRCed. I had tried to use wxGlade for a little
> bit, but I couldn't figure out how to even open the XRC files with it
> (it was complaining that the root of the xml tree needed to be
> "Application" or something weird). I tried to use wxGlade to recreate
> my mockup that I'd originally made with Glade, and I was not at all
> impressed because I couldn't even find the wx equivalent to the
> GtkFrame widget.

wxGlade is great if you are using it to build a complete app and generating
code for prototypes. For single panels it is not at all intuitive - do-able,
but not intuitive. I think you'll have more luck with xrced. Oh and I think
you're looking for wxFrame?

> 
> Gotta run to work right away though, don't have time to look into this
> some more. Maybe when I get home, or earlier tomorrow.

The hazards of multiple time-zones. It's late evening here and time for some
sleep.

regards,
Doug



		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com


More information about the ptX mailing list