259 Commits

Author SHA1 Message Date
Sandro Mani
ff9f2833d0 Assorted fixes towards PyQt6 support 2022-11-30 10:13:52 +01:00
Nyall Dawson
51e3c0833b Sip update 2022-08-12 20:36:07 +10:00
Nyall Dawson
9e19ec3a22 Try to fix version detection 2022-05-12 19:58:04 +10:00
Nyall Dawson
86f7d4e89e [api] Add QgsCombinedStyleModel class, for combining entities from several
QgsStyle models into a single combined view
2022-05-12 19:58:04 +10:00
Juergen E. Fischer
bc757fe331 also build pyi with sip-build (followup 6fd34ca92b3e2bc) 2021-10-04 12:56:23 +02:00
Sandro Mani
c5bb41dc01 PyQt5 cmake improvements 2021-09-30 12:13:29 +02:00
Sandro Mani
6fd34ca92b Add sip5/sip6 sip-build support 2021-09-24 08:56:40 +10:00
Denis Rouzaud
437b3efb92 disable feature earlier 2021-06-24 15:13:46 +02:00
Denis Rouzaud
51f25b7df9 fix SIP feature 2021-06-24 11:48:49 +02:00
Matthias Kuhn
ff3be3df40 Remove QTMOBILITY
It's days are gone
2021-06-19 06:20:57 +10:00
Juergen E. Fischer
f8e2adb84c install and package pyis (fixes #41264) 2021-06-10 00:43:05 +02:00
nirvn
0008158ab0 Allow GSL-less qgis analysis library 2021-06-01 11:39:21 +07:00
Denis Rouzaud
da08c8a435
[cmake] generalize Python output directory in UseTest macro (#43191)
* [cmake] generalize Python output directory in UseTest macro

this is helpful in case we set up another python output directory (eg PySide2)

* define python output directories to the parent scope

* try with target_include_directories

* define vars on top level

* Update UsePythonTest.cmake

* some cleanup

* more cleanup

* fix uic

* fix path for all platforms

* fix var
2021-05-13 07:32:03 +02:00
Denis Rouzaud
555f516925
use cmake native FindPython (#42497) 2021-03-28 21:49:40 +02:00
Nyall Dawson
bb76b6bf37 Add an extremely horrible hack to allow the python bindings to build
on gcc11

Don't blame me, blame sip
2021-03-27 09:48:59 +10:00
Nyall Dawson
8bf253d6ef Move classes representing GCP based transformations from app to analysis,
and make ready for exposure to public API
2021-02-21 15:18:57 +10:00
Denis Rouzaud
76a2869211 remove includes of binary dirs 2021-01-14 08:09:36 +10:00
Denis Rouzaud
21828ba85f [cmake] target_include_directories for 3d 2021-01-14 08:09:36 +10:00
Denis Rouzaud
23b50ab264
[cmake] remove of redundant includes (#40993) 2021-01-13 19:48:58 +01:00
Denis Rouzaud
a8345c03e9 [cmake] update depending CMakeLists.txt 2021-01-13 09:50:10 +01:00
Denis Rouzaud
e305a98417 [cmake] remove left-over of includes of src/core 2021-01-13 09:50:06 +01:00
Denis Rouzaud
2631143c5a [cmake] update depending CMakeLists.txt 2021-01-13 09:38:48 +01:00
Nyall Dawson
a9c80e5740 Code shuffle
Move vector, project and network related core .cpp/.h files into
dedicated subdirectories.

An attempt to organise src/core better to make things easier to find.
2020-12-29 11:38:11 +10:00
Nyall Dawson
8d45910535 Move QgsArcGisRestUtils to core, cleanup API, add docs and selectively
expose to Python
2020-12-18 18:14:49 +10:00
Denis Rouzaud
eddf6feb45 modernize CMakeLists.txt files 2020-11-12 07:14:46 +10:00
Nyall Dawson
4f6f163ead Move geocoder classes to core 2020-10-30 14:31:04 +10:00
Nyall Dawson
94f3ea0d14 Add interface API for geocoders 2020-10-30 09:19:48 +10:00
Peter Petrik
de6f4d6ad8 hook point cloud layer type to the rest of the code 2020-10-27 05:29:14 +10:00
Nyall Dawson
1bafa2f66f Code shuffle: move QgsCodeEditor classes to their own folder 2020-10-06 17:11:34 +10:00
vcloarec
09c73433dd move QgsMeshLayerProperties to GUI 2020-09-14 15:55:18 +10:00
NEDJIMAbelgacem
5be696d33f Fix compilation error for ubuntu system packages users 2020-08-05 10:45:51 +01:00
Nyall Dawson
c87a8f6afb Code shuffle to move all material classes to separate subdirectory 2020-08-03 16:34:10 +10:00
Dmitry Shachnev
d0c4e0de9d Use SIP_INCLUDE_DIR and SIP_MODULE_DIR only with SIP v4 2020-07-21 21:21:21 +03:00
Blottiere Paul
cc19c5fb7f Fix MappedType error 2020-06-12 08:45:13 +10:00
Nyall Dawson
1f835dfa9a [3d] Expose 3d algorithms provider to Python
Otherwise this provider cannot be initialized from standalone Python
scripts

Fixes #36661

Also cleanup 3d sip generation by correctly defining SIP_NO_FILE
in headers we don't want to expose, so that the sip_include script
can do its magic
2020-05-29 03:44:55 +10:00
Nyall Dawson
e4b201a414 Code shuffle 2020-05-12 10:33:30 +10:00
Tom Palan
3dad4882a7 Do not build python analysis when WITH_ANALYSIS=FALSE 2020-05-10 13:03:42 +10:00
Tom Palan
4b27b5fdc1 Compile python processing plugins even when WITH_GUI=FALSE 2020-05-08 06:36:53 +10:00
Tom Palan
5fa93549df Fix compilation with option WITH_GUI=FALSE
Fixes #29185
2020-05-08 06:36:53 +10:00
Martin Dobias
53075848ce
Merge pull request #35341 from wonder-sk/vector-tile-layer
[FEATURE] Vector tile layer - part 1
2020-04-02 16:06:30 +02:00
Martin Dobias
8105ad1fe5 Initial work on vector tile layer support 2020-03-25 13:27:11 +01:00
Nyall Dawson
bab86e9af3 Start on classes for dev tool widgets and dev tool widget factory 2020-03-25 20:03:18 +10:00
Sandro Mani
84bd5797f7 Move QgsVectorLayerProperties and dependencies to GUI 2020-03-09 10:29:34 +01:00
Nyall Dawson
cd6d51181b [processing] Port some model designer graphic item internals to c++
for stability and re-usability from c++ code
2020-03-01 19:12:25 +10:00
Sandro Mani
3b9ccf375a Make it configurable whether to install the sip source files 2020-01-17 11:38:16 +01:00
Sandro Mani
d573e3be95
Merge pull request #33764 from kadas-albireo/install_sip
Install source sip files
2020-01-17 00:23:15 +01:00
Sandro Mani
666b839517 Install source sip files 2020-01-15 19:43:03 +01:00
Nyall Dawson
387787b539 Add interactive editor dialog for layout manual table items 2020-01-14 19:08:20 +13:00
Nyall Dawson
591e1a28e0 Start on GUI work 2020-01-08 16:20:43 +13:00
Nyall Dawson
d0b5a01729 [api] Add registry and interface for QgsNumericFormats
QgsNumericFormat subclasses provide a means to format a numeric value
as a string, applying various formatting options. E.g. a default
string to value formatter (included here) includes settings for
controlling the number of decimal places, whether a thousands separator
should be shown, whether a leading + sign should be shown, whether
trailing zeros should be shown.

This PR also includes a formatter for bearings, allowing various
formats of numeric bearings to be applied (e.g. control over decimal
places, etc + control over whether direction E/W suffixes are shown,
or whether values should be limited to either the +/- 180 range or
0-360 degree range)

When formatting values, a QgsNumericFormatContext class is used
to provide context. Currently, this includes the thousands and
decimal separators to apply when formatting (which are taken by
default from the user's locale).

A registry of formatters is included to allow easy addition of
other formats in future (e.g. currencies, percentages, scientific
notation, etc...) and to allow plugin based formats.

The intention is to follow this up with gui configuration widgets
for the formats, and then expose them in various places through
the qgis ui (e.g. in the range editor widget for fields, in scalebar
numbers, as an option for formatting numeric labels, etc)
2020-01-08 16:20:43 +13:00