25131 Commits

Author SHA1 Message Date
Denis Rouzaud
cd59091b9c use layer's displayExpression in relation reference widget line edit 2014-10-15 14:33:46 +02:00
Denis Rouzaud
69fc9bbb87 use default button action instead of adding a new one (relation reference and editor widgets) 2014-10-15 14:21:42 +02:00
Nyall Dawson
4ea5c80948 [composer] Avoid crash when using redo on multiframe (fix #11351)
Since multiframe changes can remove and create new frame items,
it's not safe to directly manipulate frame items in
QgsComposerItemCommand. Now, commands which apply to a frame always
fetch a reference to the correct frame item directly from the
parent multiframe. Also added unit tests for this crash.
2014-10-15 20:17:10 +11:00
Sandro Santilli
1ff2ad3cc3 [TopoViewer] fix layer visibility after QgsLegendInterface API changes
It was broken with 2.4, whereas QgsLegendInterface::moveLayer started
forcing layer visibility on (undocumented behaviour).

Fixes #11382
2014-10-14 23:43:40 +02:00
Werner Macho
cc3579e2a2 [TRANSUP] transifex update
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-10-14 14:25:24 +02:00
Juergen E. Fischer
2cef8d50f2 remove get from QgsProviderRegistry::getProviderCapabilities() (followup 2e943c93) 2014-10-14 13:30:33 +02:00
Jürgen Fischer
e0df5d4dd9 Merge pull request #1621 from manisandro/bad_layer_improvements
Bad layer dialog improvements
2014-10-14 13:25:22 +02:00
Werner Macho
89b0d7ae92 Merge pull request #1484 from serialc/master
CSV acronym added for consistency with other file type names
2014-10-14 13:08:19 +02:00
Nyall Dawson
1cb22c084d [composer] Seperate draw empty rows option from empty table behaviour
Now "draw empty rows" is a seperate checkbox (fix #11392)
2014-10-14 21:25:12 +11:00
Matthias Kuhn
5ec1b75f9a Edit widget properties dialog: Improve window title
Includes the field name and layer name in the window title.
2014-10-14 12:06:32 +02:00
Nyall Dawson
f284f6e115 [composer] Fix incorrect calculation of frame thickness for labels
Previously entire frame width was considered when calculating
the margin for the label item. Only half the frame width should be
used, since half is drawn outside the item rect.
2014-10-14 20:07:35 +11:00
Juergen E. Fischer
b94b44af8f use qIsNaN instead of isnan (fixes windows build) 2014-10-14 10:19:46 +02:00
Matthias Kuhn
65ac4fe109 Field calculator: Move virtual field to the top.
Followup 0c4a501
2014-10-14 09:52:56 +02:00
Matthias Kuhn
0c4a501551 Address some GUI issues on the field calculator
* Info labels for edit mode turn on was not shown
 * Ok button was active when opening the field calculator even with no input (Fix #11403)
2014-10-14 09:08:36 +02:00
Nyall Dawson
9f063df86c [composer] Fix possible crash in scale bar update (refs #11394) 2014-10-13 22:53:57 +11:00
Nyall Dawson
08d80160ea Fix calculation of random colors following 4d72d72 2014-10-13 22:50:53 +11:00
Nathan Woodrow
083ebfe326 Merge pull request #1627 from slarosa/categorized_style_crash
Fix crash when choosing a null field for categorized style
2014-10-13 21:15:31 +10:00
Juergen E. Fischer
4d72d721e8 dxf export: use half width texts and support transparent colors 2014-10-13 11:41:48 +02:00
Matthias Kuhn
f3cf09f4ec Fix selection after focus-in by mouse in QgsFilterLineEdit
After focusing a QgsFilterLineEdit with the mouse, the end of the selection was
"attached" to the end of the content.
This was caused by overwriting Qt's mousePressEvent, that is responsible for
handling the selection without handing back the responsibility after the focus
in event was finished.

Fix #11373
2014-10-13 10:31:22 +02:00
Matthias Kuhn
68de043ecb Virtual fields definition moved to field calculator
This place is more appropriate than the add attributes dialog.
See also http://osgeo-org.1560.x6.nabble.com/Virtual-Fields-Allow-adding-fields-out-of-edit-mode-td5166223.html for a related discussion.

Fix #11342
2014-10-13 09:49:09 +02:00
Nathan Woodrow
1770ec1a6b Merge pull request #1618 from ccrook/GraduatedRendererBugFix11366
Fix #11366 Customised graduated renderer labels ignored
2014-10-13 08:14:43 +10:00
Salvatore Larosa
3d2747c607 Fix crash when choosing a null field for categorized style 2014-10-12 23:32:55 +02:00
Werner Macho
62ad5ae12b [TRANSUP] transifex update
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-10-12 23:12:03 +02:00
Nyall Dawson
f30452dcd2 Merge pull request #1623 from manisandro/initially_unsorted_attributes
Show attributes dialog with initially unsorted attributes
2014-10-13 06:27:03 +11:00
Nyall Dawson
25333c5349 Merge pull request #1622 from manisandro/spatialite_dialog_border
Fix scrollarea border style and tab order in new spatialite layer dialog
2014-10-13 05:59:45 +11:00
volaya
d1f84fd11a [processing] fixed wrong import in parameters classç
Fixes #11393
2014-10-12 19:11:31 +02:00
Sandro Mani
e0e6204e54 Fix scrollarea border style and tab order in new spatialite layer dialog (Funded by Sourcepole) 2014-10-12 18:39:40 +02:00
Nyall Dawson
57a783e530 Fix a potential crash when closing projects with html composer items 2014-10-12 21:22:46 +11:00
Nyall Dawson
e30976177a Add some padding to identify panel to match browse and layers panel 2014-10-12 20:48:23 +11:00
Salvatore Larosa
659cada5b6 [processing] Fixes #11388 - save vector file dialog does not show file ext 2014-10-11 21:36:51 +02:00
Nathan Woodrow
7813f6b094 Escape backslash for mime data. Fix MS SQL drag and drop 2014-10-11 21:14:46 +10:00
Nathan Woodrow
67c9a72b48 Fix crash with SQL Server driver 2014-10-11 20:12:20 +10:00
Jürgen Fischer
c9cfdfaef4 Merge pull request #1617 from ahuarte47/Issue_9777_missing-labels
Fix #11368: Simplification of a dataset leaves some polygons unlabelled
2014-10-11 09:20:05 +02:00
Jürgen Fischer
3d8a0345f9 Merge pull request #1625 from giohappy/master
Fixes error in Multipoints with Z rendering
2014-10-11 09:09:59 +02:00
giohappy
94b2e7cea0 Fixes error in Multipoints with Z rendering 2014-10-10 22:52:11 +02:00
Jürgen Fischer
34ccc8173e Merge pull request #1615 from ccrook/PostgresSaveStyleFix
Fix #11329 Graduated renderer style not saved in postgres
2014-10-10 15:51:48 +02:00
Werner Macho
738e0bedd5 [TRANSUP] some update for processing and transifex
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-10-09 20:35:52 +02:00
Sandro Mani
0ed701e9f4 Show attributes dialog with initially unsorted attributes (Funded by Sourcepole) 2014-10-09 17:36:26 +02:00
Sandro Mani
2e943c936c Bad layer dialog improvements (Funded by Sourcepole) 2014-10-09 16:49:31 +02:00
Alexander Bruy
55181c634a [processing] fix handling of boolean parameters in modeller 2014-10-09 17:35:54 +03:00
Alexander Bruy
d8c38b5c8d [processing] more fixes for i18n support 2014-10-09 17:35:53 +03:00
Denis Rouzaud
0840a9d7ee more names for the map tools 2014-10-09 15:54:12 +02:00
Nyall Dawson
2d49b59cc1 [composer] Fix calculation of height of HTML content (fix #11353) 2014-10-09 23:28:35 +11:00
Nyall Dawson
ac71e600a2 Cancel running requests when loading content in QgsNetworkContentFetcher (fix #11332) 2014-10-09 22:56:54 +11:00
Nyall Dawson
7a92293e0c Followup cc94578 2014-10-09 21:46:14 +11:00
rldhont
a3094cb5b5 [Composer] Fix ComposerMapWidget's label is not explicit
The user can only know the ComposerMap's label with it's tooltip. This commit
 proposes to update the ComposerMapWidget'label to be more explicit and to be
 the same as the ComposerMap's tooltip.
2014-10-09 21:46:14 +11:00
rldhont
10ffcebfd9 [Composer] Fix The ComposerMap's tooltip is not updated after readXML
The ComposerMap's tooltip is only set in the private init method. This method is only used in the ComposerMap constructor. The result is that the tooltip is not updated after reading the id from the XML.

The solution could be to add a private method updateToolTip used when the id is changed :
* constructor
* assignFreeId
* readXML
2014-10-09 21:46:14 +11:00
alexbruy
0a4dae2099 Merge pull request #1619 from anitagraser/patch-4
[processing] fixed value used before assignment error
2014-10-09 12:36:41 +03:00
Anita Graser
4a639ad984 fixed value used before assignment error 2014-10-09 11:16:47 +02:00
Nyall Dawson
174c2f3fdf Use QgsColorButtonV2 for editor widgets 2014-10-09 20:16:23 +11:00