24212 Commits

Author SHA1 Message Date
Nyall Dawson
856341d484 [composer] Prevent data defined size of scalebar from being less than calculated minimum size 2014-08-11 22:52:58 +10:00
Nyall Dawson
ad799c8161 [composer] Tweak logic for data defined map extents 2014-08-11 21:42:07 +10:00
Nyall Dawson
bfff4bd6b2 [FEATURE] New version of color button (QgsColorButtonV2) based off
QToolButton. Features:
- context menu items have been moved to the attached menu button
- new gui widget QgsColorSwatchGrid, which displays a grid of colors
- new class for QgsColorScheme, which generates colors to show in a
  color swatch grid
- new class QgsColorSchemeRegistry, with a global instance containing
  default color schemes. QgsColorButtonV2 accepts a color scheme
  registry, to control which schemes to show in the popup menu as
  color swatch grids.
- color button can have a default color
- color button can also be quickly set to a totally transparent color
- c++ and python unit tests for all core components
2014-08-11 20:37:52 +10:00
Nathan Woodrow
c3bd82aa7b Merge pull request #1481 from giohappy/alias_remove_when_empty
Remove alias from vector layer if it's an empty string.  Fix #10437
2014-08-11 09:03:22 +10:00
Werner Macho
fe4e552e96 [TRANSUP] update sv, some context help fixes
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-08-08 22:52:40 +02:00
Werner Macho
d027666192 typo fix in string
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-08-08 21:58:43 +02:00
Werner Macho
c2bb6001a7 [TRANSUP] common string update
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-08-08 21:32:06 +02:00
Juergen E. Fischer
9c462664fd server: fix absolute path conversion on windows 2014-08-08 17:08:20 +02:00
Juergen E. Fischer
52c797fd14 raster layer properties: add data url label 2014-08-08 16:21:20 +02:00
Matthias Kuhn
80ec23f69d Don't set field value to NULL if multiline text edit has not been edited 2014-08-07 09:25:13 +02:00
Matthias Kuhn
625294371d Let user change form layout in fields properties if .ui is not empty 2014-08-07 09:25:13 +02:00
Jürgen Fischer
cfe6270098 Merge pull request #1458 from rouault/ogr_unknown25d
OGR provider: deal with wkbUnknown25D (wkbUnknown | wkb25DBit)
2014-08-06 16:37:54 +02:00
Jürgen Fischer
2c12a0dfb2 Merge pull request #1527 from jarl-dk/build_fix
Finding python library on Ubuntu 14.04 64bit
2014-08-06 16:36:17 +02:00
Alexander Bruy
24e89a4712 [processing] don't warn about different CRS's if algorithm has only one
input (fix #10964)
2014-08-06 15:57:16 +03:00
Alexander Bruy
03d6425038 follow up 4fb28987ba 2014-08-06 14:59:35 +03:00
Jarl Friis
04bb461746 Finding python library on Ubuntu 14.04 64bit 2014-08-06 13:36:45 +02:00
Alexander Bruy
4fb28987ba [processing] convert strings to numbers when initializing parameters
from description file (fix #11011)
2014-08-06 14:26:27 +03:00
Nyall Dawson
fec27111ee [FEATURE][composer] Allow more control over appearance of composer arrows:
- Line can be styled using line symbol style dialog
- Arrow head fill and outline colors can be specified
- Arrow head outline width can be specified
2014-08-06 20:24:41 +10:00
Juergen E. Fischer
34594136c6 fix zooming to layers when there are empty layers 2014-08-06 00:27:24 +02:00
Denis Rouzaud
9a98ed1b97 respect restrictions when calling identify with layer selection mode 2014-08-05 07:36:43 +02:00
Matthias Kuhn
f63a01cc7c Fix memory leak and pass ownership of py editor widgets to C++ 2014-08-03 18:49:02 +02:00
Matthias Kuhn
44bed005f1 Attribute table cache size 0 is represented as "All" in the options 2014-08-03 15:33:04 +02:00
Matthias Kuhn
bcdd394211 Merge pull request #1524 from SrNetoChan/master
Fixed Legacy date widget default format
Fix #10988
2014-08-03 12:36:43 +02:00
Juergen E. Fischer
1b94afe8a5 debian packaging update 2014-08-01 15:31:09 +02:00
Alexander Bruy
16e82f0080 [processing] fix loading of output rasters with wrong CRS 2014-08-01 08:29:56 +03:00
Alexander Bruy
2d835fbae0 [processing] replace str() with unicode() to avoid possible issues with
non-ASCII characters (work in progress)
2014-08-01 08:29:55 +03:00
Nyall Dawson
3480ef2e47 [composer] Some tweaks to label display name, add display name for legends 2014-07-31 19:31:57 +10:00
Nyall Dawson
a309a6c051 [composer] Don't deselect items when unlocking them from the items panel 2014-07-31 19:18:53 +10:00
SrNetoChan
ed52cb25fc Fixed Legacy date widget default format 2014-07-30 17:57:02 +01:00
Denis Rouzaud
aa40d61a8c fix editing of NULL values (fixes 0 to NULL, and fixes setting of NULL values in postgres) 2014-07-30 15:38:08 +02:00
Nyall Dawson
4995305adc [composer] Decrease default snap tolerance to 5 pixels 2014-07-30 21:27:38 +10:00
Nyall Dawson
d8087cd26b [composer] Deselect items when they are locked from the items panel 2014-07-30 21:19:41 +10:00
Nyall Dawson
0aeb357798 [composer] Locked items can't be selected by clicking them in the canvas. 2014-07-30 21:04:42 +10:00
Nyall Dawson
7b347c70eb [composer] Remove right-click to lock for composer items (fix #5592), now that locked items can be unlocked from the items panel this is no longer required, and frees up right clicks for a composer context menu 2014-07-30 20:21:25 +10:00
Matthias Kuhn
3e53c39261 Don't double add features
Fix #10969
2014-07-30 12:14:52 +02:00
Nyall Dawson
4506b81537 [FEATURE][composer] Implement an item tree panel for composer windows
(fix #4358). Allows for selection of items, hiding/showing items,
toggling lock status of items and double-clicking to edit item id.
2014-07-30 20:01:05 +10:00
Denis Rouzaud
b357a66652 do not transform toString to quote values (NULL integer becomes 0 otherwise) 2014-07-30 11:51:07 +02:00
Marco Hugentobler
0241d4faf3 Apply pull request #1502 provided by bstroebl: Add ntv2 entry for Thuringia 2014-07-30 11:36:05 +02:00
Nyall Dawson
87e775a1e7 [composer] More improvements to item dispayName methods 2014-07-29 21:37:25 +10:00
Nyall Dawson
950c9b89f1 Follow up 3f0d0944 2014-07-29 20:48:40 +10:00
Nyall Dawson
3f0d0944e2 [composer] Support merged undo/redo commands for multiframe items 2014-07-29 20:25:49 +10:00
pcav
bdd67836a2 Make table sortable. Fixes #10962 2014-07-28 15:41:47 +02:00
Nyall Dawson
200a3431e9 [composer] Add api method for toggling visibility of composer items 2014-07-28 20:22:23 +10:00
Matthias Kuhn
53e1aba839 Fix some warnings 2014-07-28 11:49:47 +02:00
Matthias Kuhn
37370942c6 Request geometry when virtual field requires 2014-07-28 11:49:47 +02:00
Nyall Dawson
3f076f0d30 [composer] Add function for getting a friendly display name for items 2014-07-28 19:46:12 +10:00
Matthias Kuhn
38d458ce5c Fix crash with maximumValue/minimumValue for virtual fields 2014-07-28 11:30:51 +02:00
Matthias Kuhn
e5a8749402 Initialize expression field buffer to NULL
Prevents crash, see
https://github.com/qgis/QGIS/pull/1494#issuecomment-50303556
2014-07-28 10:56:12 +02:00
Nyall Dawson
d0e9d8d126 [FEATURE][composer] Allow specifying user stylesheets to apply to a HTML item's content 2014-07-27 22:18:45 +10:00
Nyall Dawson
b3de1dd424 Disable color picker under OSX, due to limitations with QWidget::grabMouse on that platform 2014-07-27 20:46:01 +10:00