Nyall Dawson
07e12e2832
Replace reimplemented default methods by = default
...
Using clang-tidy modernize-use-equals-default
2017-09-11 17:10:31 +10:00
Martin Dobias
81653d6978
Data-defined size legend: configurable labels + few fixes
...
This may break projects that started to use data-defined size legend with manually defined rules.
2017-06-26 11:38:57 +02:00
Matthias Kuhn
a9d7630a69
Rename QgsPointV2 to QgsPoint and QgsPoint to QgsPointXY
...
Because 3D coordinates should be the default.
References https://github.com/qgis/qgis3.0_api/issues/36
2017-06-02 19:53:37 +02:00
Denis Rouzaud
8ce847f9b4
more constness
2017-05-30 22:27:44 +02:00
Denis Rouzaud
2c56f42482
add Factory annotation to clone() methods
2017-05-30 15:49:40 +02:00
Matthias Kuhn
28a21209b9
[sipify] seealso
2017-04-30 16:52:05 +02:00
Denis Rouzaud
f20b9b96e7
[sipify] better remove body, remove duplicate code
2017-04-30 16:34:08 +02:00
Denis Rouzaud
4cc4a27068
[sipify] operators, remove argument
...
* skip some operators
* allow to remove an argument with SIP_PYARGREMOVE
2017-04-26 15:06:16 +02:00
Denis Rouzaud
1bfa539df1
[sipify] remove extra blank line
2017-04-24 07:39:30 +02:00
Denis Rouzaud
8f2a5c7c00
sipify all
2017-04-20 14:21:36 +02:00
Nyall Dawson
eff5a823c9
[sipify] Convert "\a arg" to "`arg
`" when processing Docstrings
...
Allows argument names to be highlighted in Python docs
2017-04-17 13:49:59 +10:00
Nyall Dawson
6a72c945af
[sipify] Don't autocreate Docstrings for overridden members
...
Skip the autocreated Docstrings with rtype annotations if the
member is overridden - better to use the base class
Docstring in this case.
2017-04-17 11:03:02 +10:00
Nyall Dawson
798c318288
[sipify] Fix loss of class docstring if newline present between
...
class doxygen and class definition
2017-04-17 10:49:29 +10:00
Nyall Dawson
bfd37e1122
[sipify] Add return types for functions in docstrings
...
and change \return -> :return: in docystrings
2017-04-08 09:48:48 +10:00
Matthias Kuhn
58d2d6d7f9
sipify_all
2017-04-07 12:26:30 +02:00
Matthias Kuhn
f82997c4aa
[sipify] Force newlines after sip commands
2017-04-07 12:26:30 +02:00
Nyall Dawson
ca8e1d343d
[sipify] Replace nullptr with None in docstrings
...
Since nullptr has no meaning to Python devs
2017-04-07 09:21:26 +10:00
Nyall Dawson
4eeacb8fdf
[sipify] Replace :: with . during doxygen->docstring conversion
...
e.g.
You can use QgsXmlUtils::writeVariant to save it to an XML document
->
You can use QgsXmlUtils.writeVariant to load it from an XML document
2017-04-05 10:32:27 +10:00
Nyall Dawson
e1e1f0d514
Strip \a from doxygen comments in sipify
2017-04-03 13:18:36 +10:00
Nyall Dawson
9b3539ab07
Update sip files
2017-04-03 13:18:36 +10:00
Matthias Kuhn
a9b5599377
Sipify QgsPropertyTransformer
2017-04-02 23:37:17 +02:00
Matthias Kuhn
0170580019
Save QgsProperty related objects via QVariants
2017-03-09 20:54:44 +01:00
Nyall Dawson
dcf6104753
Allow QgsPropertyTransformers to have an associated QgsCurveTransform
2017-02-22 11:16:54 +10:00
Nyall Dawson
5c3198daea
Implement a photoshop-esque curve transformer
...
Handles scaling of input values to output values by using
a curve created from smoothly joining a number of set
control points.
This assists in creation of curve type transforms, typically
seen in raster image editing software (eg the curves dialog
in GIMP or Photoshop). Transforms are created by passing a
number of set control points through which the transform curve
must pass. The curve is guaranteed to exactly pass through
these control points. Between control points the curve is
smoothly interpolated so that no disjoint sections or
"corners" are present.
2017-02-22 11:16:54 +10:00
Nyall Dawson
3ca0b90a97
Update sip bindings
2017-02-14 13:48:11 +10:00
Nyall Dawson
b376ae103c
Adds methods which attempt to parse expression based properties
...
as property transformers
2017-02-14 13:48:11 +10:00
Nyall Dawson
c5546b0357
Allow conversion of QgsPropertyTransfomers to expressions (when possible)
2017-02-05 20:19:12 +10:00
Nyall Dawson
d5664ed635
Clean up GUI for properties
2017-01-23 12:45:21 +10:00
Nyall Dawson
ffaa40edc4
Refactor properties
...
Remove QgsAbstractProperty and subclasses, and instead use a single
QgsProperty class which covers the use of QgsAbstractProperty
and its subclasses. This simplifies the API and avoids pointer
handling. QgsProperty is implicitly shared for memory efficiency
and inexpensive copies.
2017-01-23 12:45:21 +10:00