Message85669
Let me defend my idea a little bit.
Some people hand code their UI's, some people put them into XML UI files
then load those files.
I'd like to create them using an OrderedDict. I'm using the pyQT for a gui.
Attached is a really simple example program that creates little window
that doesn't really do anything except set up the interface. Note the
use of a dictionary to set up the interface. The OrderedDict is more
concise than XML, is Python Code not a separate file and easy to read.
This was inspired by the "builder" concept in Groovy.
Thanks for your time. |
|
Date |
User |
Action |
Args |
2009-04-06 21:30:25 | tweiler | set | recipients:
+ tweiler, georg.brandl |
2009-04-06 21:30:25 | tweiler | set | messageid: <1239053425.6.0.796993512072.issue5579@psf.upfronthosting.co.za> |
2009-04-06 21:30:24 | tweiler | link | issue5579 messages |
2009-04-06 21:30:23 | tweiler | create | |
|