927 Commits

Author SHA1 Message Date
Denis Rouzaud
07c41fd282 add SIP for QgsProjectionSelectionWidget 2015-01-05 11:41:50 +01:00
Sandro Santilli
888a9f0bfc Consider rotation in pre-rendering display of map items
See http://hub.qgis.org/issues/11909
2015-01-03 09:46:58 +01:00
Sandro Santilli
4d449f17cb Update sip bindings for QgsMapCanvasItem (after const-correctness) 2015-01-03 09:23:34 +01:00
Marco Bernasocchi
06708186c0 added layerSavedAs signal 2014-12-16 23:28:31 +01:00
Marco Bernasocchi
b6632a81aa added QgsMessageBar::SUCCESS 2014-12-14 15:57:55 +01:00
Sandro Santilli
2b1b79dbcb Expose QgsMapCanvas rotation and centering API to python 2014-12-09 09:57:35 +01:00
Juergen E. Fischer
28c344325f indentation update 2014-12-08 21:30:29 +01:00
Nyall Dawson
697ef510b7 Also evaluate expressions entered in QgsSpinBox
and flip all composer spin boxes to QgsSpinBox (refs #10544)
2014-12-05 23:39:50 +11:00
Nyall Dawson
7400106e41 [FEATURE] Evaluate expressions entered in QgsDoubleSpinBox
Allows entry of QGIS expressions into the spin box. The expression
is evaluated on enter or loss of focus and then discarded.

(refs #10544)
2014-12-05 20:39:09 +11:00
Nyall Dawson
0fa40a657b Change some spin boxes in symbology to QgsDoubleSpinBox
Adds the handy 'clear' buttons to these spin boxes, such as
offsets and rotation.
Also standardises the display of some widgets in symbology.
2014-12-04 21:19:43 +11:00
Denis Rouzaud
1a4b8bb40d define the special text directly with the clear value 2014-12-04 10:15:05 +01:00
Nyall Dawson
486d408631 [FEATURE] Port new memory layer plugin to core 2014-12-04 14:57:52 +11:00
Denis Rouzaud
2b37e40b17 allow defining custom clear value for Qgs(Double)SpinBox 2014-12-03 15:14:03 +01:00
Juergen E. Fischer
e48a6f642f indentation update [ci skip] 2014-11-30 10:26:39 +01:00
Juergen E. Fischer
98c0771b1a update scripts/fix_allows_to.sh and run it 2014-11-30 01:42:27 +01:00
Nyall Dawson
a0c1380e79 Fix incorrect warning dialog appearing when creating new ramp
Previously a "not available" warning dialog would appear when
attempting to create a new color ramp using the categorised renderer.
2014-11-24 20:45:10 +11:00
Gillian Milani
6f4809d45b add a save button for subform (1-n relations) 2014-11-24 08:38:12 +01:00
Nyall Dawson
727747658b [FEATURE] Live heatmap renderer
Allows for live, dynamic heatmaps for point layers. Options include
specifying heatmap radius in pixels, mm or map units, choice of
color ramp, and a slider for selecting a tradeoff between render
speed and quality.
2014-11-22 13:03:54 +11:00
Juergen E. Fischer
9ceb5ceab6 sip sync 2014-11-21 01:17:21 +01:00
Juergen E. Fischer
a57066a48d * fix cppcheck warnings
* some sip updates
* [API] fix spelling QgsMultiRenderChecker::drawBackround
* [API] fix spelling QgsSymbolLayerV2Utils::drawStippledBackround
* [API] fix spelling QgsMapSettings::layerTransfrom
2014-11-20 15:02:35 +01:00
Nyall Dawson
09ab5696b1 Boost coverage of raster fill unit tests
Also add missing sip bindings for GUI widget
2014-11-19 22:24:02 +11:00
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