Generic config dialog

Asked by Glenn Ramsey

This is more of a suggestion than a question.

Currently there is a flexible and general way of getting configuration information from the user by creating a Qt dialog. However this is quite low level and for some (maybe most) plugin developers an unecessary burden. It seems that many plugins will just require configuration in the form of key-value pairs so it should be possible to create a generic dialog for this.

I imagine that this could be somewhat similar to Firefox's about:config page. In Qt in could be done with a QListView or QTableView. The plugin developer passes it a dictionary of the keys with default values and gets back a dictionary with the user's input.

Question information

Language:
English Edit question
Status:
Open
For:
MAPClient Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Hugh Sorby (h-sorby) said :
#1

In 0.10.0 I have implemented a generation scheme that relies on entries input into a table or advanced list. This is available in the Plugin Wizard.

Whilst not a generic configuration dialog it does provide a way for plugin creators to easily get a key, value pair type configuration dialog with very little effort.

Can you help with this problem?

Provide an answer of your own, or ask Glenn Ramsey for more information if necessary.

To post a message you must log in.