Both C++ and Python plugins now can implement icon() metadata function which returns path to the icon file name.
The icon file is passed to QPixmap() constructor. For C++ it's preferred to use an icon from the resource file
(e.g. ":/plugins/foo/foo_icon.png") because plugin's resource file gets loaded automatically when the plugin is loaded.
Python plugins can use either relative path to the icon ("images/plugin-icon.png") or icon from the resource file
(starting with a colon). The relative path is preferred, since it doesn't require the plugin to load its resource file
and plugin repository will not have a trouble to fetch the icon automatically.
Updated C++ plugins and Python plugins to include icon where applicable.
Default plugin icon is (c) Anna Shlyapnikova, licensed under Creative Commons (Attribution 3.0 Unported).
git-svn-id: http://svn.osgeo.org/qgis/trunk@14897 c8812cc2-4d05-0410-92ff-de0c093fc19c
- added a call to get the file toolbar so that plugins providing 'add layer' type functionality can place their icons into the file toolbar along with other add layer icons.
- cleaned up the vector props ui so that action panel fills all available space, and that label settings dont use tabs but a property pane style ui.
- added an option to qgsoptions to enable / disable legend classification attributes list
- fix issue with detailed item delegate not being selectable in win
- updated style sheet so that system colour scheme is used for 'glossy' highlight
- fixed formatting issues in vector metadata list
- fixed python build error on mac where geos was not being linked to
- added grass list view to grass toolbox
git-svn-id: http://svn.osgeo.org/qgis/trunk@8533 c8812cc2-4d05-0410-92ff-de0c093fc19c
I have made a number of improvements over the old 0.7x plugin builder - most importantly the plugins tat are generated now each have their own unique user defined classname and all the filenames are renamed from a generic plugin* to [users plugin name]*
git-svn-id: http://svn.osgeo.org/qgis/trunk@5198 c8812cc2-4d05-0410-92ff-de0c093fc19c