3657 Commits

Author SHA1 Message Date
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
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
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
Matthias Kuhn
f63a01cc7c Fix memory leak and pass ownership of py editor widgets to C++ 2014-08-03 18:49:02 +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
0aeb357798 [composer] Locked items can't be selected by clicking them in the canvas. 2014-07-30 21:04:42 +10: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
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
200a3431e9 [composer] Add api method for toggling visibility of composer items 2014-07-28 20:22:23 +10:00
Nyall Dawson
3f076f0d30 [composer] Add function for getting a friendly display name for items 2014-07-28 19:46:12 +10: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
Denis Rouzaud
a9289b6a90 can re-center when scaling mapCanvas extent 2014-07-25 14:28:11 +02:00
Juergen E. Fischer
62e59c896f fix saving of edittype configuration and remove redundant storage of labelontop
and editable state.
2014-07-24 19:07:28 +02:00
Matthias Kuhn
1395367e58 [FEATURE] Expression field (Virtual field) 2014-07-24 08:57:21 +02:00
Juergen E. Fischer
3988ad0f63 make sip bindings to qscintilla derived classes optional (replaces 7e815cad & 8f0b8987) 2014-07-23 19:03:42 +02:00
Nyall Dawson
17d6da9adb [FEATURE][composer] Holding shift while drawing new lines constrains lines to horizontal/vertical/diagonals, while drawing rectangles constrains items to squares. Holding control switches to a draw-from-center mode. Sponsored by City of Uster, Switzerland. 2014-07-23 21:36:58 +10:00
volaya
2b0a53bdb7 [processing] fixed fileFilter for file outputs 2014-07-23 01:19:55 +02:00
volaya
dc968ce764 [processing] made xgrids parameter in raster calculator optional 2014-07-23 01:19:54 +02:00
volaya
ad2d9440e4 [processin] fixed extent checking in saga algorithm 2014-07-23 01:19:54 +02:00
volaya
8e60f49f9e [processing] fixed issues when loading parameters 2014-07-23 01:19:53 +02:00
volaya
f6bf4f19db [processing] improved SAGA multiple extents detection 2014-07-23 01:19:52 +02:00
volaya
f2701cb103 [processing] fixed SAGA description 2014-07-23 01:19:51 +02:00
volaya
fb142dff65 [processing] fixed some GRASS descriptions 2014-07-23 01:19:50 +02:00
alexbruy
2b5eaee96f Merge pull request #1510 from gioman/v_points
[processing] fix grass64 v.to.points
2014-07-22 18:58:38 +03:00
Rado Guzinski
38390bf725 [Processing] Add *.* file filter to batch processing input panel 2014-07-22 11:25:59 +02:00
Rado Guzinski
b115ea6ee1 [Processing] Comment debuging statements in OTB which clutter up Processing log 2014-07-22 11:24:11 +02:00
Rado Guzinski
f511bf95b7 [Processing] Hide some OTB params under Advanced button and improve handling of advanced parameters 2014-07-22 11:22:21 +02:00
Rado Guzinski
2f32e781fc [Processing] Add GRASS r.univar and update r.fillnulls 2014-07-22 11:12:32 +02:00
Rado Guzinski
f780f2a04b [Processing] Remove print statements which sometimes cause an exception 2014-07-22 11:06:45 +02:00
Juergen E. Fischer
8f0b89870f fix qscintilla sip include path (followup 7e815cad) 2014-07-22 07:39:31 +02:00
Nyall Dawson
3bcff891b5 Fix build errors 2014-07-22 09:21:30 +10:00
Nyall Dawson
68e03cbc87 [FEATURE][composer] Data defined url for composer html items. Sponsored by City of Uster, Switzerland. 2014-07-21 23:19:01 +10:00
Giovanni Manghi
e47763390f fix grass64 v.to.points 2014-07-21 13:54:36 +01:00
Juergen E. Fischer
7e815cad76 debian packaging update with workaround for debian #755491 2014-07-21 14:31:21 +02:00
Juergen E. Fischer
e74ff3ce0f indentation update 2014-07-21 14:25:38 +02:00
Nathan Woodrow
c88aab35f8 Fix build error with processing 2014-07-21 22:17:03 +10:00
Nathan Woodrow
ea7343e0de Comment sip files for code editor to fix build error on ubuntu 2014-07-21 21:56:05 +10:00
alexbruy
314316350d Merge pull request #1505 from volaya/master
[Processing] Refactoring of parameters and outputs
2014-07-21 14:44:40 +03:00
Nyall Dawson
460cee1bde [composer] Switch to using data defined button for picture source expression 2014-07-21 20:52:11 +10:00
Nathan Woodrow
a3447dd9a3 Add missing HTML editor sip files 2014-07-20 22:16:20 +10:00
Nathan Woodrow
44e543c834 Merge pull request #1507 from NathanW2/code_editor
Code editor using QScintilla.

Thanks to Salvatore Larosa for the initial work.
2014-07-20 15:44:18 +10:00
Nyall Dawson
66031f67c0 [composer] documentation improvements 2014-07-19 22:14:22 +10:00
Nyall Dawson
f76c257f89 [composer] More cleanups - move font utils from QgsComposerItem to QgsComposerUtils, add tests 2014-07-19 22:01:58 +10:00
Martin Dobias
57dcfca487 Legend refactoring: first steps towards legend customization
- map layers have associated QgsMapLayerLegend instance
- QgsMapLayerLegend is interface for generation of legend with some default implementations
- QgsLayerTreeModelLegendNode is interface for representation of legend item in layer tree model with some default implementations
2014-07-17 20:49:30 +02:00
Nyall Dawson
e696158257 [FEATURE][composer] Allow setting attribute table header and content font colors. Fix saving alpha channel for grid colors. 2014-07-17 21:22:56 +10:00
Nathan Woodrow
b2ff71868a Clean up code editor code and API. Add tr() and fix spelling.
Moved show/hide folding and margin methods to base class.
2014-07-16 22:51:27 +10:00