38630 Commits

Author SHA1 Message Date
Matthias Kuhn
1fb55dbdee [travis] Optimize ccache 2017-05-11 12:42:26 +02:00
Matthias Kuhn
0cb82587f0 Localize feature count 2017-05-11 12:42:26 +02:00
Matthias Kuhn
95597e3bab Add tests for QgsTask::waitForFinished() 2017-05-11 12:42:26 +02:00
Matthias Kuhn
ed747edc94 Improve docs and python bindings for feature count 2017-05-11 12:42:26 +02:00
Matthias Kuhn
d452f7f21e Refresh feature count legend text automatically 2017-05-11 12:42:26 +02:00
Matthias Kuhn
52676774ba Sipify QgsTask[Manager] 2017-05-11 12:42:26 +02:00
Matthias Kuhn
3e88e8e9ac Fix feature counting 2017-05-11 12:42:26 +02:00
Matthias Kuhn
a6800e94b0 Fix division by 0 2017-05-11 12:42:26 +02:00
Matthias Kuhn
1f041884bb Add QgsTask::waitForFinished 2017-05-11 12:42:26 +02:00
Matthias Kuhn
05a713f444 Fix compatibility with older sip versions 2017-05-11 12:42:26 +02:00
Matthias Kuhn
964d9ac70a Send feature counting to background task 2017-05-11 12:42:26 +02:00
Matthias Kuhn
f264370130 Make fields() available in QgsVectorLayerFeatureSource 2017-05-11 12:42:25 +02:00
Denis Rouzaud
5888d22c07 fix sip bindings documentation 2017-05-11 12:00:06 +02:00
Denis Rouzaud
ad3fe26582 [doxygen] remove remaining 'note Added in XXX' in favor of '\since ...' 2017-05-11 10:53:22 +02:00
Alessandro Pasotti
8e60510e65 Merge pull request #4444 from boundlessgeo/sort_on_top_portTo3
[attributetable] Fix "Move selection to top" for 3.x regression fixes #15803
2017-05-11 10:46:28 +02:00
Juergen E. Fischer
f131792351 fix test font message 2017-05-11 08:45:08 +02:00
Luigi Pirelli
a924915b00 hide setting and value control in setSortOrder 2017-05-10 15:13:47 +02:00
Alexander Bruy
abc74b4262 [processing] don't apply -te and -te_srs if not requested (fix #16519) 2017-05-10 15:47:29 +03:00
Denis Rouzaud
883e4f3619 minor cleaning of python/CMakeLists.txt 2017-05-10 14:40:31 +02:00
Denis Rouzaud
b8b01acb41 fix valueChanged signal not emitted in QgsExternalResourceWidget 2017-05-10 14:40:31 +02:00
Denis Rouzaud
97866f4a20 [sip] add missing ConvertToClassCode
This was causing an issue if you tried to access widgets in a form using findChildren
widgets could not be casted to QGIs native types

