[Qgis-developer] What to do with attribute actions
wonder.sk at gmail.com
Tue Apr 25 08:39:31 EDT 2006
the last thing regarding handling vector layers to resolve in library
refactoring is to resolve attribute actions. The problem is that
vector layer owns a set of these actions, however these are GUI
dependent (they use QgsRunProcess to run the action which uses
QgsMessageViewer to show the output).
It would be possible to make attribute actions GUI independent,
however I don't think that this feature could be used in 3rd party
apps which will use core library, therefore I suggest creating a
vector layer for core library e.g. QgsCoreVectorLayer, then QGIS
application will have derived vector layer's class called
QgsVectorLayer as before which will be more specialized. This would
enable also more QGIS specific stuff to layer's definition without
having to change basic layer's definition.
Please share your opinions...
More information about the Qgis-developer