开发者

PyQT Editor for XML Configuration Files - tools/components?

开发者 https://www.devze.com 2023-02-25 04:14 出处:网络
We have a program that stores in configuration across several XML files. Originally, my plan was to write an Elixir (http://elixir.ematia.de/trac/wiki) model to represent our configuration, write a P

We have a program that stores in configuration across several XML files.

Originally, my plan was to write an Elixir (http://elixir.ematia.de/trac/wiki) model to represent our configuration, write a PyQT GUI wrapper around this, and have the program exp开发者_如何学Cort to XML when finished.

The database/Elixir layer would make it easier to validate certain things, and to represent certain relational structures in the configuration (e.g. user accounts).

However, the preference is now to just write a direct wrapper around the XML files themselves.

So my question is, what sort of tools can I use to make it easier to write a PyQT based GUI editor for XML files?

We have the XSD files for the configuration, and on the validation front, I know can use QtXMLPatterns to validate the schema:

http://labs.qt.nokia.com/2009/02/03/w3c-xml-schema-validation-with-qt/ http://labs.qt.nokia.com/2009/07/31/qt-46-with-xml-schema-support/

However, are there any shortcuts, libraries or components/tools available in PyQT to writing the actual GUI itself?

Cheers, Victor

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号