Provide a generic configuration dialog for plugins
Bug #1232254 reported by
Glenn Ramsey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAPClient |
New
|
Undecided
|
Unassigned |
Bug Description
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.
Related branches
lp:~gram003/mapclient/generic-configuration
- Hugh Sorby: Pending requested
-
Diff: 3302 lines (+2516/-99)38 files modifiedNOTICE (+1/-0)
docs/MAP-create-plugin.rst (+108/-0)
docs/MAP-feature-demonstration.rst (+106/-0)
docs/MAP-install-setup.rst (+70/-0)
docs/MAP-tutorial-create.rst (+88/-0)
docs/MAP-tutorial-plugin.rst (+233/-0)
docs/appendix.rst (+26/-0)
docs/conf.py (+242/-0)
docs/glossary.rst (+14/-0)
docs/index.rst (+26/-0)
docs/resources/Sphinx.Makefile (+154/-0)
docs/resources/_static/default.css (+514/-0)
docs/resources/_templates/layout.html (+22/-0)
docs/resources/qt/configuredialog.ui (+200/-0)
plugins/imagesourcestep/imagesourcestep/step.py (+25/-11)
plugins/imagesourcestep/imagesourcestep/widgets/configuredialog.py (+2/-1)
plugins/pointcloudserializerstep/pointcloudserializerstep/step.py (+4/-2)
src/core/mainapplication.py (+2/-2)
src/core/pluginframework.py (+7/-1)
src/core/workflow.py (+19/-2)
src/settings/info.py (+15/-16)
src/tools/annotation/annotationtool.py (+7/-0)
src/tools/pluginmanagerdialog.py (+2/-2)
src/tools/pmr/pmrhghelper.py (+41/-0)
src/tools/pmr/pmrsearchdialog.py (+11/-1)
src/widgets/mainwindow.py (+8/-1)
src/widgets/pluginconfigurationdialog.py (+249/-0)
src/widgets/qt/pluginconfigurationdialog.ui (+70/-0)
src/widgets/qt/resources.qrc (+1/-0)
src/widgets/resources_rc.py (+4/-4)
src/widgets/steptree.py (+8/-6)
src/widgets/ui_pluginconfigurationdialog.py (+45/-0)
src/widgets/utils.py (+60/-0)
src/widgets/workflowcommands.py (+4/-3)
src/widgets/workflowgraphicsitems.py (+87/-21)
src/widgets/workflowgraphicsscene.py (+8/-2)
src/widgets/workflowgraphicsview.py (+2/-2)
src/widgets/workflowwidget.py (+31/-22)
To post a comment you must log in.