278 Commits

Author SHA1 Message Date
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
Larry Shaffer
70ef5a78b0 Fix live color updating slot parameter by using SLOT macro 2013-03-22 10:23:29 -06:00
Larry Shaffer
c966dbf69b [FEATURE] Update QgsColorButton to offer live color chooser updates and show transparent checkerboard background
- Add option to Options for live color chooser support (QgsColorDialog)
- Add ability to define whether QgsColorButton accepts live updates (default: true)
- Move QgsColorButton to single subclass of QPushButton
- Show different button types relative to whether button has text
- Add transparent checkerboard background for chosen colors with alpha < 255
- Fix triple-modal window issue for Mac (with regards to using native color dialog)

- Composer item frame now supports transparency
- Composer item background transparency support moved to color dialog
- Composer composition grid now supports transparency
2013-03-21 12:42:24 -06:00
Matthias Kuhn
4339fdcd94 Update QgsColorButton so it shows a color chooser on click 2013-03-21 11:19:43 -06:00
Juergen E. Fischer
2c4ac0807b [FEATURE] attribute editing extension
- allow resetting of fields to NULL by button
- use user defined date formats in forms, identify results and attribute table
- add support for date type in postgres provider
2013-03-13 23:35:07 +01:00
Nathan Woodrow
a7700bafe6 Expose dialog created by QgsAttributeDialog to iface 2013-03-08 23:16:53 +10:00
Larry Shaffer
2fe847c9cf Keep composer multi-item selection only when Shift is pressed during click
- Fixes issues where Shift was still registered as pressed when shift click happened outside of view (due to lingering keyboard focus)
2013-03-07 13:19:19 -07: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
Larry Shaffer
e60891c28c Add shift-click modifier to QgsCollapsibleGroupBox
- Expands current group box on shift-click, then collapses any others in sync group
2013-02-26 14:10:09 -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