> I also wonder if the source code could be made easier to follow. I
> think it would be helpful to get rid of a lot of the temporary
> comments that exist which I guess are there for debugging or UI
> experimentation. Wouldn't it make more sense to make the debugging
> code something that is optionally used with a run time flag? Lines
> like
>
> # enable drag
> self.treeview.setDragEnabled(True)
>
> are also distracting. The comment does not explain anything that is
> not already obvious. I don't understand why there are no doc strings
> anywhere or why some indentations are two spaces and others four.
> Adopting a coding style/conventions may be useful. I suggest following
> PEP 8. Especially if more coders are going to get involved, things
> could get really messy. I don't really like the idea of mass editing
> the source just to try to make it more aesthetic, but it does not seem
> like anyone other than Gary has touched the code at this point, and
> now would be better than later. Readability matters a lot if others
> are going to be contributing.
The code is somewhat stream of consciousness and hasn't been cleaned up.
I decided to get it out in the open so these kinds of comments would
roll in :)
As for indentation, not sure how that happened but I plan to reindent
and clean it up a bit---unless you have already done that.
>
> I have added my current "wish list" to the wiki and will add more
> items as I think of them. Unless told I ought to do otherwise, I am
> going to start working on the items I list under my name.
>
Great---my evil plan to solicit contributions using incomplete code has
worked yet again! I look forward to contributions!
-gary
--
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Chair, QGIS Project Steering Committee
-Desktop GIS Book:
*http://desktopgisbook.com
-Geospatial Consulting & Hosting
*http://geoapt.com
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
I will try to clean things up some, but would prefer if you fix
the indentation. Otherwise, the git history will make it look like
I was the author of a lot of code I didn't really do anything to.
--
David Campbell