456 Commits

Author SHA1 Message Date
Juergen E. Fischer
d4f64d9bde indentation update and typo fixes 2014-11-13 23:13:13 +01:00
Denis Rouzaud
c180fecbef support icons in map layer actions 2014-10-31 15:21:46 +01:00
Denis Rouzaud
a0b5241275 remove "added" notes for 1.x and 2.0 versions 2014-10-30 11:08:21 +01:00
Tim Sutton
84c429dc73 Added setFillColor and setBorderColor for rubber band to the python API 2014-10-27 17:11:39 +02:00
Tim Sutton
0fa4ce36b1 Merge remote-tracking branch 'origin/master' 2014-10-27 15:24:40 +02:00
Tim Sutton
1932390417 Properly mark old qgsrubberband ctor as deprecated 2014-10-26 21:24:21 +02:00
Denis Rouzaud
a41a9a38ac delete rubber bands when exiting identify menu 2014-10-23 14:45:00 +02:00
Martin Dobias
cc306099d9 Fix #11474 (cannot move layers in layer tree anymore)
I have managed to break that with implementation of #11369.
Obviously it is a bad idea to change selection in a slot connected to model's rowsInserted signals
because the drag'n'drop does not work properly anymore. Now registry bridge will emit a signal after
new layers have been added, so the selection change at that point should be safe.
2014-10-23 19:08:54 +07:00
Martin Dobias
ea910d887d Fix #11369 (New layers are not active with new legend) 2014-10-22 19:57:05 +07:00
Juergen E. Fischer
82b6e0342a cosmetic cleanups, typo fixes, formatting 2014-10-21 01:33:20 +02:00
Martin Dobias
43c4cd72ad Fix #10956 (QgsSnapper crash/freeze/issues)
QgsMapSettings instance of QgsMapCanvas may have been prematurely deleted by SIP.
The KeepReference annotation will force QgsMapCanvas wrapper to keep one more ref
to it, so its reference count will not go to zero while map canvas is still alive.
2014-10-21 00:06:13 +07:00
Matthias Kuhn
4e8c679ba0 SIP update for QgsFilterLineEdit
events have not been defined in the sip file, therefore QgsFilterLineEdits
created in python did not receive the events, leading to visual glitches.

