24534 Commits

Author SHA1 Message Date
Martin Dobias
e46aa62d07 Added @leyan to contributors 2014-09-13 18:07:08 +07:00
Martin Dobias
c3db6d0988 Merge pull request #1556 from leyan/convertToRuleBasedSymbology
[FEATURE] Keep renderer settings when changing renderer type (where it is possible)
2014-09-13 17:58:45 +07:00
Marco Hugentobler
2313be9041 Fix check of allowed wfst capabilities in project. Funded by Sourcepole QGIS Enterprise 2014-09-13 11:57:29 +02:00
Juergen E. Fischer
17669b5861 fix and sync QgsAttributeEditorContext sip bindings 2014-09-13 10:55:36 +02:00
Martin Dobias
9945a6d145 [FEATURE] Joins: optionally use just a subset of fields from the joined layer 2014-09-13 14:27:52 +07:00
Martin Dobias
ffcd07b066 Joins: optionally use just a subset of fields from joined layer 2014-09-13 14:27:52 +07:00
Martin Dobias
02a9bc8928 Support for setSubsetString() in memory provider 2014-09-13 14:27:52 +07:00
Nyall Dawson
b44ef92b02 Default names for colors when adding to schemes 2014-09-13 08:41:11 +10:00
Nathan Woodrow
5b3e0144e8 Restore canvas colour for overview window 2014-09-12 22:14:25 +10:00
Nathan Woodrow
380baa2f0c Simplify python console init text 2014-09-12 21:24:17 +10:00
Matthias Kuhn
3903f3694b Use wait cursor when loading forms 2014-09-12 10:51:28 +02:00
Matthias Kuhn
b1a2bef1fc [relation widgets] General update
* Improve speed (lazy loading)
 * Loop detection for circular dependencies (Fix #10850)
 * Some memory leaks fixed
 * More const-correctness
 * Fix the attribute editor context
2014-09-12 09:30:39 +02:00
Denis Rouzaud
016e1d728f [relation reference widget] minimize feature request, do not fill combobox if not shown, button to remove related feature 2014-09-12 09:30:39 +02:00
Matthias Kuhn
b16ac4870c Update to strings in add postgis layer dialog 2014-09-12 09:30:10 +02:00
Martin Dobias
1a7dfa1a6b [FEATURE] display rule-based renderer legend in a pseudo-tree (in layer tree model/view) 2014-09-12 11:40:15 +07:00
Juergen E. Fischer
95f355089d debian packaging update 2014-09-12 00:25:28 +02:00
Martin Dobias
fba5c5a656 Move triggerRepaint() to QgsMapLayer, use it instead of deprecated clearCacheImage() 2014-09-11 23:52:21 +07:00
Martin Dobias
ed11c57a69 Make sure to refresh canvas when layer's CRS is changed 2014-09-11 23:25:09 +07:00
Nathan Woodrow
302c604bbf Fix toolbar order with add and new buttons 2014-09-11 23:46:26 +10:00
Nathan Woodrow
f7808f1efd Reduce margins on bookmarks dialog 2014-09-11 23:46:25 +10:00
Denis Rouzaud
bb54f67c2a fix signal in QgsDateTimeEdit 2014-09-11 15:44:32 +02:00
Nyall Dawson
e9d7b520db Support dragging colors from QgsColorPreviewWidget 2014-09-11 21:56:48 +10:00
Nyall Dawson
c4c58ab342 Accept dropped colors on color widgets 2014-09-11 21:11:04 +10:00
Nyall Dawson
6e3c363ecd Non editable color schemes should not be editable in QgsColorSchemeList 2014-09-11 20:13:52 +10:00
Nyall Dawson
c159c57000 Retain alpha if entering colors with no explicit alpha into
QgsColorTextWidget
2014-09-11 20:12:02 +10:00
Denis Rouzaud
c3bf02b42a [SIP] add missing activated/deactivated signals for map tools 2014-09-11 10:41:02 +02:00
Nathan Woodrow
9423f5e360 Set auto raise for attribute table buttons to match reset of UI 2014-09-11 11:42:32 +10:00
Jürgen Fischer
6151459518 Merge pull request #1577 from RossGammon/master
Description: Fix qreal VS double issues.
2014-09-10 23:22:41 +02:00
Juergen E. Fischer
890f921e06 fix #11110 2014-09-10 22:27:48 +02:00
Juergen E. Fischer
297996fd4d fix spanish translation error 2014-09-10 20:32:38 +02:00
Nathan Woodrow
34f147b261 Move remove layer/group to legend dock. Remove from toolbar 2014-09-10 23:23:59 +10:00
Nathan Woodrow
17767ba973 Resize snapping column widths. Reduce dialog margins 2014-09-10 22:30:10 +10:00
Nyall Dawson
e7f3c823a5 Support #RRGGBBAA style color codes in QgsSymbolLayerV2Utils color parsing 2014-09-10 20:58:56 +10:00
Leyan
ced5ae4324 update 2014-09-10 18:15:47 +08:00
Martin Dobias
ad8093e182 Do not use partially checked state of legend nodes when layer is not visible
This is slightly confusing, moreover in some styles the items are not immediately
updated, producing a weird effect when hovering mouse over legend nodes.
http://www.youtube.com/watch?v=HNDE1Xp5UZA&feature=youtu.be
2014-09-10 13:04:06 +07:00
Martin Dobias
e96ff4aac8 Fix #11169 (toggling symbol visibility does not trigger refresh)
This could have happened when the same project was reloaded, then map canvas
failed to clear itself and some connections to repaintRequested were broken
2014-09-10 12:55:34 +07:00
Martin Dobias
edd64c4912 Make rule-based renderer rule keys persistent
So they can be used for visibility groups - before they got assigned new keys
on every instantiation of Rule
2014-09-10 12:53:59 +07:00
Martin Dobias
95f4a30e7b Fix #11143 take 3 (cannot remove visibility groups)
Now we also handle rules that are not valid anymore
2014-09-10 12:05:35 +07:00
Martin Dobias
4ef67ca449 Fix emitting of currentLayerChanged() signal
Use layer ID instead of persistent index to remember last layer.
Persistent index will get invalid during removal of layers and
the signal was not emitted when current index got invalid (none).

This was causing a crash in GPS information widget
2014-09-10 11:28:39 +07:00
Juergen E. Fischer
7fe45db70c mssql provider: fix filter type interpretation (fixes #11076) 2014-09-09 20:44:05 +02:00
Martin Dobias
071a5ec0c5 Fix #10912 (joined attributes are not correctly propagated in nested joins)
This commit makes QgsVectorLayerJoinBuffer listen to changes in fields
of joined vector layers in order to update the cache and inform parent layer
2014-09-09 20:17:51 +07:00
Juergen E. Fischer
1df01c0a26 german translation update 2014-09-09 15:11:36 +02:00
Leyan
9931dde90a refactor to a more general convertFromRenderer function 2014-09-09 19:55:21 +08:00
Jürgen Fischer
47613da521 Merge pull request #1578 from alexbruy/layer-submenu
move all "Add Layer" actions to submenu
2014-09-09 13:47:46 +02:00
Leyan
11d159cd85 Add factory annotation and use clone for rule based renderer 2014-09-09 19:47:28 +08:00
Leyan
4c51956b89 use previous renderer if possible, instead of last applied renderer 2014-09-09 19:47:28 +08:00
Leyan
45dfd53b4a add sip 2014-09-09 19:47:28 +08:00
Leyan
85172491f3 creation of a convertToRuleBasedRenderer() function 2014-09-09 19:46:55 +08:00
Nyall Dawson
b9fc2b51d9 Add a bunch of useful interactive color widgets to GUI, including
color wheels, ramps, boxes, and text edits.
2014-09-09 21:31:43 +10:00
Martin Dobias
c04127eccd Fix #11143 (cannot remove visibility group) take two 2014-09-08 18:58:02 +07:00