I've had a go at trying to refactor all these names, the result is in
a cloned repository here: http://code.google.com/r/mountsarah-openihm/
The naming scheme I've adopted looks like this:
1) All .ui files and .py files are in one directory
2) Every .ui file should have a corresponding .py file with the same
name (up to the file extension)
3) The names are made of up the name of that part of the model that
the dialog box is concerned with and a verb which describes what the
dialog is for. For example, household_add should add a household to
the current project, etc.
If you want to use this, just pull my changes from my repo into your
current working directory, merge them with your current code and push
to the usual IHM repository. However, I've held off doing this myself
for several reasons...
1) The changes I've made need testing
2) I'm not sure if I've correctly named each dialog, as I've only
looked briefly in the code in each file. For example, it looks from
the code like there are two files which could be called household_edit
(and there are a few other cases like this). So, the files need
checking by someone who understands the code a bit better than me.
3) You may prefer a different naming scheme, in which case go for that!
4) There are two files called ui_SOMETHING that seem to be left over.
Are we using them?
Also, I've renamed all the files, it would also be worth renaming the
classes inside this files...
Cheers,
Sarah
--
Sarah Mount, Senior Lecturer, University of Wolverhampton
website: http://www.snim2.org/
twitter: @snim2
What happened to all this refactoring work?
I was just trying to find out what happened to this code and whether
or not it has already been merged in somewhere.
I've added Wolf to both mailing lists, but he will need to send me an
email address for a Google Account to go on the wiki / issues list /
etc for both projects.
Sarah