Fix #11372
2014-10-20 15:47:10 +02:00
Juergen E. Fischer
c90d810ce3 allow setting visiblity of selected layers (fixes #10835) 2014-10-15 18:49:35 +02:00
Matthias Kuhn
a3dad244cf sip bindings: QgsAttributeDialog inherits from QDialog - Sponsored by QGIS HF
Essen 2014 and everybody who helped to organize and finance this event

Fixes a strange bug that prevented child widgets to be enabled when they originally have not been enabled.
2014-10-04 11:32:40 +02:00
Nyall Dawson
fd92dd95aa [color picker] Clicking the previous color should reset to that color 2014-09-30 20:37:28 +10:00
Nathan Woodrow
0c6576c423 Merge pull request #1587 from ccrook/CategorizedRendererUpdate
Categorized and graduated renderer enhancements
2014-09-26 20:23:03 +10:00
Chris Crook
25a7be2966 Modified labelling to include prefix, separator, suffix. 2014-09-26 14:47:46 +12:00
Denis Rouzaud
48cdd749eb add Qgs(Double)SpinBox to SIP 2014-09-25 15:08:51 +02:00
Chris Crook
2f706bc47a Refactoring ready for manual update dialog. Also improves labelling of StdDev classifications and better determination of decimal places to use 2014-09-24 10:50:54 +12:00
Chris Crook
91358aaa15 Merge branch 'master' into CategorizedRendererUpdate 2014-09-24 06:04:58 +12:00
Matthias Kuhn
0d9683e419 Sip update and const correctness 2014-09-23 14:39:05 +02:00
Nyall Dawson
0f8fef1203 Followup bad94e0 2014-09-23 19:51:54 +10:00
Chris Crook
abd9e3cd21 Numerous enhancements to graduated and categorized symbol renderers 2014-09-20 18:30:12 +12:00
Denis Rouzaud
11be64db85 more public methods, fix delete map tool 2014-09-18 16:41:03 +02:00
Denis Rouzaud
418725d8bc fix enum in sip 2014-09-17 16:15:39 +02:00
Nyall Dawson
9fd73901a6 [composer] API docs and python bindings for QgsComposerTableV2 (sponsored
by City of Uster, Switzerland)
2014-09-17 22:58:49 +10:00
Denis Rouzaud
2b2066abb7 [SIP] add QgsIdentifyMenu 2014-09-17 11:23:22 +02:00
Denis Rouzaud
2188de608a fix QgsMapLayerAction SIP + do not copy features in identify menu (followup 21c81d6f512fa59f4bb4545c087a2bf5154008dd) 2014-09-17 10:09:05 +02:00
Denis Rouzaud
096d9417cb [QgsRelationReferenceWidget] correctly enable/disable set null button, do not disable line edit (already read only), make openForm and mapIdentification public, more documentation 2014-09-17 09:22:04 +02:00
Matthias Kuhn
21c81d6f51 Fix sip for QgsMapLayerActionRegistry 2014-09-17 09:18:53 +02:00
Matthias Kuhn
ab3ff17ff8 Pass attribute editor context for widgets on the attribute table
Fixes relation reference widget in attribute table
2014-09-16 18:04:46 +02:00
Denis Rouzaud
d05d83ed79 Fix widget registry (SIP), few fixes for relation reference widget 2014-09-16 15:39:55 +02:00
Nyall Dawson
dce206e374 [FEATURE] New custom QGIS color picker dialog. Basically
it's a Frankenstein's monster of the best bits of lots of other color
picker implementations. Features include:
- Sliders for hue, saturation, value, red, green, blue color components
- Alpha slider
- Option to copy/paste html color codes (in a variety of formats)
- Before/after color preview, with alpha preview
- Interactive 2D color ramp widget
- Hue wheel/triangle widget
- Editable color swatch lists
- Live color sampler with option to sample over a set radius
- Supports interaction with other apps via drag and drop of colors (OS support
dependant)
- Option to disable the dialog and use the native picker dialog instead (TODO:
make the dialog so awesome that even @dakcarto switches across...)

Credit for icons goes to 3nids!
2014-09-16 23:00:06 +10:00
Denis Rouzaud
bcc6647376 [SIP] add missing argument in QgsEditorWidgetRegistry::QgsEditorWidgetWrapper 2014-09-16 12:01:30 +02:00
Denis Rouzaud
1fb524f119 improved identify menu with a dedicated class 2014-09-16 11:51:18 +02:00
Nyall Dawson
e79ff32f47 Add options for color buttons, allowing them to be used in a swatch
type mode.
2014-09-16 19:39:41 +10:00
Denis Rouzaud
fb30b84cfb [QgsMapToolIdentifyFeature] allow initializing without any layer 2014-09-16 11:12:28 +02:00
Denis Rouzaud
8cd5e59e89 add RelationReferenceWidgetWrapper to SIP + complete RelationReferenceWidget 2014-09-15 18:24:47 +02:00
Denis Rouzaud
e1cb4370d7 [Relation Reference Widget] allow removing open form button (option not available in QGIS) 2014-09-15 18:24:47 +02:00
Nyall Dawson
33b120f72a Add a colorSelected signal to QgsColorSchemeList 2014-09-15 21:40:50 +10:00
Nyall Dawson
05e16291ea Remove colors from scheme list on delete/backspace press 2014-09-15 21:40:50 +10:00
Nyall Dawson
ec39f081b7 Add an isDirty method to QgsColorSchemeList 2014-09-15 21:40:49 +10:00
Denis Rouzaud
3bb5f43da5 [Releation reference widget] more coherent method names 2014-09-15 11:34:46 +02:00
Denis Rouzaud
51caaab0a2 add relation reference widget to SIP 2014-09-15 11:34:46 +02:00
Juergen E. Fischer
17669b5861 fix and sync QgsAttributeEditorContext sip bindings 2014-09-13 10:55:36 +02:00
Matthias Kuhn
b1a2bef1fc [relation widgets] General update
* Improve speed (lazy loading)
 * Loop detection for circular dependencies (Fix #10850)
 * Some memory leaks fixed
 * More const-correctness
 * Fix the attribute editor context
2014-09-12 09:30:39 +02:00
Nyall Dawson
e9d7b520db Support dragging colors from QgsColorPreviewWidget 2014-09-11 21:56:48 +10:00
Nyall Dawson
c4c58ab342 Accept dropped colors on color widgets 2014-09-11 21:11:04 +10:00
Denis Rouzaud
c3bf02b42a [SIP] add missing activated/deactivated signals for map tools 2014-09-11 10:41:02 +02:00
Jürgen Fischer
47613da521 Merge pull request #1578 from alexbruy/layer-submenu
move all "Add Layer" actions to submenu
2014-09-09 13:47:46 +02:00