53 Commits

Author SHA1 Message Date
Juergen E. Fischer
3c525fdf30 python fixes:
- update sip bindings (including QgsRasterPipe and QgsOWSSourceSelect)
- helpConsole: show icons from resources
2012-10-05 21:56:43 +02:00
Larry Shaffer
48e0a97f40 [FEATURE] Choose font family for app
- Define app font family (or Qt default) in app options
- App font choices in options are now temporary unless saved
- Refactor to more general stylesheet methods (for later use)
- Add QgisAppInterface and sip methods for setting app font and family
2012-10-03 17:59:50 -06:00
Juergen E. Fischer
f3cb57b1eb SIP bindings update:
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
  same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
  missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00
Nathan Woodrow
ac2fcb2de5 Add python bindings message bar 2012-09-04 18:15:07 +10:00
Nathan Woodrow
1e7e763af1 Add bindings for touch map tool
- Also expose via QgisInterface like other actions
2012-06-26 23:44:11 +10:00
Radim Blazek
002384bd7f Generic QgsDataSourceURI, WMS provider adapted to QgsDataSourceURI, enabled WMS drag-and-drop from browser 2012-06-14 11:53:46 +02:00
Juergen E. Fischer
e5d97f53e2 Revert d7e8ae18 and d637c677c (fixes #5407, #5409 and #5410) 2012-04-19 00:25:40 +02:00
Radim Blazek
d637c677cd QgsDataSourceURI used for WMS provider, all params are now encoded in URI, removed WMS specific functions from QgsRasterLayer and QgisAppInterface 2012-04-17 17:14:55 +02:00
Alexander Bruy
42edad5ebc [FEATURE] new navigation tool Pan Map to Selection (fix #4031) 2012-01-24 19:42:31 +02:00
Alexander Bruy
062c160c1a added Web menu and toolbar for plugins 2011-12-23 20:17:16 +02:00
Alexander Bruy
4dc50e7b84 added Database toolbar in addition to the Database menu 2011-12-20 19:47:08 +02:00
Alexander Bruy
2e5aa32281 add Vector menu and toolbar to improve plugins organization 2011-12-20 19:47:08 +02:00
Alexander Bruy
02555ad2e1 implement helper methods to add plugins to the Raster menu and toolbar 2011-12-20 19:47:08 +02:00
Juergen E. Fischer
b8642a93fa apply #3770: allow adding parts to line and point features and some refactoring 2011-05-06 00:48:29 +02:00
alexbruy
b78e4a1b47 make Raster toolbar accessible from Python
git-svn-id: http://svn.osgeo.org/qgis/trunk@15664 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-04-03 17:08:38 +00:00
timlinux
9cca04da3e Renamed removeAddLayer to removeAddLayerAction
git-svn-id: http://svn.osgeo.org/qgis/trunk@15464 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-13 18:59:33 +00:00
timlinux
d7ad3b0167 Replaced addAddLayer with insertAddLayerAction
git-svn-id: http://svn.osgeo.org/qgis/trunk@15463 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-13 14:57:16 +00:00
jef
ea34dde888 [FEATURE] layer menu function
- deprecated QgisInterface separator methods
- add addAddLayer/removeAddLayer methods to QgisInterface to
  add entries to the layer menu
- port plugins to use it


git-svn-id: http://svn.osgeo.org/qgis/trunk@15461 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-13 14:22:21 +00:00
jef
ce8e3d5f05 add 'deprecated' annotation to SIP bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@15209 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-19 13:24:24 +00:00
jef
805f5d0cb8 allow opening attribute table from plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk@14749 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-11-23 12:25:24 +00:00
brushtyler
45ba237967 added Database menu and related methods add/remove plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk@14638 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-11-14 14:00:57 +00:00
wonder
1fbf5eeac1 Added new project and project read signals to the qgis interface (#3160).
Contributed by Alexander Bruy - thanks!


git-svn-id: http://svn.osgeo.org/qgis/trunk@14452 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-10-30 09:33:01 +00:00
jef
73e690edd3 save feature attribute changes from plugins to layer
git-svn-id: http://svn.osgeo.org/qgis/trunk@14284 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-09-25 20:11:22 +00:00
jef
8783e12d74 missed a file in r14243
git-svn-id: http://svn.osgeo.org/qgis/trunk@14244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-09-17 12:39:15 +00:00
jef
29fa6f29ea add advanced selection tools from Jeremy Palmer. Thanks. (apply #2938)
git-svn-id: http://svn.osgeo.org/qgis/trunk@14071 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-12 16:59:57 +00:00
jef
a299f693f7 apply #2791
git-svn-id: http://svn.osgeo.org/qgis/trunk@13921 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-07-17 11:19:04 +00:00
borysiasty
735f9e03fe Fix missing actions. Patch #2686 by christophgysin + sip bindings.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13412 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-30 21:19:22 +00:00
wonder
26f4b4513e Added missing method advancedDigitizeToolBar() in qgis interface.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13175 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-27 18:19:19 +00:00
jef
5608ccc1f2 allow opening properties dialog for layer from plugins (better version of r12814)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12828 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-23 21:50:09 +00:00
mhugent
bcb221102a Notify plugins if a composer has been added or removed
git-svn-id: http://svn.osgeo.org/qgis/trunk@12372 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-08 10:35:07 +00:00
wonder
94317ce545 [FEATURE] Applied patch from Andres Manz from #2185
Adds QgsLegendInterface class to GUI library to allow users to do some operations with groups.


git-svn-id: http://svn.osgeo.org/qgis/trunk@12359 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-07 21:03:45 +00:00
jef
35e9935e8e [FEATURE] add QgisInterface::setActiveLayer()
also fixes #2167


git-svn-id: http://svn.osgeo.org/qgis/trunk@12358 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-07 18:59:25 +00:00
jef
db860f0014 fix r11536
git-svn-id: http://svn.osgeo.org/qgis/trunk@11537 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-01 17:41:24 +00:00
jef
5cf3395673 fix python binding compile error
git-svn-id: http://svn.osgeo.org/qgis/trunk@10742 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-05 21:52:46 +00:00
gsherman
598677b882 Applied patch from ticket #1522 for Zoom Next functionality.
Includes icons for zoom next tool (same icon for all themes).


git-svn-id: http://svn.osgeo.org/qgis/trunk@10588 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-18 00:02:22 +00:00
wonder
71b1fc7d77 Applied patch from Andrej Krutak - added removeDockWidget() to interface.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10286 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-16 14:22:07 +00:00
mhugent
f7fd50ffa4 Python bindings for composer classes
git-svn-id: http://svn.osgeo.org/qgis/trunk@10244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-27 13:57:26 +00:00
jef
bb61177a46 revert accidental commit
git-svn-id: http://svn.osgeo.org/qgis/trunk@10239 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-25 20:58:19 +00:00
mhugent
0baa9349ea saver string list handling
git-svn-id: http://svn.osgeo.org/qgis/trunk@10236 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-25 19:15:23 +00:00
jef
7cd83173d5 fix #1490
git-svn-id: http://svn.osgeo.org/qgis/trunk@9977 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-16 21:08:35 +00:00
timlinux
2659556af1 zoomToActiveLayer instead of zoomActiveLayer. Also applied patch from Magnus Homann to correct issue where save as shapefile does not allow using CRS of project projection.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9334 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-15 20:51:01 +00:00
telwertowski
0a6dbb7112 Add accessors for all menus, toolbars and actions to plugin interface so that plugins can insert actions at any position in any menu or toolbar.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9258 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-05 05:46:56 +00:00
timlinux
8f60bc5095 More api cleanups mainly affecting gui
git-svn-id: http://svn.osgeo.org/qgis/trunk@9233 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-31 18:28:22 +00:00
timlinux
7117ef8ec7 Implemented more gui api cleanups and suggestions from Albert Areny to clean the api. Note this commit breaks most python plugins out there. Please refer to the plugin interface header to see what is required to (trivially) repair your plugins.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9231 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-31 16:56:09 +00:00
jef
1be63335ca fix sip error
git-svn-id: http://svn.osgeo.org/qgis/trunk@8781 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-15 08:21:08 +00:00
timlinux
3c13ecf648 Replaced QgisAppInterface::getToolBox() with QgisAppInterface::addDockWidget and updated dependent code & python bindings. Note you may need to do a clean build after this commit for python bindings to build ok. The toolbox was removed in 0.11.0 and so the old getToolBox call was broken - this provides a replacement for that functionality.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8774 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-14 20:19:52 +00:00
mhugent
65f81d256b possibility to add WMS layers through plugin interface
git-svn-id: http://svn.osgeo.org/qgis/trunk@8593 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-05 09:30:48 +00:00
timlinux
52b8b28755 Multiple changes:
- 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
2008-05-28 15:26:41 +00:00
wonder
a85df15615 - QgisInterface's functions addRasterLayer/addVectorLayer return pointer to layer instead of just bool
- renamed QgisApp::addLayer to more appropriate QgisApp::addVectorLayer
- cleanups in loading of raster/vector layers in QgisApp


git-svn-id: http://svn.osgeo.org/qgis/trunk@8055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-27 04:11:27 +00:00
mhugent
bced26a4aa Applied patch for legend refresh from plugins provided by Juergen
git-svn-id: http://svn.osgeo.org/qgis/trunk@7296 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-10-24 07:23:24 +00:00