287 Commits

Author SHA1 Message Date
Juergen E. Fischer
74e7314c36 update sip bindings II 2014-01-27 09:22:53 +01:00
Juergen E. Fischer
d4e369414b update sip bindings 2014-01-26 18:36:29 +01:00
Nyall Dawson
7d2bf150ed [FEATURE] Add option for simple line symbols to be drawn only inside a
polygon. Allows for creation of "national geographic" style borders on
maps where a thick border does not overlap into neighbouring polygons.
2014-01-21 15:58:29 +11:00
Nyall Dawson
85a17c246a Add QgsMapLayerAction and QgsMapLayerActionRegistry, which can be
used as a generic api for registering actions which can apply to
a specific map layer or layer type.

Create a QgsMapLayerAction for setting features as the current
atlas feature for compositions.

This work was kindly sponsored by SIGE (www.sige.ch).
2014-01-20 21:35:56 +11:00
Radim Blazek
f33c4904d3 signal hasCrsTransformEnabled() renamed to hasCrsTransformEnabledChanged() 2014-01-16 17:28:00 +01:00
Tim Sutton
c610f37735 Applied patch from Hans-Peter Jansen <hpj [at] urpla.net> to address build issues with python-sip 4.15 and fix srs.db update issue when srs table has no noupdate column. 2013-12-08 22:40:35 +02:00
Denis Rouzaud
4153ef92bb add missing actionFeatureAction() to gui and sip 2013-11-13 08:08:07 +01:00
Salvatore Larosa
169f646f7c [Fixes #8982] adds python bindings for actionZoomNext method
update to autocompletion file
2013-11-02 18:40:26 +01:00
Denis Rouzaud
d17ea5d829 rubberband: respect enum order, add new icon type in SIP 2013-10-29 07:19:58 +01:00
Denis Rouzaud
d4027bbda8 add LayerSelection idetinfy mode in SIP 2013-10-28 08:29:49 +01:00
Juergen E. Fischer
6734ab443a make QgsMapToolTouch::gestureEvent() public 2013-10-19 20:03:17 +02:00
Matthias Kuhn
77dce0fbf8 sip: expose QgsEditorWidgetWrapper.initWidget to python 2013-10-16 08:21:19 +02:00
Matthias Kuhn
dc3b56a13c Add relations capabilites and widgets 2013-10-07 16:17:43 +02:00
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
Matthias Kuhn
331f71acba [attrtable] Selection model and request filter
* With a selection model, the way the attribute table handles selections
  can be customized. E.g. synchronized to layer selection or used to pick
  features.
* With request filters, the visible features on an attribute table can be
  limited. This will effectively reduce the subset of features the attribute
  table works on. Additional filters by means of a proxy model can of course
  further reduce the visible subset subsequently.
2013-10-07 16:17:42 +02:00
Matthias Kuhn
770e52b0e5 Modularize editor widgets 2013-09-26 16:06:29 +02:00
Dražen Odobašić
6f9795b0be apply #8601 2013-09-24 21:55:02 +02:00
Juergen E. Fischer
51297d5990 indentation update (note to self: always run scripts/prepare-commit.sh before committing) 2013-09-17 12:41:43 +02:00
Denis Rouzaud
3e89c69a0c split part of multi-geometry 2013-09-10 14:54:27 +02:00
Denis Rouzaud
2d63dcfbaa fix missing sip methods for rubber bands 2013-09-02 16:34:33 +02:00
Juergen E. Fischer
aaef947800 remove line decoration symbol layer (fixes #8379) 2013-08-22 20:54:27 +02:00
Nathan Woodrow
65dfdf1fa4 Remove messageitem id 2013-08-16 00:02:35 +10:00
Denis Rouzaud
45aa1dafa7 more complete QgsMessageBarItem: inherits from QWidget to allow further editing 2013-08-16 00:02:31 +10:00
Denis Rouzaud
f4a4009bca set cursor for mapTools 2013-06-28 09:56:56 +02:00
Juergen E. Fischer
f4744f6657 fix sip build errors 2013-06-24 08:54:27 +02:00
Juergen E. Fischer
d1fd484bd3 fix build error 2013-06-23 21:19:25 +02:00
Juergen E. Fischer
3854086d47 sip update 2013-06-23 16:00:24 +02:00
Juergen E. Fischer
99f998aa30 - add missing sip bindings
- port widgets_tree.py to QtXml and update customization.xml (fixes #5752 and  #8054)
2013-06-22 19:41:34 +02:00
Borys Jurgiel
039ae69507 [Plugin Manager] Make appropriate methods const 2013-06-10 20:55:08 +02:00
Nathan Woodrow
61e101dd4f Allow keyword args in Python classes. Fix sip headers 2013-06-10 09:22:12 +10:00
Borys Jurgiel
53d3ea91de Code cleanups 2013-06-05 21:32:11 +10:00
Borys Jurgiel
55fd57ee25 New Plugin Manager 2013-06-05 21:32:08 +10:00
Juergen E. Fischer
34ef14acb0 add missing sip bindings to QgsSublayersDialog 2013-05-29 01:31:14 +02: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
Radim Blazek
33d13ccca7 raster cleanup 2013-04-29 13:28:05 +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
Radim Blazek
5533d571c8 common raster enums moved to raster namespace 2013-04-24 17:18:33 +02:00
Nathan Woodrow
7f903ee63a Add binding for QgsAttributeDialog 2013-04-24 09:41:22 +10:00
Richard Duivenvoorde
7fff92ac1d fix for #7628 undo does not work ok
adding a removePoint method, which can also take a negative index to start
removing vertices from the end.
actual fix for #7628 was to not remove the last node, but the one before that.
2013-04-18 17:50:38 +02:00
Larry Shaffer
0fd52ecf39 Set QgsCollapsibleGroupBox's collapse-on-uncheck to happen only when clicked by user
- This keeps checkable group boxes from being programmatically collapsed when initializing a dialog
2013-04-13 19:12:18 -06:00
Martin Dobias
37da713c7e Removed old symbology dialogs. 2013-04-07 23:46:57 +02:00
Martin Dobias
fa904dcebc Removed QgsQuickPrint class 2013-04-07 23:46:56 +02:00
Larry Shaffer
b809723977 [FEATURE] Add background shapes and svg symbols to labels
- Rectangle, square, circle and ellipse generated symbols
- SVG background via new symbology, so uses cache
- Add new gui class QgsSvgSelectorWidget, symbol selector setup culled from symbologyV2
- Does not include any associated data defined mappings, yet
- Does not auto-search for missing SVGs, yet
- Caveat: does not currently account for background size in PAL collision calculations (overlaps occur)
- Allow direct update of QgsColorButton background
2013-04-04 15:38:27 -06:00
Borys Jurgiel
daeafccd49 [API] Expose mouse wheel to map tools as QgsMapTool::wheelEvent() 2013-03-30 20:24:04 +01:00
Larry Shaffer
22debea861 Remove WA_DeleteOnClose attribute from QgsBusyIndicatorDialog
- Add default title
2013-03-27 20:37:07 -06:00
Larry Shaffer
25f067c9ff Move busy indicator dialog out of composer and into own gui class 2013-03-27 18:17:50 -06:00
Matthias Kuhn
33fa1d5443 Major redesign of attribute table, codename: dual view 2013-03-27 10:54:36 +01:00