Nyall Dawson
04a9cd9211
Add more consistency to doxygen formatting
2017-10-06 08:19:00 +10:00
Nyall Dawson
92af1dacaf
Replace default constructors/destructors with = default
2017-10-01 06:52:14 +10:00
Nyall Dawson
a87d352bd7
Run clang-tidy modernize-use-default-member-init to move member
...
initialization to headers (c++11 style)
2017-09-27 05:02:34 +10:00
Juergen E. Fischer
b9162dccdf
scripts/astyle-all.sh run
2017-03-03 15:37:12 +01:00
Nyall Dawson
47683fca4f
[needs-docs] Rename Outline and Border -> Stroke
...
This change is being driven by:
- need for consistent terminology in the api. Currently there's
a confusing mix of border/outline used
- need for consistent terminology in the gui - we have a mix
of "border"/"outline"/"pen"
- bringing QGIS into line with the standard terminology used
in other graphic editing programs
2017-02-22 19:22:45 +10:00
Denis Rouzaud
7812d4fb17
remove the-prefix from source code
...
this might result in variables having the same name as some methods
2017-02-21 18:14:58 +01:00
Nyall Dawson
d19e70700f
Ensure all pointer variables are initialized to nullptr
2017-02-18 20:23:18 +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
Nyall Dawson
ad2324021d
Port symbology and composer to properties framework
2017-01-23 12:45:21 +10:00
Matthias Kuhn
dfd9833467
Let all tests work with a proper QgsApplication instance
2016-12-20 01:20:08 +01:00
Martin Dobias
483c7f4b86
Test fixes and further QgsProject::instance() removals
2016-12-11 00:31:27 +08:00
Martin Dobias
c143be7a73
QgsMapSettings and QgsComposerMap store layers for rendering as weak pointers
...
... instead of using layer IDs which need to be resolved using QgsProject
2016-12-10 18:50:52 +08:00
Martin Dobias
d56a97d4fe
Merge QgsMapLayerRegistry into QgsProject
...
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
Nyall Dawson
4166a3ea62
Fix most clazy qstring-unneeded-heap-allocations warnings
...
By flipping string literals to QStringLiteral/QLatin1String
see
https://woboq.com/blog/qstringliteral.html
2016-10-24 15:26:24 +10:00
Juergen E. Fischer
3f22a7a77f
another scripts/replacev2.sh with minor manual fixes
2016-08-10 12:12:28 +02:00
Juergen E. Fischer
39c4409c6a
remove deprecated stuff from QgsVectorLayer and editor widgets
2016-08-10 12:12:28 +02:00
Juergen E. Fischer
0688621046
scripts/replacev2.sh run
2016-08-10 12:08:52 +02:00
Denis Rouzaud
275736de92
removed V2 from QgsSymbolV2*
2016-08-05 08:22:21 +02:00
Martin Dobias
ab4a83b49b
Goodbye to QgsMapRenderer ( #3333 )
...
For the time being the class is kept in the server code while it is still being used there.
2016-07-24 22:40:52 +02:00
Nyall Dawson
711c38dfaf
Make symbol line fill tests more robust
2015-11-21 19:01:28 +11:00
Nyall Dawson
d699569b86
Add initial tests for marker symbol layers
2015-11-14 20:17:54 +11:00
Nyall Dawson
9e84fcafd8
Followup 2ac5933 with more data defined fixes
...
2ac5933 fixed the regression in 2.12, but there were more underlying
issues from <2.8 causing sub symbols with data defined properties
to be ignored.
Add some tests.
(refs #13707 )
2015-11-04 16:03:46 +11:00