33150 Commits

Author SHA1 Message Date
Matthias Kuhn
d285134109 Show field names in attribute table sorting expression builder 2016-06-02 08:51:03 +02:00
Matthias Kuhn
1df5664d84 Cache default value in editorwidget
Makes sure that repeated calls return the same value for a given editor widget.
This avoids unstable behavior and unrequired updates of serial numbers.
2016-06-02 08:51:03 +02:00
Piers Titus van der Torren
97c4bd7f07 Reduce color map display decimals to max 15
Using 16 decimals gives rounding issues, (e.g. 64.4 displayed as 64.40000000000001)
2016-06-02 16:14:43 +10:00
Piers Titus van der Torren
8f667bbdca [raster] Fix pseudocolor clip option (setting was lost in the pipeline)
Also disable checkbox for exact and discrete mode, as it isn't used there.
2016-06-02 16:14:27 +10:00
Piers Titus van der Torren
4fed5667b2 forgot cast to double on divide 2016-06-02 16:13:22 +10:00
Piers Titus van der Torren
791498753d forgot unit 2016-06-02 16:13:07 +10:00
Piers Titus van der Torren
02e7d7a252 limit number of classes to minimum 2 and remove special cases for < 2 2016-06-02 16:12:53 +10:00
Piers Titus van der Torren
cf72b5975c fix handling discrete colormaps in continuous mode 2016-06-02 16:09:51 +10:00
Piers Titus van der Torren
589364746a fix colors for continuous classification with non equally spaced stops 2016-06-02 16:09:35 +10:00
Nyall Dawson
912f06da34 Color map label on different line 2016-06-02 16:09:05 +10:00
Piers Titus van der Torren
624b06bcc3 Different color map classification handling in discrete mode 2016-06-02 16:07:35 +10:00
Piers Titus van der Torren
c84dc8d715 implement comments from nyalldawson 2016-06-02 16:06:42 +10:00
Piers Titus van der Torren
2556c7ce94 documentation and sip coverage 2016-06-02 15:54:39 +10:00
Piers Titus van der Torren
f27507d282 code style fix (astyle) 2016-06-02 15:54:01 +10:00
Piers Titus van der Torren
47676d4bc5 Add Quantile based color map creation mode 2016-06-02 15:53:44 +10:00
Piers Titus van der Torren
61a4c48b82 calculate reasonable number of decimals on classify 2016-06-02 15:15:37 +10:00
Piers Titus van der Torren
47e178aae2 code style fixes 2016-06-02 15:15:11 +10:00
Piers Titus van der Torren
c032d16929 Add option for adding units to color map labels 2016-06-02 15:11:42 +10:00
Piers Titus van der Torren
3bd77c72cc Remove color map sort button, as it is now always automatically sorted 2016-06-02 15:06:02 +10:00
Piers Titus van der Torren
8898d6c6fb more consistent flags on TreeWidgetItems 2016-06-02 15:04:44 +10:00
Piers Titus van der Torren
e5ab7ca2e0 use QgsTreeWidgetItem also for sorting color map items
quicker and less code, so enable automatic sorting after every edit
2016-06-02 15:01:02 +10:00
Piers Titus van der Torren
6c46b09c75 fix too numerous itemChanged events using QTreeWidgetItem subclass 2016-06-02 14:55:41 +10:00
Piers Titus van der Torren
af1af4c8a9 automatically change color map labels when editing value
not optimal since autolabel function gets called way too often.
2016-06-02 14:51:09 +10:00
Piers Titus van der Torren
250748b26e change color map labels to more compact format 2016-06-02 14:44:39 +10:00
Nyall Dawson
103ab0db97 Small cleanups 2016-06-02 14:16:36 +10:00
Marco Bernasocchi
7ca1541709 [FEATURE] persist Maptip visibility across sessions
This feature allows to store if a user had
activated Maptips and turn it on in a following
QGIS session.
Maptips are non intrusive, so this shouldn't be
disturbing.
2016-06-02 14:16:28 +10:00
Nyall Dawson
9bb2fd1d81 Merge pull request #3155 from ahuarte47/Rendering_DrawingMarkersFaster2
[Improvement] Draw markers faster (2)
2016-06-02 13:30:32 +10:00
Nyall Dawson
29170d918b Fix possible overflow 2016-06-02 13:18:56 +10:00
Nyall Dawson
7af33661eb Fix leak in test 2016-06-02 13:18:56 +10:00
Nyall Dawson
c672ce2a05 Fix coverity dereference warning 2016-06-02 13:18:56 +10:00
Nyall Dawson
0ed7f3c412 Remove unused variables 2016-06-02 13:18:56 +10:00
Nyall Dawson
872bdd6284 Remove some clutter in attribute table dialog by moving the
"organize fields" and "sort" actions from toolbar buttons
into a right-click menu on the column headings
2016-06-02 13:18:55 +10:00
Nyall Dawson
6c6a177756 Cosmetic fixups to organize table columns dialog 2016-06-02 13:18:55 +10:00
Nyall Dawson
4f4c0ff7cb Merge pull request #3157 from manisandro/geomchecker_fixes
Geomchecker fixes
2016-06-02 13:07:39 +10:00
Nyall Dawson
0c735420fc Copy displayed value rather than original value
(Respects value relation configuration and other widget settings
which modify the displayed value)
2016-06-02 11:17:56 +10:00
Nyall Dawson
3da460e443 Handle sorted or reordered columns when copying cell contents 2016-06-02 11:17:55 +10:00
Blottiere Paul
3da3cf18b5 [FEATURE] add copy cell content action in attributetable context menu 2016-06-02 11:17:50 +10:00
Nyall Dawson
e0c87ffe6b [FEATURE] Move QgsShortcutsManager, QgsConfigureShortcutsDialog to gui
This allows plugins to reuse the shortcuts manager if they
want to add the ability for users to customise their shortcut
key sequences.

