501 Commits

Author SHA1 Message Date
Juergen E. Fischer
a959960587 relation reference widget: add methods to sip (followup 52c2e4e90) 2015-02-03 18:34:58 +01:00
Nyall Dawson
b05e789c57 Fix build 2015-02-03 20:47:29 +11:00
Juergen E. Fischer
abd4a04399 sip update 2015-02-03 02:21:52 +01:00
Nyall Dawson
cd86710d87 Fix some warnings 2015-02-02 16:05:54 +11:00
Nyall Dawson
6d7e3960de Deprecate QgsDataDefinedSymbolDialog, no longer used
Move help descriptions to QgsDataDefinedButton and consolidate
with existing descriptions.
2015-01-23 16:54:58 +11:00
Juergen E. Fischer
cce2eb50cb indentation update 2015-01-22 20:56:02 +01:00
Matthias Kuhn
cb48948d0b Add python bindings for QgsMessageBar slots 2015-01-22 17:19:08 +01:00
Nyall Dawson
df939c3fa8 Data defined all the things!
Add a bunch of missing data defined options for symbology.
Also fix dialog sizing issues.
2015-01-22 16:04:47 +11:00
Nyall Dawson
e847bb1108 Add missing methods to sip 2015-01-22 07:00:58 +11:00
vmora
6fb347d23f improve GUI consistency & UX for data-defined style
data defined buttons added to the gui
fixes #9881
2015-01-22 06:56:34 +11:00
Martin Dobias
cd7180ec67 Added convenience method snappingUtils() to QgsMapCanvas
Map tools can use canvas.snappingUtils().snapToMap(pt) to do the snapping.
2015-01-20 10:21:54 +07:00
Martin Dobias
83770dfd9e Hook snapping utils into QGIS interface
Now the new snapping engine is ues for add feature map tool
2015-01-20 10:18:39 +07:00
Nyall Dawson
0cde4f103b Ensure that clear button is shown for QgsSpinBox/DoubleSpinBox
Previously the clear button might not show if the value of the
widget was set while its signals were blocked.
2015-01-19 23:23:59 +11:00
Nyall Dawson
1310b87081 Show recently used projections in QgsProjectionSelectionWidget 2015-01-19 22:57:46 +11:00
Nyall Dawson
f68b099bc1 Change projection selection widget to use a combo box
With options for layer CRS, project CRS and default CRS.
2015-01-19 16:11:39 +11:00
Juergen E. Fischer
d11cc82b3f keep rotation support state in canvas (followup 204e7104) 2015-01-16 20:30:47 +01:00
Juergen E. Fischer
93e22264c3 header install update 2015-01-16 15:49:24 +01:00
Nathan Woodrow
59162bc178 [FEATURE] Function editor for expression widget.
Allows for adding on the fly functions to the expression engine.
Functions are saved in qgis2\python\expressions.

New qgis.user module in Python.

The qgis.user.expressions package points to the qgis2\python\expressions
package in the users home
2015-01-16 19:43:47 +10:00
Denis Rouzaud
7c4f3f9640 remove lineEdit method from projection selection widget
this will allow to change the widget design without breaking the API
2015-01-09 11:01:39 +01:00
Juergen E. Fischer
73a2858147 indentation update 2015-01-09 10:23:39 +01:00
Denis Rouzaud
127c882e98 create scale widget (scale combo box + button to set scale from map canvas) 2015-01-09 07:40:44 +01:00
Nyall Dawson
c11319b859 Fix button box in options dialog not working (fix #11960)
QgsOptionsDialogBase was incorrectly finding the projection
selector's buttonBox widget and attaching the connections
to that widget, rather than the dialog's widget.

Rename projection selector's button box to avoid this conflict.
2015-01-08 06:48:55 +11:00
Nyall Dawson
1a46c40a74 Port a bunch of CRS selectors across to QgsProjectionSelectionWidget 2015-01-06 13:46:16 +11:00
Nyall Dawson
79338473d7 Small fixes to QgsProjectionSelectionWidget
Add API docs, const correctness, method for getting CRS, tab order
fixes.
2015-01-06 10:26:45 +11:00
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