8672 Commits

Author SHA1 Message Date
Nyall Dawson
f3e1772bb9 Remove QgsFeatureRequest::FilterRect
This enum value has not been in use since filter rects were
separated from other filter types. Leaving it in API is confusing
and leads to incorrect use.
2017-03-20 15:03:10 +10:00
Matthias Kuhn
6f430a60a7 Move QgsAnimatedIcon to a generic implementation (#4272) 2017-03-19 12:52:35 +01:00
Larry Shaffer
921a0c75e3 Updates to QgsPasswordLineEdit
- Add public func to set password visibility (instead of exposing slot)
- Add initial password visibility param; default to obfuscated (false)
- Fix bug where initial visibility was true, but show/hide was opposite
- Add generic tool tips to show/hide action
2017-03-17 16:33:40 -06:00
Stefan
35fab8760c Updated ogr2ogr.py with GeoPackage in FORMATS and EXTS.
GeoPackage really deserves to become a first class citizen in QGIS at for vector and probably also for raster :-)
(Wondering why the lists aren't sorted alphabetically. This makes searching for a format for the user in the dialog/pul down list a tedious sequential task).
2017-03-17 20:43:17 +01:00
Etienne Trimaille
24e3214eda add checkbox to open sublayers in a group 2017-03-17 17:19:51 +01:00
Nyall Dawson
e5f581405e Allow clicking mouse back button on stacked panel widgets
Only works if click occurs outside of widgets - we probably should
start ignoring clicks which aren't left/middle/right in any
mouse event handlers
2017-03-17 13:57:53 +10:00
Alexander Bruy
e1b1465bb6 move select by attribute script test to QGIS tests 2017-03-16 17:49:40 +02:00
Alexander Bruy
c4052e6ec4 added sample test script which calls two algorithms 2017-03-16 17:48:39 +02:00
Alexander Bruy
a70e73cd74 minor script fixes 2017-03-16 17:48:39 +02:00
Alexander Bruy
394b4f1a87 fix typo 2017-03-16 17:48:39 +02:00
Alexander Bruy
efa9935c5d missed file 2017-03-16 17:48:39 +02:00
Alexander Bruy
911fc924dd add note about scripts tests to the README 2017-03-16 17:48:39 +02:00
Alexander Bruy
c603df1aa8 [processing] allow tests for scripts 2017-03-16 17:48:39 +02:00
Matteo Ghetta
3bcf287a7e Processing tests (#4259)
* [processing] qgis regular points test

* [processing] qgis shape buffer variable tests

* [processing] qgis create grid lines test

* [processing] qgis convert geometry test

* [processing] qgis extract by location test

* [processing] qgis add field test

* [processing] trying to fix travis failing

* [processing] trying to fix travis failing/2

* trying to fix travis failing/3

* [processing] Add new default option "ProjectCrs" to ParameterCrs

* [processing] RegularPoints tests shouldn't rely on iface

* [processing] Fix regular points test

* [processing] RandmPointsExtent new CRS parameter

* [processing] qgis random point in extent test

* [processing] qgis random point in extent test/2

* [processing] remove qgis random point in extent test

* no output random points in extent test

* remove useless output
2017-03-16 16:42:53 +01:00
Nyall Dawson
b0dc9f8517 [processing] Fix error when opening modeler (fix #16270) 2017-03-16 12:56:42 +10:00
rldhont
eb2231925f [BUGFIX][Processing] Vector tools -- add next methods for features iterator 2017-03-15 21:01:21 +01:00
Denis Rouzaud
e2d7181289 spelling 2017-03-15 08:23:05 +01:00
Nyall Dawson
ae45d8d490 Move composer title to composition name
Allows the name to be retrieved from core code
2017-03-15 15:19:13 +10:00
Nyall Dawson
738f4415d9 Merge pull request #4253 from nyalldawson/multi_canvas2
[FEATURE] Multi canvas/additional map views
2017-03-15 10:06:39 +10:00
Alexander Bruy
a537c0c052 add SIP bindings 2017-03-14 12:42:30 +02:00
Nyall Dawson
1e5f64919d Fix some use of direct project key read when getter should be used 2017-03-14 19:14:56 +10:00
Nyall Dawson
2d37ca9bd9 Add method to interface to close map canvases 2017-03-14 12:20:58 +10:00
Nyall Dawson
ea10cc68f0 Allow annotations to be toggled in additional map views 2017-03-14 09:28:34 +10:00
Nyall Dawson
29d77b0ce1 [FEATURE] Shell functionality for creating new canvases
Allows new "map views" to be created in the main QGIS interface.
These are map canvases, but with limited functionality (ie
no use of map tools beyond pan tool).
2017-03-14 09:28:33 +10:00
Juergen E. Fischer
8bea742216 fix flake8 warnings 2017-03-13 20:13:51 +01:00
Nyall Dawson
2cba52846e If no project layer order set, use layer tree layer order
for QgsMapThemeCollection::masterVisibleLayers()
2017-03-13 14:42:22 +10:00
Nyall Dawson
452abb2484 Add method to QgsMapThemeCollection to retrieve ordered list of
visible layers for the project
2017-03-13 13:40:48 +10:00
Nyall Dawson
5eccaf6020 Project layer order returns all layers in order, not just visible ones
Otherwise map themes with different visible layers cannot be
correctly ordered
2017-03-13 12:52:55 +10:00
Nyall Dawson
9faa628f8b Layer order in map themes must always respect project layer order 2017-03-13 12:52:55 +10:00
Nyall Dawson
6cfc6a1b98 Allow retrieval of project layer order through QgsProject
Previously this was only accessible through app
2017-03-13 12:52:55 +10:00
Nyall Dawson
9842fcbfc7 Add convience method to block while canvas is rendering
NOT to be called from anything but unit tests and standalone
scripts!!
2017-03-13 10:00:36 +10:00
Nyall Dawson
af532ecdf3 Improved docs for QgsMapCanvas::setTheme, handle setLayers and
setLayerStyleOverrides when canvas is following a map theme
2017-03-13 09:53:09 +10:00
Nyall Dawson
1e6bffe414 Allow setting map canvases to auto follow a map theme 2017-03-13 08:39:37 +10:00
Nyall Dawson
c11ef583ce Generalise editor widget config saving/restoring props from gui 2017-03-10 11:02:16 +01:00
Tom Kralidis
5a7e1fb25d Merge pull request #4243 from tomkralidis/metasearch-add-data-dropdown
MetaSearch: consolidate "Add WxS" buttons into single dropdown button
2017-03-09 19:28:42 -05:00
Juergen E. Fischer
f10e9eee7d remove python ext-libs that should meanwhile available everywhere 2017-03-10 00:07:08 +01:00
Matthias Kuhn
0170580019 Save QgsProperty related objects via QVariants 2017-03-09 20:54:44 +01:00
Tom Kralidis
4d77431b98 MetaSearch: consolidate "Add WxS" buttons into single dropdown button 2017-03-09 12:35:06 -05:00
Tom Kralidis
fa89a588e2 add pyproj to Python deps (http://hub.qgis.org/issues/16266) 2017-03-09 11:02:41 -05:00
Nyall Dawson
94bef531f0 Merge pull request #4231 from nyalldawson/options
[FEATURE] Interface for plugins to embed pages in the options dialog
2017-03-09 08:18:18 +10:00
Matthias Kuhn
91da1f5817 [feature] Add support for square centimeters / square millimeter units
Note for documentation writers, centimers / millimeters support has been
added as well in a previous commit.
2017-03-08 11:36:28 +01:00
Matthias Kuhn
56163e2810 Modularize distance and area formatting 2017-03-08 11:36:28 +01:00
Nyall Dawson
74381b85fa Add signal when a map theme changes, add tests 2017-03-08 16:56:05 +10:00
Tom Kralidis
d672361597 add support for HTTP Basic authentication (http://hub.qgis.org/issues/16298) 2017-03-07 06:56:07 -05:00
Nyall Dawson
9f23dd2414 [NEEDS-DOCS][processing] Move configuration to qgis options dialog 2017-03-07 18:12:44 +10:00
Nyall Dawson
2d807f5405 [FEATURE] Interface for plugins to embed pages in the options dialog
Allows plugins to embed their options into the standard options
dialog, instead of implementing their own config dialog and having
to have extra menu items just for those...
2017-03-07 18:12:44 +10:00
Matthias Kuhn
7dbe4943d6 Notify about QgsProject::crs changes 2017-03-06 18:06:11 +01:00
Alessandro Pasotti
99f859e2ac QgsSettings: removed lower(), now it's case sensistive 2017-03-06 10:51:54 +01:00
Tom Kralidis
6ce208c776 MetaSearch: minor fixes for QGIS 3 compat 2017-03-05 21:43:29 -05:00
Tom Kralidis
ee984c57eb [MetaSearch] update release vresion 2017-03-05 08:45:39 -05:00