also sipify QgsFilterLineEdit and QgsRelationEditorWidget
2017-05-10 14:40:31 +02:00
lbartoletti
13c1318a5f New geometry class: QgsRegularPolygon (#4502) 2017-05-10 22:23:28 +10:00
Luigi Pirelli
c092effc1c [attributetable] fix sortOnTop due to sortOrder wrong enum values from QgsAttributeTableConfig: fixes #15803
port to 3.0 for https://github.com/qgis/QGIS/pull/4306
2017-05-10 13:02:03 +02:00
Alessandro Pasotti
55cb855003 Use a valid polygon in attr-table test 2017-05-10 12:06:48 +02:00
Alexander Bruy
58a8478b82 prevent crash when exporting spatial bookmarks (fix #16345) 2017-05-10 12:25:44 +03:00
Matthias Kuhn
aa021bef0c Merge pull request #4307 from ghtmtt/proc_tests
[processing] other qgis test, clean commit
2017-05-10 09:07:59 +02:00
Alessandro Pasotti
8423aaf0bf Merge pull request #4525 from boundlessgeo/re-enable-ows-test
Re-enable OWS auth test
2017-05-09 20:35:54 +02:00
Alessandro Pasotti
403c03f779 Re-enable OWS auth test 2017-05-09 18:31:05 +02:00
Alessandro Pasotti
6d67379bb6 Remove unused forward declarations 2017-05-09 16:31:21 +02:00
Alessandro Pasotti
212acc120c Merge pull request #4503 from boundlessgeo/attributetable-fixes
[bugfix] Fixes attribute table duplicated rows #15974
2017-05-09 15:13:10 +02:00
Nyall Dawson
a4e3c8336e Merge pull request #4520 from nyalldawson/raster_combo_box
QgsRasterBandComboBox
2017-05-09 20:36:33 +10:00
Nyall Dawson
ea4143bbdc Don't disable band combo when only one band is present 2017-05-09 19:45:19 +10:00
Nyall Dawson
872cd13675 Add custom widget plugin for QgsRasterBandComboBox 2017-05-09 19:43:13 +10:00
Nyall Dawson
f4b353c09d Flip some more custom raster band combo boxes to QgsRasterBandComboBox 2017-05-09 19:35:28 +10:00
Nyall Dawson
e4a94bc457 Add unit tests for QgsRasterBandComboBox 2017-05-09 19:23:08 +10:00
Nyall Dawson
c9bfb9f2a1 Add a "not set" option to QgsRasterBandComboBox 2017-05-09 19:23:08 +10:00
Nyall Dawson
ddf8cc8485 Disable raster band combo box for rasters without multiple bands 2017-05-09 19:23:08 +10:00
Nyall Dawson
a32314d8b5 Add a new QgsRasterBandComboBox widget
And use wherever custom widgets were being created. Reduces
duplicate code and allows specialised handling for raster
band display/selection to be centralized.
2017-05-09 19:23:08 +10:00
Denis Rouzaud
0824280296 sipify gui editor widgets 2017-05-09 08:59:07 +02:00
Nyall Dawson
6aa10c6817 [processing] Cleanup some layer/writer related handling
Ensure that layers created by QgsProcessingUtils::createFeatureSink
can always be retrieved using QgsProcessingUtils::mapLayerFromString
2017-05-09 15:29:41 +10:00
nirvn
cb23ebed65 [FEATURE] Add opacity support to copyright decorator 2017-05-09 12:21:18 +07:00
nirvn
83e8ecec45 [FEATURE] Add outline and color opacity settings for scale bar decoration 2017-05-09 12:21:12 +07:00
nirvn
1445505a42 [FEATURE] Color settings for north arrow decoration 2017-05-09 12:21:04 +07:00
Nyall Dawson
592fcfa74b Merge pull request #4522 from nyalldawson/new_random
[needs-docs] Add a "shuffle random" option to color ramp button
2017-05-09 14:34:54 +10:00
Nyall Dawson
3cd3e5d378 Allow storing QgsProperty in QVariant 2017-05-09 12:22:30 +10:00
Nyall Dawson
927faf7037 [needs-docs] Add a "shuffle random" option to color ramp button
Allows quick regeneration of a new set of random colors if the
current color ramp is a random color ramp.
2017-05-09 12:03:18 +10:00
Nyall Dawson
499a35d0c8 Refine paletted raster renderer classification
Change behaviour from clearing all existing values on classification
to instead keeping any existing values which do exist in the raster,
maintaining their current color and label.
2017-05-09 11:52:10 +10:00
Nyall Dawson
bccba30af7 Fix unreadable text in plugin manager (fix #16516) 2017-05-09 11:26:59 +10:00
Nyall Dawson
cd248c620a Limit the initial feature request sent by expression builder widget
Should help avoid short delays in opening the expression widget
on slower layers (such as with the Postgres provider where features
are fetched in a minimum batch of 2000 by default)
2017-05-09 08:54:02 +10:00
Nyall Dawson
9a19a5fc58 Followup c2699b4, fix missing field names in expression builder 2017-05-09 08:53:07 +10:00