Nyall Dawson
a188d14f48
Remove map settings parameter from QgsComposition
...
Breaks the hard link between canvas and compositions!
Fix #11077
2017-01-24 14:32:08 +10:00
Nyall Dawson
69d10fae0f
Update API break dox
2017-01-23 12:45:22 +10:00
Nyall Dawson
6c53ba25e3
[FEATURE][composer] Data defined scalebar colors and line width
2017-01-23 12:45:21 +10:00
Nyall Dawson
4018863d37
Remove deprecated diagram field properties
2017-01-23 12:45:21 +10:00
Nyall Dawson
b7d89a73af
Consolidate all render context unit conversion to single methods
...
within QgsRenderContext
Fix invalid conversions, update unit tests
2017-01-22 21:29:23 +10:00
Juergen E. Fischer
7fe54055cd
add link to 2.18 api documentation
2017-01-21 17:01:17 +01:00
Juergen E. Fischer
05440885f5
api_break fixes
2017-01-21 12:25:28 +01:00
Denis Rouzaud
dc4aa669f1
spelling fix imrovement and symboll
2017-01-20 22:16:10 +01:00
Denis Rouzaud
7681e4e67a
replace digitising by digitizing
2017-01-20 15:06:10 +01:00
Nyall Dawson
2183887759
Don't use canvas mapSettings when composer maps respond to layer changes
2017-01-19 06:08:44 +10:00
rldhont
07c54e5496
Merge pull request #4004 from dmarteau/wfs_as_module
...
WFS & WCS as module
2017-01-18 13:07:32 +01:00
Martin Dobias
90d233ad30
Remove draw() method from QgsRasterDataProvider interface ( #4017 )
...
It was redundant in the API - one always wants to use block() to get data
2017-01-18 13:32:26 +08:00
Martin Dobias
433d04b68e
QgsRasterBlock::data() for efficient access to pixel data also in Python ( #4009 )
...
Also adds some unit tests and API cleanups
2017-01-18 09:52:45 +08:00
David Marteau
e17a7d4e21
Move wcs as service module
2017-01-17 22:02:02 +01:00
Denis Rouzaud
b119744773
replace cancelling, cancelled and cancellation by canceling, canceled and cancelation, respectively ( #4000 )
...
* replace cancelling and cancelled by canceling and canceled, respectively
see https://github.com/qgis/qgis3_UIX_discussion/issues/19
* replace cancellation by cancelation
2017-01-16 22:27:14 +01:00
Denis Rouzaud
0a63d1f2c2
[spellcheck] properly look into various cases and add more fixes"
2017-01-16 16:39:20 +01:00
Denis Rouzaud
bf22cbfa9d
[spellcheck] fix case detection + some fixes
2017-01-16 10:56:42 +01:00
Nyall Dawson
3274e1926f
Remove more unused raster scale factor handling
2017-01-16 16:50:54 +10:00
Nyall Dawson
48797fa9b7
Remove unused (and not useful) QgsRenderContext::constPainter getter
...
Since const QPainters cannot be painted to, there's no value in
leaving this in the API
2017-01-16 16:19:00 +10:00
Nyall Dawson
430af90cfa
Remove rasterScaleFactor/setRasterScaleFactor from QgsRenderContext
...
These were not being used by QGIS code (always left at default 1.0
value), and removing them from the api allows us to simplify lots
of code. It also makes QgsRenderContext scaling much less confusing.
2017-01-16 16:18:58 +10:00
Nyall Dawson
49411210b0
[composer] Remove QgsComposerMap::storeCurrentLayerSet
...
This method was used to sync the canvas layers to a composer map.
The logic has been moved to app to avoid a dependancy between
compositions and the main map canvas
2017-01-16 15:52:19 +10:00
Nyall Dawson
8a722d2981
Move QgsSymbolLayerUtils::createRenderContext to QgsRenderContext::fromQPainter
...
This method is useful in many contexts outside of symbology
2017-01-16 15:52:19 +10:00
Nyall Dawson
e0934d7766
[composer][needs-docs] Rename "world file map" option to "reference map"
...
This option will be used for more than just world file generation,
and instead will indicate which map should be considered the master
map for the composition from which any composer properties
calculating map units will derive the scale from.
2017-01-16 15:52:19 +10:00
Nyall Dawson
6ffe50704f
[composer] Remove support for upgrading pre 2.2 project atlas map
...
settings
Open the project in a recent 2.x release and resave to upgrade
the project
2017-01-14 19:14:48 +10:00
Nyall Dawson
b5480633e4
Standardise names for static variables
...
All non-const variables are prefixed with "s", all const
statics are ALL_CAPS
2017-01-14 16:40:24 +10:00
Denis Rouzaud
6c74e4ea5d
spelling fixes
2017-01-12 22:01:50 +01:00
Denis Rouzaud
4467487e1c
respect CamelCase for enums and their values
2017-01-11 14:10:11 +01:00
Denis Rouzaud
748be8de71
[spelling] replace behaviour by behavior
2017-01-11 11:35:19 +01:00
Nyall Dawson
e656c63ab7
Remove duplicate QgsFeature::setFeatureId method
...
Leave just QgsFeature::setId and document api break
2017-01-11 10:05:31 +01:00
Nyall Dawson
ede452be85
[processing] Port feedback object to c++
...
Algorithms are now passed a QgsProcessingFeedback object
instead of the loosely defined progress parameter.
2017-01-11 11:11:10 +10:00
Nyall Dawson
bb24dfe245
[processing] c++ base class for providers
...
Nothing particularly exciting here yet, but this commit
moves the definition of the provider base class to a c++
QgsProcessingProvider abstract base class.
As part of this some existing python methods were renamed
to make their use clearer and to fit with the QGIS c++
api conventions:
- getName was renamed to id
- getDescription was renamed to name
- getIcon was renamed to icon
These API breaks are documented
2017-01-11 10:55:15 +10:00
Denis Rouzaud
37ebcdd1cd
[spellcheck] allow inwords checks and line skipping
...
spell check will be done automatically in words by default (when some conditions are fulfilled)
possibility to avoid in words checking by adding :* at the end in spelling.dat
one can add #spellok at the end of a line of code to skip spell check on this line
2017-01-10 20:18:37 +01:00
Alexander Bruy
4ce3bd209f
improve built-in "no help found" page
2017-01-10 17:55:50 +02:00
Alexander Bruy
9a94da8521
new QgsHelp class that uses QGIS User Guide as help source
2017-01-10 17:55:50 +02:00
Juergen E. Fischer
c7130c6281
build t2tdoc text output with utf-8 encoding
2017-01-09 09:12:26 +01:00
Nyall Dawson
f7ae653f88
Add missing folder to doxygen build
2017-01-08 01:26:48 +01:00
Martin Dobias
0513bb357c
Make QgsGeometry independent from QgsProject + better avoid intersections API
2017-01-07 11:50:08 +08:00
Martin Dobias
8c340f7144
Make composition associated with QgsProject ( #3957 )
...
... rather than using project singleton within compositions
2017-01-06 17:22:34 +08:00
Martin Dobias
660867cb4e
Explicitly pass QgsProject object when dealing with expression contexts
...
Continued effort to reduce number of uses of QgsProject as singleton...
2017-01-06 11:34:55 +08:00
Tom Chadwin
3b2f46fbb0
Constrain main nav to main column
2017-01-05 16:46:03 +01:00
Even Rouault
f67cdc3965
Merge pull request #3935 from rouault/group_visibility
...
[FEATURE] Change of ergonomy of the visibility of layers inside groups
2017-01-04 15:22:48 +01:00
Tudor Bărăscu
c8441bcbb2
document building with ninja + non interactive options
2017-01-04 13:51:43 +01:00
Martin Dobias
6c5956b22b
QgsProject: cleanup of read/write method + removal of unused bad layer handler class
2017-01-04 20:29:53 +08:00
Nyall Dawson
0ce30217f1
Implement some QGIS 3 TODOs for diagram API
2017-01-04 18:17:22 +10:00
Even Rouault
60a1701377
[FEATURE] Change of ergonomy of the visibility of layers inside groups
...
See https://github.com/qgis/QGIS-Enhancement-Proposals/issues/86
- Checking/unchecking a group doesn't change the check state of its children.
A node is visible if and only if it is checked and all its parents too.
- There is no more a semi-checked state for a group
- Ctrl-clic on a unchecked group will check the group and all its descendants.
- Ctrl-clic on a unchecked layer will check the lager and all its parents.
- Ctrl-clic on a checked group will uncheck the group and all its descendants.
- Ctrl-clic on a checked layer will uncheck the layer and all its parents.
- Those actions are available in contextual menu items in the tree view.
- Invisible layers because they or their parent(s) is unchecked are greyed out.
2017-01-02 13:25:25 +01:00
Nyall Dawson
48e72999ab
Cleanup QgsProjectProperty headers and docs
2017-01-02 15:20:08 +10:00
Nyall Dawson
89cfa68369
Rename QgsProperty to QgsProjectProperty
...
and QgsPropertyKey/Value to QgsProjectPropertyKey/Value
The QgsProperty names are too generic to be used in this
context
2017-01-02 13:09:20 +10:00
Nyall Dawson
8ebc73b495
Merge pull request #3914 from nyalldawson/bye_singletons
...
Remove some singletons by moving instances to QgsApplication
2017-01-02 09:00:58 +10:00
Jürgen Fischer
13990a20c9
Merge pull request #3904 from sikmir/i18n-eo
...
[i18n] integrate esperanto translation
2017-01-01 12:58:57 +01:00
Nyall Dawson
78134ee9dc
Merge pull request #3921 from DelazJ/example
...
Spelling fix: Replace "eg" by "e.g." or "for example"
2016-12-30 11:42:33 +10:00