37681 Commits

Author SHA1 Message Date
Nyall Dawson
109be1b0bb Allow options filter to search in QTreeViews
Such as processing options. Quite basic - it just checks the item
text but does not filter or highlight items in the view
2017-03-24 10:59:31 +10:00
Nyall Dawson
5f1a512d90 Remove unused options search widgets 2017-03-24 10:41:42 +10:00
Nyall Dawson
83db0fbe79 Fix broken widget filter box in layer/project properties 2017-03-24 10:35:11 +10:00
Steven Mizuno
9d5f28921d hide Internal connection if build is without WITH_QTMOBILITY cmake setting
use previously set connection; set Autodetect only if Internal happened to be the stored setting.
fix #13233
2017-03-24 09:58:02 +10:00
Nyall Dawson
02b4f6c770 Spell check: accurancy->accuracy 2017-03-24 09:36:46 +10:00
Nyall Dawson
4d42d769e6 Allow showing main canvas extent in extra map views
Another step toward multicanvas replacing map overview panel
2017-03-24 08:34:49 +10:00
Matthias Kuhn
1ffa9ee7a6 Revert renaming of main layer-tree-group node 2017-03-23 15:29:28 +01:00
Matthias Kuhn
e5aaceacbe Preserve custom layer order in offline editing 2017-03-23 15:29:13 +01:00
Matthias Kuhn
8cecf236df Document API breaks 2017-03-23 15:29:13 +01:00
Matthias Kuhn
baa4c86262 Fix tests 2017-03-23 15:29:12 +01:00
Matthias Kuhn
f33aabd90a Completely move layer order to core 2017-03-23 15:29:12 +01:00
rldhont
798b1ed69e Merge pull request #4294 from rldhont/bugfix_processing_saga_io_gdal
[Processing] Saga: update gdal_io and Flow Accumulation (Flow Tracing)
2017-03-23 10:54:40 +01:00
Nyall Dawson
634d5ffb8a Mark QgsRasterRenderer::legendSymbologyItems as /Out/ in sip 2017-03-23 10:15:30 +10:00
Nyall Dawson
2446dae163 Some more new style connects 2017-03-23 08:51:34 +10:00
rldhont
2fe7caf787 [Processing] Saga: update gdal_io and Flow Accumulation (Flow Tracing) 2017-03-22 19:17:18 +01:00
Larry Shaffer
265da3ffa0 Merge pull request #4292 from Gustry/fix_mac_build
fix undeclared identifier on MAC in composer
2017-03-22 12:12:10 -06:00
Alexander Bruy
1a46ddbf28 [processing][API] rename runalg() and runandload() to improve
readability
2017-03-22 19:17:12 +02:00
Alexander Bruy
e1a01106dd [processing][API] rename alglist() to printAlgorithms() to improve
readability. Also introduce algorithmsList() call which returns
available Processing algorithms as list
2017-03-22 19:11:43 +02:00
Alexander Bruy
c1e6ba0f40 [processing] rename AlgorithmExecutor's runalg() and runalgIterating()
to avoid overlapping with general functions and improve readability
2017-03-22 19:11:36 +02:00
Alexander Bruy
79566f7649 remove unused method 2017-03-22 17:03:51 +02:00
Alexander Bruy
ccbca66492 code cleanups 2017-03-22 16:17:05 +02:00
Alexander Bruy
acd37449f3 [processing][API] rename algoptions() to algorithmOptions() 2017-03-22 15:44:04 +02:00
Etienne Trimaille
119637768c fix undeclared identifier on mac in composer 2017-03-22 14:35:56 +01:00
Alexander Bruy
3e4fb56eea [processing][API] rename alghelp to algorithmHelp 2017-03-22 15:25:12 +02:00
Alexander Bruy
060a57f12b Merge pull request #4287 from nyalldawson/processing_default_layer
[processing] Default to current layer in layer selection combos
2017-03-22 08:18:19 +02:00
Nyall Dawson
746d288e33 Don't emit layerOrderChanged when removing layers
Otherwise it automatically enables the layer order panel
2017-03-22 13:01:32 +10:00
Nyall Dawson
21df6252f0 Fix incorrect project CRS when loading project (fix #16149)
This commit fixes a situation where loading a project results
in incorrect project & canvas CRS. The bug is trigerred whenever
something in the project load calls a processEvents() call, eg
restoring a project with layer count enabled on a layer
or with a composer html item.

When this occurs, the "auto-set CRS to first added layer" code
would kick in early and replace the project's CRS with that
of the first layer loaded.

To avoid this disable the "auto-set CRS" code when loading
layers from a project.
2017-03-22 12:33:50 +10:00
Nyall Dawson
b8fd1fd7db Some more use of QgsProject crs instead of canvas crs 2017-03-22 11:46:48 +10:00
Nyall Dawson
8593e38705 Add missing api break note 2017-03-22 11:15:40 +10:00
Nyall Dawson
0500865b3f Set default layer CRS according to behaviour radio (fix #11889)
Makes the new layer dialogs correctly respect the current project
CRS choice when set to follow project CRS.
2017-03-22 11:13:30 +10:00
Nyall Dawson
1042b442ca [composer] Fix maps defaulting to rectangle preview mode 2017-03-22 10:27:04 +10:00
Nyall Dawson
7c79803cc3 Add missing dynamic cast for QgsTriangle to sip bindings 2017-03-22 10:20:01 +10:00
Nyall Dawson
a8e8eec95d Convert almost all core connects to new style
Just a handful remain which for various reasons cannot
be converted
2017-03-22 10:03:43 +10:00
Nyall Dawson
b7d2b9fd72 Merge pull request #4283 from nyalldawson/filterrect
Remove QgsFeatureRequest::FilterRect
2017-03-22 07:38:53 +10:00
Nyall Dawson
2e9f99693d Merge pull request #4281 from nyalldawson/does_not_contain
[FEATURE][processing] Add 'does not contain' to Extract By Attribute
2017-03-22 07:37:56 +10:00
Nyall Dawson
aad182fdc0 Merge pull request #4274 from nyalldawson/scroll_timer
A different approach to avoiding accidently scroll changes
2017-03-22 06:23:55 +10:00
lbartoletti
fb3d07f3f5 [FEATURE] New class for triangle
Adds a new geometry class for Triangle geometries

Methods include orthocenter, bisectors, medians, medial, circumscribed (center,
radius), inscribed (center, radius)

Also adds make_triangle expression function for creating triangles
2017-03-21 18:50:47 +10:00
Nyall Dawson
0710fb5da8 Flip some connects to new style 2017-03-21 17:06:55 +10:00
Nyall Dawson
bd17999755 Swap QgisApp to use new style connects 2017-03-21 16:49:13 +10:00
jdugge
45f2cd5583 Fix duplicate QgsRectangle.toString methods
Condenses the 2 duplicate methods to a single method which is usable from the Python bindings.
2017-03-21 15:58:39 +10:00
Nyall Dawson
b54fe1e3a5 Use a clearer marker for main canvas position in view windows 2017-03-21 15:49:42 +10:00
Nyall Dawson
f6699332a3 Fix Coverity null pointer derefence issues 2017-03-21 15:37:38 +10:00
Nyall Dawson
ce6783a34b Fix Coverity null pointer dereference error 2017-03-21 15:35:07 +10:00
Nyall Dawson
51c1d67091 Fix Coverity null pointer dereference warning 2017-03-21 15:32:56 +10:00
Nyall Dawson
e17c263e7b Remove unnecessary null check 2017-03-21 15:31:44 +10:00
Nyall Dawson
05a3ce3be6 Fix broken logic test in QgsFeatureListModel conditional styles 2017-03-21 15:30:48 +10:00
Nyall Dawson
eb742bd2cd Fix possible null pointer dereference 2017-03-21 15:29:18 +10:00
Nyall Dawson
545da60a77 Fix coverity use of uninitialized variable error 2017-03-21 15:24:14 +10:00
Nyall Dawson
f0709ae31e Merge pull request #4279 from nyalldawson/layout_manager2
Rework handling of compositions and projects, and composer windows
2017-03-21 13:25:42 +10:00
Nyall Dawson
ab11dfb7f9 [composer] Don't load HTML for labels on project load
Instead defer to composer load. Also make sure html is reloaded
when composition is force refreshed.
2017-03-21 12:50:49 +10:00