1705 Commits

Author SHA1 Message Date
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
Juergen E. Fischer
157a6700ca txt2tags 3.3: drop --css-sugar --css-inside (closes #33516) 2019-12-26 16:29:03 +01:00
Nyall Dawson
03803b08c3 Also move app labeling files to dedicated subdirectory 2019-12-11 14:05:44 +10:00
Nyall Dawson
a8adb2d6c2 Code shuffle: move all labeling related code into src/core/labeling
So that these files are all grouped together, making it easier to locate
all the components of the labeling engine and hopefully making things
easier to navigate
2019-12-11 14:05:44 +10:00
Harrissou Sant-anna
6d12fb416c Update CONTRIBUTORS 2019-11-12 03:11:32 +10:00
Harrissou Sant-anna
0b22133c44 Update CONTRIBUTORS 2019-11-12 03:11:32 +10:00
root676
a418941c45 add myself to contributors 2019-11-11 05:26:02 +10:00
Hugo Mercier
845894b313
[FEATURE] Selective masking (#30747)
* [FEATURE] Selective masking

Advanced rendering feature that allows the definition of 'masks' areas around labels or with a new typ of symbol layer. These masks will "un-draw" symbol layers of other layers underneath.
It modifies the rendering process by adding an optional second pass.
2019-11-07 08:17:25 +01:00
Juergen E. Fischer
58932e8317 fix doc installation 2019-10-26 13:51:56 +02:00
Juergen E. Fischer
b81d306047 spelling fixes (closes #32408) 2019-10-26 10:50:30 +10:00
Matthias Kuhn
46abf27fcc In source doc relative path magic 2019-10-26 08:28:51 +10:00
Matthias Kuhn
6b82fc94e3 https for qt docs 2019-10-26 08:28:51 +10:00
Matthias Kuhn
e6a06ec3b2 Also copy svg, icons and doc to build dir, into /data/ subdir 2019-10-26 08:28:51 +10:00
Juergen E. Fischer
df860ea89a changelog and news update for 3.10 2019-10-25 14:14:52 +02:00
Juergen E. Fischer
45b437e13f translation update for 3.10.0 from transifex 2019-10-25 14:14:46 +02:00
Juergen E. Fischer
7f54c6acf0 debian packging [ci skip]:
* scripts/scandeps.pl: remove python3-autopep8 from INSTALL build
  dependency list (not an actually dependency anyway)
* include eoan in INSTALL
2019-10-08 20:27:47 +02:00
Sandro Santilli
3225f4911a Make apidoc installation optional when building it on demand
Fixes #31842
2019-09-17 15:18:14 +02:00
Juergen E. Fischer
2797e46e8f api doc archive is 7z now
[ci skip]
2019-09-16 13:26:08 +02:00
Juergen E. Fischer
873e24b165 Switch some links to https 2019-09-10 22:15:22 +02:00
Denis Rouzaud
b3d52df67b
Merge pull request #31500 from 3nids/refactor_classification
Refactor graduated symbol renderer
2019-09-02 14:57:18 +02:00
Denis Rouzaud
180c605787
src/gui/processing/models does not exist (#31532) 2019-09-02 13:28:41 +02:00
Denis Rouzaud
734e99e1e0 add classification methods to API docs 2019-09-02 10:16:21 +02:00
Juergen E. Fischer
0b757f84d1 debian packaging: drop cosmic 2019-08-09 10:08:57 +02:00
Juergen E. Fischer
06b24d164a update INSTALL.html 2019-08-04 10:35:37 +02:00
Māris Nartišs
7e0181bcb7 Build: Bump minimum Proj version to 4.9.3 (Fixes #30675) 2019-08-04 09:01:39 +10:00
luz.paz
aa3480b717 Fix typos 2019-07-16 11:29:42 +10:00
Guillaume Pasero
05e267ae55 TEST: change to cdash 2.6 2019-07-16 09:13:27 +10:00
Juergen E. Fischer
73c96ee5c8 api doc: update release doc links 2019-07-11 13:12:44 +02:00
Nyall Dawson
7d02545dc0 Add callout classes to doxygen 2019-07-11 13:03:12 +10:00
Juergen E. Fischer
c5c6877513 INSTALL: remove outdated 'precise' reference 2019-06-21 14:48:13 +02:00
Juergen E. Fischer
33b48b234e changelog and news update for 3.8 2019-06-21 14:32:23 +02:00
Juergen E. Fischer
6cd43198f4 translation update for 3.8 from transifex 2019-06-21 14:32:18 +02:00
Jorge Gustavo Rocha
38c8e757aa References to issues.qgis.org updated 2019-06-12 00:10:43 +01:00
Denis Rouzaud
217057236a
Merge pull request #9859 from qgis/3nids-patch-1
add mac/development README
2019-05-22 23:16:41 -05:00
Denis Rouzaud
9342359b5e
add link to development README 2019-05-11 14:41:07 -05:00
Chris Mayo
152a556887 INSTALL: document Python 3 as a build tool
Needed for scripts/process_function_template.py run by
src/core/CMakeLists.txt.

Enforced since commit:
f16fe73476 ("Python is a hard build time dependency", 2015-09-20)
2019-05-11 09:01:58 +02:00
Daniele Viganò
92f22b01a5
[RPM] Add qt5-qtbase-private-devel build dep for F30+
qt5-qtbase-devel as been splitted in Fedora 30
2019-05-08 16:18:07 +02:00
Juergen E. Fischer
891ea18bab debian packaging: add ubuntu disco 2019-04-15 23:38:20 +02:00
Juergen E. Fischer
28b33234cd update INSTALL 2019-04-09 19:07:31 +02:00
Juergen E. Fischer
21207b8a7a update INSTALL 2019-03-21 19:45:35 +01:00
Matteo Nastasi
cffe61250e layout: add new vertical and horizontal equispaced distributions 2019-03-13 14:52:25 +01:00
Matteo Nastasi
43c74c2a84 port of RedHat packaging from QGIS 2.0 to 3.0 2019-03-13 14:49:59 +01:00
Marco Bernasocchi
bee20785cc
Update mbernasocchi email in AUTHORS 2019-03-13 14:42:59 +01:00
Bas Couwenberg
371176357b Fix spelling errors.
* cancelation -> cancellation
 * overal      -> overall
2019-02-24 22:39:40 +01:00
Juergen E. Fischer
aee8ed40b9 changelog and news update for 3.6 2019-02-22 13:47:20 +01:00
Juergen E. Fischer
b4fed682b3 translation update for 3.6 from transifex 2019-02-22 13:47:13 +01:00
Chris Mayo
fb798263b2 Remove unused Qt5XmlPatterns dependency
QtXmlPatterns includes were deleted here:
2eb82430bb

Remove code that was never enabled, introduced here:
0f7b405aa7
2019-02-16 20:01:15 +00:00
Jonathan Willitts
0aae2c1d69 Add missing headings and remove table captions (#8892)
* Add missing headings and ToC anchors

Adds missing headings (and table of contents anchors) for 'Renamed Enum Values' and 'Renamed Methods' tables.

* Removed table captions

Which are redundant due to the headings that the tables sit under
2019-01-17 14:54:10 -05:00
Jonathan Willitts
68994adc1b Add missing api breaking change for setMapTipTemplate() to QgsVectorLayer (#8880)
* Add missing change for QgsVectorLayer

* Update, to include mention of setDisplayExpression
2019-01-17 08:42:30 -05:00