456 Commits

Author SHA1 Message Date
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
Alexander Bruy
62a2308aba move "Add Layer..." buttons to submenu 2014-09-06 16:31:21 +03:00
Denis Rouzaud
f97d5e319e [custom widgets] adds filter line edit 2014-09-02 15:15:16 +02:00
Denis Rouzaud
368755a51a fix sorting of map layer combo box and more const correctness 2014-09-02 08:10:32 +02:00
Denis Rouzaud
665866f1a6 more const correctness 2014-09-01 16:55:18 +02:00
Denis Rouzaud
5c5deec4a0 SIP file for new date time edit 2014-09-01 15:39:26 +02:00
Denis Rouzaud
5b1a516f2e more flag operators declaration in SIP, better use of flags in data defined button 2014-09-01 10:51:06 +02:00
Denis Rouzaud
8a65115100 [SIP] add missing operator for flags 2014-09-01 10:40:37 +02:00
Denis Rouzaud
252dc377a4 [map layer actions] action for group of features, rename availability to target (flags), only emit signal for defined target"
Conflicts:
	src/gui/qgsmaplayeractionregistry.cpp
	src/gui/qgsmaplayeractionregistry.h
2014-09-01 08:22:23 +02:00
Martin Dobias
6891aae19a Use QgsLayerTreeModel as a source of data for legend rendering instead of QgsLegendModel
This is work in progress, customization of legend is not working yet
2014-09-01 10:10:36 +07:00
Tim Sutton
88b13e8985 Merge pull request #1561 from DelazJ/ProjSelector
Activate the help button in select projection Dialog
2014-08-25 16:53:03 +02:00
DelazJ
7b04eb4f5d Referencing Help button function 2014-08-25 16:07:13 +02:00
Nyall Dawson
1f6dd8e5a7 Add an edit button for shapeburst and gradient color ramps 2014-08-25 20:31:12 +10:00
Juergen E. Fischer
a05c4c8030 make custom widget tooltips translatable 2014-08-20 10:02:35 +02:00
Denis Rouzaud
bc187ba953 identify shows a non-modal feature form 2014-08-19 09:08:57 +02:00
Denis Rouzaud
4588d9bd6c new map tool to select single feature 2014-08-19 08:34:02 +02:00
Matthias Kuhn
4ade943937 QgisInterface::getFeatureForm() returns a QgsAttributeDialog
And some API comments
2014-08-18 10:57:30 +02:00
Juergen E. Fischer
07165eae79 indentation update 2014-08-17 13:37:34 +02:00
Nyall Dawson
346b50ead9 Fix typo 2014-08-17 21:27:32 +10:00
Nyall Dawson
b15b014b82 Allow importing and exporting to GIMP palette file (gpl) from color list 2014-08-17 21:05:21 +10:00
Nyall Dawson
b45735529b Improvements to color list:
- Cleanup code
- Support copying and pasting multiple colors to list
- Support additional color list mime formats
2014-08-17 21:05:21 +10:00
Nyall Dawson
cd54d6a355 New GUI control for an editable list of colors from a color scheme.
Supports drag and drop reordering, drag and drop colors from external
apps (on supported OS).
2014-08-16 16:28:31 +10:00
Nyall Dawson
b3dbe74155 Hide color schemes from color button menu if they contain no colors 2014-08-14 17:57:22 +10:00
Denis Rouzaud
71d7445c83 use flag instead of enum 2014-08-14 08:33:25 +02:00
Juergen E. Fischer
a2a66eabfd doxygen fixes 2014-08-13 19:15:24 +02:00
Denis Rouzaud
b88723d069 availibilty definition for map layer actions 2014-08-13 14:32:21 +02: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
Matthias Kuhn
f63a01cc7c Fix memory leak and pass ownership of py editor widgets to C++ 2014-08-03 18:49:02 +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
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
Juergen E. Fischer
3988ad0f63 make sip bindings to qscintilla derived classes optional (replaces 7e815cad & 8f0b8987) 2014-07-23 19:03:42 +02:00
Juergen E. Fischer
7e815cad76 debian packaging update with workaround for debian #755491 2014-07-21 14:31:21 +02:00
Nathan Woodrow
ea7343e0de Comment sip files for code editor to fix build error on ubuntu 2014-07-21 21:56:05 +10:00
Nathan Woodrow
a3447dd9a3 Add missing HTML editor sip files 2014-07-20 22:16:20 +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
Nathan Woodrow
a284c4e0d1 Code editor 2014-07-12 22:27:52 +10:00
Nyall Dawson
33b5e8ce1b [FEATURE] Color picker option in color button context menu, which allows for sampling a color from anywhere on the screen. Supports holding the left mouse button to continuously sample. Pressing space also triggers a sample for Windows, where mouse clicks outside the QGIS window are unavoidably propagated onward. 2014-07-08 15:48:03 +10:00
Denis Rouzaud
c80bae57be setExpression returns void 2014-06-23 08:58:28 +02:00
Juergen E. Fischer
71c15f0639 show failure to create a new shapefile on message bar and point to message log (fixes #6709) 2014-06-21 21:53:16 +02:00
Nathan Woodrow
0defbeb049 Disable return to run field calc til 2.6. Disable button on invalid expression 2014-06-19 21:46:22 +10:00
Martin Dobias
1e94fd5dfd Do not show tooltips from message log viewer during QGIS startup.
Showing them leads to disturbing effects while loading the GUI
2014-06-17 20:28:56 +07:00
Martin Dobias
eb6a45c454 [layertree] Fix #10449 (auto-collapse layer if symbology has >= 10 items) 2014-06-17 14:57:32 +07:00
Martin Dobias
aa09c8cbe6 Fix #10392 (ellipsoid for measurement keep getting reset) 2014-06-16 15:02:26 +07:00
Juergen E. Fischer
03475be523 fix build error and update sips 2014-06-14 11:47:05 +02:00
Martin Dobias
559b810ef4 [layertree] Add sip/PyQt subclassing code for model and view 2014-06-13 18:19:15 +07:00
Martin Dobias
2e39e602a2 [layertree] respect bold font settings for layer/group 2014-06-13 18:04:08 +07:00
Juergen E. Fischer
a715ce6d88 datum transformation selection:
* respect the 'auto enable otf' setting
* don't ask if otf is off or for layers without geometry
* ask when otf was switched on
* show more information in selection dialog
2014-06-09 19:12:57 +02:00
Denis Rouzaud
f380df1cd7 FieldExpressionWidget: add tooltip if expression is larger than widget 2014-06-06 08:53:13 +02:00
Martin Dobias
cf4393e0e7 [layertree] Add Python bindings - part two (gui) 2014-06-03 19:27:28 +07:00