Denis Rouzaud
5fd04e63b9
advanced digitizing tools fixes part 2
...
* action in toolbar activate/disable the tools instead of showing/hiding the dock
* do not filter event if tools are disabled
* disable construction mode if tools are disabled
* continue renaming cad to advanced digitiing tools
2014-12-10 10:40:50 +01:00
Nyall Dawson
21c4cbbe1a
Flip rotation spin box to QgsDoubleSpinBox
...
Fix some other small spin box related ux improvements (fix #11833 )
2014-12-10 20:36:18 +11:00
Nyall Dawson
714a1e6835
Fix warning
2014-12-10 20:10:31 +11:00
Nyall Dawson
bcc29ff5d0
Add methods to QgsDataDefined for reading and writing to XML
2014-12-10 19:53:16 +11:00
Denis Rouzaud
a1e0f01709
fixes for advanced digitizing tools
...
do not clear intermediate points when digitizing points in construction mode
increase maximum height of dock widget when tools are disabled
2014-12-10 08:12:07 +01:00
Sandro Santilli
a56ec981a3
Const-correct QgsMapToPixel::showParameters
2014-12-09 12:38:22 +01:00
Sandro Santilli
87de9f5b92
Test rotation API in QgsMapPixel unit test
2014-12-09 12:10:32 +01:00
Sandro Santilli
a353a4ddf6
Set all QgsMapToPixel parameters at once from QgsMapSettings
2014-12-09 11:58:41 +01:00
Sandro Santilli
cebb6fff94
Refactor QgsMapToPixel to only build matrix on parameter change
...
Also add deprecation notices and provide full-parameters constructor
2014-12-09 11:50:25 +01:00
Sandro Santilli
ec085bfbcc
Add unit test for QgsMapToPixel (legacy only for now)
2014-12-09 11:29:05 +01:00
Denis Rouzaud
d65a6f73d4
Merge pull request #1624 from 3nids/cadtool_single
...
Advanced digitizing tools (aka CAD tools)
2014-12-09 10:23:42 +01:00
Sandro Santilli
2b1b79dbcb
Expose QgsMapCanvas rotation and centering API to python
2014-12-09 09:57:35 +01:00
Juergen E. Fischer
6557cb84c8
debian packaging update (merge and squash PR#1725)
2014-12-09 09:55:00 +01:00
Sandro Santilli
b3953b8339
Export QgsMapSettings rotation API to python
2014-12-09 09:53:56 +01:00
Sandro Santilli
5683ebda20
Make toCanvasCoordinate(QRect) method private in QgsMapCanvasItem
...
I added this for rotation support but the interface is probably not
something any external code should rely upon.
2014-12-09 09:34:05 +01:00
Sandro Santilli
aa0b98dd69
Add note about QgsMapCanvas::rotation() being added in 2.8
2014-12-09 09:34:04 +01:00
Nyall Dawson
fd0e98d5f4
Ensure all items are deleted from TestQgsComposerTableV2
2014-12-09 19:20:16 +11:00
Paolo Cavallini
c46a7b632c
Merge pull request #1517 from imincik/dbmanager_icons
...
dbmanager: rotating layer import and export icons to more intuitive sense
2014-12-09 09:05:21 +01:00
Nyall Dawson
7ca723920f
Merge pull request #1721 from nyalldawson/integer_divide
...
[expressions] Make int/int return double results
2014-12-09 18:37:48 +11:00
Salvatore Larosa
c4c36dd943
Allows to import/export bookmarks to XML file
2014-12-08 23:02:55 +01:00
Juergen E. Fischer
28c344325f
indentation update
2014-12-08 21:30:29 +01:00
Juergen E. Fischer
e27d809738
dxf export:
...
* export layers in reversed rendering order
* use checkboxes for layer selection
* support for layers selection by visibility preset
* improve selection of layer attribute
* show busy cursor while exporting
* fix duplicate end of entities section
2014-12-08 21:25:12 +01:00
alexbruy
4980dba5d8
Merge pull request #1719 from bstroebl/splitLines
...
[processing] [feature] split lines with lines
2014-12-08 11:59:45 +02:00
Bernhard Ströbl
da17656fe0
Log error to ProcessingLog
2014-12-08 09:31:41 +01:00
borys
535661d63a
[gui] Fix qgsexpressionbuilder layout
2014-12-08 01:10:30 +01:00
borys
3933f99bdc
[gui] Fix fieldcalculator layout
2014-12-08 01:09:47 +01:00
Sandro Santilli
ce8a9ba4af
Add support for map rotation (hub #9330 )
...
Includes widget to show and set map rotation.
Handle rotation in vector and raster renderers.
Ensure correct behavior of panning and zooming actions.
Drop compile-time defines for ARM and ANDROID, leaving only
the qreal based function to transform in place.
Update expected test results after eye comparison.
2014-12-07 16:30:41 +01:00
Alexander Bruy
b774853a4e
remove debug code
2014-12-07 12:59:11 +02:00
Alexander Bruy
fc6ad27db8
[processing] load documentation from online QGIS User Guide
2014-12-07 12:52:30 +02:00
alexbruy
a6fcb3a412
Merge pull request #1720 from neteler/patch-6
...
[processing] Update Grass7Algorithm.py
2014-12-07 12:16:48 +02:00
Nyall Dawson
759a148312
Flip all labelling spin boxes to QgsSpinBox/QgsDoubleSpinBox
2014-12-06 19:32:46 +11:00
Nyall Dawson
232aaaca66
[expressions] Make int/int return double results.
...
Also add a new "//" operator to perform integer division.
(fix #5153 )
2014-12-06 16:36:42 +11:00
Nyall Dawson
26e06e6881
Flip remaining symbology spinboxes to QgsDoubleSpinBox
2014-12-06 00:10:11 +11: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
dfe7980764
Flip all composer double spin boxes to QgsDoubleSpin (refs #10544 )
...
Add clear buttons to applicable properties.
2014-12-05 22:14:10 +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
8a182b7f34
Clean up QgsMapLayer scale based visibility api
2014-12-05 20:39:09 +11:00
mhugent
072c1e5731
Merge pull request #1715 from rldhont/server_wms_getcapabilities_compliance
...
[QGIS-Server] FIX 10489 QGIS Server getcapabilites response is not WMS c...
2014-12-05 08:56:16 +01:00
Markus Neteler
c522112534
Update Grass7Algorithm.py
...
GRASS GIS 7 update: dsn -> input|output as per http://trac.osgeo.org/grass/browser/grass/trunk/lib/gis/renamed_options
2014-12-04 21:57:19 +01:00
rldhont
a7de4dad77
[QGIS-Server] Clean GetCapabilities
...
Remove GetPrint request and ComposerTemplates from GetCapabilities for a better interoperability
2014-12-04 21:32:11 +01:00
rldhont
c2b5da3377
[QGIS-Server] FIX 10489 QGIS Server getcapabilites response is not WMS compliant
...
To be fully compliant with WMS 1.3.0 standard, I propose to add :
* SLD namespace for GetLegendGraphic element
* schemaExtension.xsd distributed with QGIS-Server for GetStyles and GetPrint
* GetSchemaExtension to retrieve schemaExtension.xsd like MapServer
The solution was inspired by
http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
And the standard description
Styled Layer Descriptor profile of the Web Map Service Implementation Specification
http://portal.opengeospatial.org/files/?artifact_id=22364
2014-12-04 20:15:17 +01:00
Bernhard Ströbl
a2c656e6f6
[processing] [feature] split lines with lines
2014-12-04 16:20:43 +01: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
e887d075aa
Correctly set band number for pseudocolor renderer widget
...
Previously the band was always reset to the first band when opening
the raster layer properties.
2014-12-04 16:15:36 +11:00
Nyall Dawson
486d408631
[FEATURE] Port new memory layer plugin to core
2014-12-04 14:57:52 +11:00
Nyall Dawson
a435441239
Add support for generating coverage statistics for tests
...
Build option ENABLE_COVERAGE must be set. There's also a secondary
option GENERATE_COVERAGE_DOCS which requires lcov and will generate
html docs of unit test coverage.
To generate coverage, first enable the cmake options, then build
QGIS. From the build directory, run "make qgis_coverage".
You can also add command line arguments to "make qgis_coverage" which
are forwarded on to ctest. This allows for skipping failing tests
which prevent generation of coverage docs. This is done by adding
the command line argument CMD_ARGS= to the "make qgis_coverage"
command. Eg,
make qgis_coverage CMD_ARGS="-E \"PalLabeling|LocalServer|AppStartup\"
will skip tests which match the listed expressions.
2014-12-04 07:45:22 +11:00
Denis Rouzaud
d39a854a2c
advanced digitizing tools
...
this integrates advanced digitizing tools aka CAD tools in QGIS application and basically a port of CADinput plugin
* new class QgsMapToolAdvancedDigitizing shall be subsclassed if adv. digit. tools could be used in a map tool
* QgsAdvancedDigitizingDockWidget handles the interaction with the user and also perform the constraints (filters events)
* QgsAdvancedDigitizingCanvasItem paints construction lines on the canvas
2014-12-03 16:33:59 +01:00
Juergen E. Fischer
f8f7842108
db_manager: fix error message on table vacuum
2014-12-03 16:18:32 +01:00
volaya
e4c9a20205
[processing] show layers in alphabetical order in dropdown menu
2014-12-03 15:55:53 +01:00