Nyall Dawson
2f6b8e7a3f
Make it more obvious if a field is selected in a data defined button
...
by ticking the "fields" submenu as well as the field
2015-05-06 18:35:59 +10:00
Nyall Dawson
ad7fad513d
Fix referenced columns from QgsDataDefined so that columns are
...
returned even if expression was not sucessfully parsed (column
names are still inferred during the expression preparation).
2015-05-06 18:35:59 +10:00
Nyall Dawson
6ad2f9f091
Some improvements to QgsDataDefined and QgsDataDefinedButton:
...
- enhanced methods for storing/retrieving QgsDataDefined in a
string map
- add method to QgsDataDefinedButton to update parameters for a
QgsDataDefined
- deprecate an unused method
- const correctness
2015-05-06 18:35:59 +10:00
Denis Rouzaud
254af203cc
fix offset curve: allow input in spinbox by switching to click-click mode
2015-05-06 10:25:31 +02:00
Denis Rouzaud
a7a29ca9bd
user input fixes
...
* fix crash when entering value from widget in rotation map tool use
* initially display as floating
* use same background color as info bar
* fix auto adjust
2015-05-06 10:02:19 +02:00
Juergen E. Fischer
b49b49232a
handle projects path with apostrophe ( fixes #12691 )
2015-05-06 09:14:02 +02:00
Juergen E. Fischer
aa377a088a
postgres provider: ignore system columns
2015-05-06 08:51:30 +02:00
Nyall Dawson
fba32f123d
Allow storing QgsField and QgsFields in a QVariant
2015-05-06 07:03:39 +10:00
Juergen E. Fischer
ee17eb9877
fix windows build
2015-05-05 18:58:59 +02:00
Denis Rouzaud
f028b831ff
change user input toolbar to a user input dockwidget
2015-05-05 16:38:47 +02:00
Nathan Woodrow
0967510145
Merge pull request #2024 from tecoholic/8212
...
fixes #8212
2015-05-05 21:45:25 +10:00
Martin Dobias
69aa115294
Merge pull request #2026 from kiselev-dv/pull/osm-not-null
...
Add not-null option for osm export
2015-05-04 22:39:04 +02:00
kiselev-dv
57d5d0796e
fix typo
2015-05-05 00:23:15 +05:00
kiselev-dv
8902a86fe4
Add not null option for OSM export
2015-05-04 23:27:55 +05:00
Radim Blazek
eb964f9f36
[GRASS][FEATURE] delete raster map browser action
2015-05-04 17:06:23 +02:00
tecoholic
51c180b5db
fixes #8212
2015-05-04 20:31:50 +05:30
Nyall Dawson
e05246d754
Const correctness for QgsGeometry methods
2015-05-04 21:00:23 +10:00
Radim Blazek
9e09646410
[GRASS][feature] delete vector layer browser action
2015-05-04 12:27:06 +02:00
Martin Dobias
f800ac635b
Merge pull request #1975 from rduivenvoorde/sldfix_11863
...
Fixes #11863 (invalid SLD with negative values)
2015-05-04 12:26:43 +02:00
Matthias Kuhn
72eb1aae97
Allow Qt5::Positioning as alternative to QtMobility/QtLocation
2015-05-04 08:53:20 +02:00
vmora
72cfe46f6a
[FEATURE] Add diagram nodes to legends ( fix #4255 )
2015-05-04 16:34:43 +10:00
Nyall Dawson
4a9a9361aa
Fix legend text not customisable for QgsSimpleLegendNode items
2015-05-04 16:34:30 +10:00
Juergen E. Fischer
edeafa95ac
indentation and minor sip updates
2015-05-03 17:10:32 +02:00
Nyall Dawson
96db1bdb7e
Allow expression functions to include 0 length parameter lists
...
This change allows for some cleanups to the built in expression
functions, by making it possible to differentiate variables
(eg $feature) from functions which don't require parameters
(eg uuid(), now()... ). Also adds aliases for uuid(), now(), and
pi().
2015-05-03 20:57:37 +10:00
Nyall Dawson
bd9e02be95
Add alias support for expression functions
...
Standardise naming of all internal functions to lowercase with
underscore convention. Add aliases for old names to avoid
breakage.
2015-05-03 20:57:36 +10:00
Nyall Dawson
bb648306b6
Implicit sharing for QgsFields
2015-05-03 20:57:36 +10:00
Nyall Dawson
31e8611230
Add quartiles and IQR to QgsStatisticalSummary calculations
2015-05-03 20:48:22 +10:00
Nyall Dawson
154468bd84
Add QgsStatisticalSummary class for calculating stats from a list
...
of values.
2015-05-02 23:19:39 +10:00
Nyall Dawson
bb0e583f4b
Move methods for returning lists of values from a vector layer field
...
or expression to QgsVectorLayer. Add unit tests.
2015-05-02 20:32:16 +10:00
Nyall Dawson
fadaf12490
Implement implicit sharing for QgsField
2015-05-02 19:12:44 +10:00
Matthias Kuhn
853e913ae3
Propagate keyRelease event from main app window
2015-05-01 10:24:38 +02:00
Nyall Dawson
7314047698
Fix missing doc strings due to invalid doxygen tags
2015-04-30 17:26:58 +10:00
Juergen E. Fischer
3e8c5cf1b3
fix windows build
2015-04-30 02:58:57 +02:00
Nyall Dawson
ac7cb41e23
Set autoraise on browser dock info button
2015-04-30 08:46:56 +10:00
Nyall Dawson
eb4d8c76b7
Fix docs for QgsProjectionSelectionWidget
2015-04-30 07:05:56 +10:00
Nyall Dawson
721d9f5908
Formatting and code cleanups for QgsScaleExpression
2015-04-30 06:28:05 +10:00
vmora
70b91b6302
Add QgsScaleExpression subclass for sized based expressions
2015-04-30 06:27:59 +10:00
Matthias Kuhn
9b56618907
Fix startup crash when python is not available
2015-04-29 21:42:21 +02:00
Radim Blazek
4c2844e723
browser properties path/uri without spaces wrap
2015-04-29 21:14:01 +02:00
Radim Blazek
4645dd750d
[GRASS] tools window made dockable
2015-04-29 16:37:05 +02:00
Radim Blazek
0ed89fc098
[FEATURE][browser] optional properties widget
2015-04-29 12:15:35 +02:00
Denis Rouzaud
a1dd7e8f8f
add a new tool bar for user input
...
rotation map tool now uses it instead of message bar
the idea of the user input toolbar can change (fixes crash when closing user input in message bar)
2015-04-29 11:16:58 +02:00
Nyall Dawson
96576aa2d0
Fix typos
2015-04-29 10:37:33 +10:00
Matthias Kuhn
c2fb5e19e2
Revert "Streamline singleton behavior"
...
This reverts commit b4a85471978b59b129c0299dfd14c1af00fef743.
The template based approach was not cross-platform friendly. When
cross-compiling for Android it caused a new instance of every singleton per
shared library.
Mostly using the magic statics pattern instead now:
See http://stackoverflow.com/a/11711991/2319028
Important things to remember for crash on exit:
* QgsNetworkAccessManager needs to die before QApplication
* QgsMapLayerRegistry needs to be emptied before QgsProviderRegistry goes away
And finally:
DON'T USE SINGLETONS!
They are for "one and only one" and not for "happens to be only one" situations.
2015-04-28 17:41:39 +02:00
Denis Rouzaud
96560c89b9
allow numerical input in rotation map tool
...
* use a combo box to set the angle
* allow snapping to angles (directly enabled when shift + click)
* uses click-click behavior
* rotation anchor is defined on CTRL+click and not on mouse move (TODO: snapping for anchor placement)
2015-04-28 15:04:40 +02:00
Matthias Kuhn
15c1dbc438
Merge pull request #2014 from elpaso/hidpi-improvements
...
Hidpi improvements
2015-04-28 10:43:23 +02:00
Richard Duivenvoorde
51c5931bae
Raise an error when an unary operator is used in combi with a non literal operand
...
See https://github.com/qgis/QGIS/pull/1975 for discussion
2015-04-28 10:31:23 +02:00
elpaso
3c22aff0b0
Fix usability issue in attributetable
...
The height of rows is too small to see its
contents on hidpi screens
2015-04-28 10:19:55 +02:00
elpaso
d1fa2448b9
Fix usability issue in statusbar
...
The height of scale and coordinates is too small to see its
contents on hidpi screens
2015-04-28 09:42:25 +02:00
Matthias Kuhn
288b242aa9
Merge pull request #1966 from olivierdalang/show_selected_features_ALL_IF_NO_SEL
...
Filter the attribute table only by selection if there is one
Fix #7541
2015-04-28 08:28:31 +02:00