74 Commits

Author SHA1 Message Date
Matthias Kuhn
fb32966932 Move addFeature, startEditing and stopEditing vector layer actions
to an abstract base class QgsVectorLayerTools in the gui library,
so these can be reimplemented for a custom app, but can also be used
from plugins or in the gui library.
2013-10-07 16:17:42 +02:00
Denis Rouzaud
3e89c69a0c split part of multi-geometry 2013-09-10 14:54:27 +02:00
Juergen E. Fischer
3854086d47 sip update 2013-06-23 16:00:24 +02:00
Borys Jurgiel
55fd57ee25 New Plugin Manager 2013-06-05 21:32:08 +10:00
Juergen E. Fischer
c510c449ba we don't have a file menu anymore (also moves project properties to project menu on windows) 2013-05-28 12:20:33 +02:00
Nathan Woodrow
1bfa7e9636 Add field calc to main app window 2013-05-15 10:39:05 +10:00
Juergen E. Fischer
e0907b0f0a more spelling fixes 2013-05-03 21:39:28 +02:00
Matthias Kuhn
d90f167be9 Allow adding QToolButton's to the toolbars
* iface.addToolBarWidget()
 * iface.addRasterToolBarWidget()
 * iface.addVectorToolBarWidget()
 * iface.addDatabaseToolBarWidget()
 * iface.addWebToolBarWidget()
2013-04-28 21:17:21 +02:00
Nathan Woodrow
e0838b0bbf Add workaround for loading forms with custom widgets from PyQt4
More information: qt-project.org/forums/viewthread/27098/
2013-04-26 00:29:59 +10:00
Nathan Woodrow
a7700bafe6 Expose dialog created by QgsAttributeDialog to iface 2013-03-08 23:16:53 +10:00
Larry Shaffer
4941a0e5dc Add new, duplicate and delete composer to iface
- Works via QgsComposerView, which is already exposed in iface
2013-02-28 16:04:49 -07:00
Alexander Bruy
6f378682b0 Make "Layer - New" accesible from QgsInterface, update GPS importer
plugin (fix #7202)
2013-02-21 12:42:47 +04:00
Larry Shaffer
f28ca59632 Add binding to iface for action to show composer manager 2013-02-20 13:10:21 -07:00
Larry Shaffer
65ae7d8430 Add adjustable Qt stylesheet class, QgisAppStyleSheet
- [API] Remove individual stylesheet option functions (e.g. setFontSize) in favor of direct access to QgisAppStyleSheet functions
2013-01-21 01:49:13 -07:00
Larry Shaffer
b288b3a6f5 Add QgisApp::messageTimeout() to iface sip file
- [API] Remove recently added, and unnecessary, mMessageTimeout and setMessageTimeout() from QgisApp
2013-01-13 17:10:47 -07:00
Larry Shaffer
ba5b90a16a Reinstate Save Active Layer Edits action
- Now enables/disables relative to vector layer isModified() state (gives feedback when save is finished)
- Now works with active legend layer, regardless of whether a selection exists in legend
- Add to legend contextual menu when right-clicked vector layer isModified()
2012-12-31 16:28:17 -07:00
Larry Shaffer
369971a7c2 [FEATURE] Add save/rollback/cancel current edits for selected or all vector layers
- Fix for issue #6782
- Ensure undo widget is not enabled unless active (again)
2012-12-26 10:57:52 -07:00
Alexander Bruy
5e45a22d06 remove deprecated methods from API 2012-12-23 10:40:23 +02:00
Larry Shaffer
293e49438e Add edit-saving actions to iface 2012-12-01 17:21:37 -07:00
Larry Shaffer
b9b943d5e1 Add access to QgisApp's mActionCopyStyle and mActionPasteStyle to QgisInterface 2012-11-27 10:36:03 -07:00
Larry Shaffer
c11df1aa79 [FEATURE] Duplicate map layer(s)
- Action available in Layer menu and legend contextual menu
- Layer style copy/pasted to duplicate
- Memory and plugin layers skipped
- Add sip binding to action in app interface
2012-11-02 03:23:10 -06:00
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