The shortcut manager has been extended to also handle customisation
of QShortcut objects as well as QActions.
2016-06-02 10:25:16 +10:00
Nyall Dawson
3a005cda36 Indentation 2016-06-02 08:50:27 +10:00
Nyall Dawson
9fb1d4fc51 Fix warning 2016-06-02 08:50:23 +10:00
Even Rouault
fb49f700f2 [OGR provider] Fix deleteAttributes() when mFirstFieldIsFid 2016-06-01 23:31:06 +02:00
Juergen E. Fischer
65c3b96994 [FEATURE] oracle provider: add support to save styles in database 2016-06-01 23:22:17 +02:00
Juergen E. Fischer
9efbf28d71 spelling fixes 2016-06-01 23:22:15 +02:00
Juergen E. Fischer
b2602fcd5d fix recommends (followup 8c14165) 2016-06-01 22:49:45 +02:00
Martin Dobias
996e2e1997 Merge pull request #3120 from manisandro/rendering_crash
Guard against possible crash by using destroyed QgsMapRendererCustomPainterJob
2016-06-01 20:37:01 +02:00
Martin Dobias
ea2395dd92 Integration of embedded widgets into layer tree + config GUI 2016-06-01 20:03:53 +02:00
Even Rouault
73ab289e1b Fix Coverity warnings in testqgsogcutils.cpp and testqgsgdalprovider.cpp 2016-06-01 19:20:15 +02:00
Matthias Kuhn
2b1560c5be Merge pull request #3079 from pblottiere/constraints
[FEATURE] widgets constraints
2016-06-01 17:33:25 +02:00
volaya
61e26fd8f3 [processing] fixes for issues with 3rd party providers being loaded and unloaded 2016-06-01 15:21:03 +02:00
Nathan Woodrow
b0a9a84cee [hillshade] increase z factor places 2016-06-01 22:45:53 +10:00