lbartoletti
d33052aca3
Fix docstring
2018-10-19 13:26:18 +02:00
Nyall Dawson
1500c3eecb
Fix dox
2018-10-19 08:32:56 +10:00
Nyall Dawson
5d9d903fb0
Move browser proxy model to core library and expose as stable API
...
This class is useful for plugins and other areas of QGIS code which
want to expose a limited browser interface (e.g. a vector layer
only type layer picker)
Also add unit tests
2018-10-19 08:32:56 +10:00
Nyall Dawson
72bf08e2b7
Deprecate QgsBrowserModel::connectItem
...
This method should only be private, and is completely dangerous
to call from external code (it breaks the model!).
Deprecate and replace with a no-op
2018-10-19 08:32:56 +10:00
Nyall Dawson
765dbf6ae7
Dox, tests
2018-10-19 08:32:56 +10:00
Alessandro Pasotti
5393df88ac
Fixed documentation: FetchAttributes does not exist
2018-10-18 17:39:26 +02:00
Martin Dobias
f437a7e02b
Added docs
2018-10-18 16:56:27 +02:00
Alessandro Pasotti
4010e79fe3
Merge pull request #8200 from elpaso/bugfix-20094-followup-096b4ce
...
Slow field calculator - Bugfix 20094 followup 096b4ce
2018-10-18 08:39:03 +02:00
Matthias Kuhn
190f938654
Merge pull request #8103 from m-kuhn/geometryValidatorCode_1
...
Geometry validation of editing session
2018-10-16 11:34:50 +02:00
Alessandro Pasotti
5defc03086
Fix slow updates from field calculator
...
Fixes #20094
Followup 096b4ce
2018-10-16 09:33:09 +02:00
Alessandro Pasotti
0e50b3ba70
Revert "Merge pull request #8177 from elpaso/bugfix-20094-field-calculator-slowness"
...
This reverts commit 096b4ce00426ee35a1eec5b54453b9ea2e22b903, reversing
changes made to 87e0f6961adcbf7039d2c0bef914cebd747afc67.
2018-10-16 09:33:09 +02:00
Denis Rouzaud
32d4bcc425
add Python __repr__ method to QgsGeometry.Error ( #8198 )
2018-10-15 06:53:09 -08:00
Martin Dobias
939a910cfc
Merge pull request #8181 from wonder-sk/py3d
...
Python bindings for QGIS 3D library
2018-10-15 15:07:40 +02:00
Matthias Kuhn
df44275e86
Update core sip files
2018-10-15 14:28:07 +02:00
Matthias Kuhn
f82970d79a
Send signals when geometry options change
2018-10-15 14:28:01 +02:00
Denis Rouzaud
7593d51687
add feature pool as argument to collect/fix error methods
2018-10-15 14:27:57 +02:00
Matthias Kuhn
1b0bd51434
Registry
2018-10-15 14:27:55 +02:00
Denis Rouzaud
574c672a1e
add QgsVectorLayer::getGeometry(fid) ( #8174 )
...
* add QgsVectorLayer::getGeometry(fid)
* update docs to say geom is invalid
2018-10-15 03:31:14 -08:00
Alessandro Pasotti
096b4ce004
Merge pull request #8177 from elpaso/bugfix-20094-field-calculator-slowness
...
Fixes slow update in field calculator
2018-10-15 10:32:09 +02:00
Nyall Dawson
a1a35e91cc
Dox++
2018-10-15 11:47:01 +10:00
Nyall Dawson
f07462b69a
Spelling
2018-10-15 11:47:01 +10:00
Nyall Dawson
8f6ee1c40d
Dox
2018-10-15 11:47:01 +10:00
Alessandro Pasotti
07b31287ba
Fix rollback on large tables when attr table is opened
2018-10-14 00:44:25 +02:00
Martin Dobias
88cb8313c8
Python bindings for QGIS 3D library
2018-10-13 22:05:39 +02:00
Alessandro Pasotti
9d82df5d16
Forward to app blocking/unblocking of attr table updates
...
Fixes #20094 - Extracting z-coordinates takes ages and makes the system unresponsive
2018-10-13 15:40:57 +02:00
Harrissou Sant-anna
0816a29962
Fix typo in generated file
2018-10-13 12:30:52 +10:00
Nyall Dawson
b2df588a38
Fix see also link
2018-10-11 17:52:47 +10:00
Nyall Dawson
5beb4e2b8d
Followup 9cad526, allow item rename through browser model
2018-10-11 17:52:47 +10:00
Denis Rouzaud
f27a5043bb
remove useless includes
2018-10-09 11:48:33 -08:00
Denis Rouzaud
ef1efebda4
forward declaration of QgsPoint
2018-10-09 11:48:33 -08:00
lbartoletti
03d730ce12
rerename transformContext -> context
2018-10-09 09:57:55 +02:00
Denis Rouzaud
d000157341
forward declarations for QgsMapLayer
2018-10-08 13:01:16 -08:00
Nathan Woodrow
f928c2e545
[FIX] - Respect selection order in attribute table copy. ( #8048 )
...
Only copy fields shown in view for current table.
2018-10-08 12:07:28 +10:00
Blottiere Paul
9ccb1b579b
Update doc
2018-10-08 07:24:53 +10:00
Blottiere Paul
6e95586a1c
Update python binding
2018-10-08 07:24:53 +10:00
Even Rouault
7e81226b51
Replace toUtf8().data() by toUtf8().constData()
...
All your uses of toUtf8().data() actually just need a const char*
So use constData() that is semantically more correct, and documented
to be faster.
From http://doc.qt.io/qt-5/qbytearray.html#data
"For read-only access, constData() is faster because it never
causes a deep copy to occur."
2018-10-07 07:23:42 +10:00
Denis Rouzaud
9fa8c356dd
make QgsWkbTypes a Q_GADGET and declare GeometryType as Q_ENUM ( #8024 )
...
* make QgsWkbTypes a Q_GADGET and declare GeometryType as Q_ENUM
* include QObject
* remove extra include
* move QgsWkbTypes to moc headers
* run sip_include
2018-10-05 10:25:35 -08:00
Matthias Kuhn
e25d6347c6
Merge pull request #8034 from m-kuhn/canCommitChanges
...
Add QgsVectorLayer::allowCommit property
2018-10-05 13:11:28 +02:00
Matthias Kuhn
3522518bec
Do not add allowCommit to Python bindings
2018-10-05 08:43:13 +02:00
Nyall Dawson
234985b59d
[needs-docs][labeling] Fix substitutions don't play well with wrapped labels
...
Fixes an issue identified in the upcoming QGIS Map Design 2nd ed
(spoiler alert!) where it's impossible to utilise label text
substitutions if you also want to use word wrapping.
This isn't possible to directly fix, because we need to evaluate
the full label expression (including the word wrapping component)
in order to actually HAVE text to substitute into.
So, a new setting has been added to the label formatting tab
allowing users to directly set an auto-wrapping line ideal
line size. This is applied AFTER label text evaluation, substitutions,
and the 'wrap text on' character, so it can play correctly well with
all these other settings. This also has the nice side-effect
of making auto label text wrapping more accessible to new
users/those unfamiliar with the wordwrap expression function.
Fixes #20007 , and cleans up a chapter of QMD 2ed ;)
2018-10-05 06:58:56 +10:00
Nyall Dawson
dce8673d21
Move guts of wordwrap expression function to QgsStringUtils::wordWrap
...
To allow use outside of expressions
2018-10-05 06:58:56 +10:00
Denis Rouzaud
819aaee382
move XML flag reading to Xml utils
2018-10-04 08:56:51 -04:00
nirvn
3235fb5422
[ui] resurrect home folder
2018-10-03 14:03:40 +07:00
Matthias Kuhn
b3f36dc22f
Merge pull request #8056 from qgis/3nids-patch-3
...
use float precision for screen coordinates
2018-10-02 14:04:50 +02:00
Matthias Kuhn
66f2272be0
Improve API docs concerning sort behavior
2018-10-02 15:37:07 +10:00
Nyall Dawson
76190d594a
Remove useless member variable
2018-10-02 10:49:41 +10:00
Alessandro Pasotti
a68a82cb60
qgsVariantEqual second iteration
2018-10-01 14:59:19 +02:00
Alessandro Pasotti
90e2c45502
Add qgsVariantEqual for null-aware comparison
2018-10-01 14:02:09 +02:00
Nyall Dawson
b5476ef5d4
Fix clang warnings, scale truncation to int
2018-10-01 16:07:40 +10:00
Nyall Dawson
3ecb1548fb
Add missing fox for QgsFontMarkerSymbolLayer, improve existing dox
2018-10-01 10:55:09 +10:00