Dear Jeremy!

On 13/10/12 17:56, Dr. Volker Jaenisch wrote:
> My first guess would be to seperate the base-classes ImportParamsBase, 
> ImportDialogBase etc. from the concrete ones.
> The Classes needed for the import, and representation of a certain Fileformat 
> then should be more located. E.G. there may be a folder
> fileformats with a file for each fileformat, containing
> the 'incredients' of the fileformat.
> Added a minimal sort of registry for the fileformats and we will end up with 
> sort of a plugin system for the fileformats.
You have separated the UI-Components from the data components. That is a good 
approach.
So a fileformat plugin should not be a simple file but at least 4 files in a 
folder structure like this.
- HDF5
    - importdialog.py <- code for import
    - importdiaolg.ui  <- ui resource
    - operations.py    <- one or more operations oh the fileformat
    - linkedfile.py       <- handling of linkedfiles

What is your opinion?


Best regards

Volker



-- 
Dr. Volker Jaenisch
Geschäftsführer
 
Inqbus GmbH & Co. KG
Softwareentwicklung, Consulting & Hosting
Karl-Heine-Straße 99 | 04229 Leipzig | Deutschland

Telefon: +49 341 989758-54
Fax: +49 341 989758-79
E-Mail: [email protected]
Web: http://inqbus.de/

Persönlich haftende Gesellschafterin: Inqbus Management GmbH (Amtsgericht 
Leipzig, HRB 27350)
Vertretungsberechtigte Geschäftsführer: Maik Derstappen, Dr. Volker Jaenisch, 
Thomas Massmann, Markus Zapke-Gründemann

Registergericht: Amtsgericht Leipzig
Registernummer: HRA 16424

Umsatzsteuer-Identifikationsnummer: DE278744671


_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à