24619 Commits

Author SHA1 Message Date
Nyall Dawson
e9f4bbcb41 [composer] Fix update of gui controls when table and HTML properties
change (sponsored by City of Uster, Switzerland)
2014-09-17 22:57:49 +10:00
Nyall Dawson
2d24b322e9 [FEATURE][composer] Add option to table item to show headers on first
frame, all frames, or no frames (fix #11136) (Sponsored by City of
Uster, Switzerland)
2014-09-17 22:57:49 +10:00
Nyall Dawson
c833a93340 [composer] Implement min size method for frames. Minimum height for
first frame in tables is set so that headers are always shown.
(Sponsored by City of Uster, Switzerland)
2014-09-17 22:57:48 +10:00
Nyall Dawson
37dbbd55a8 [composer] Begin work on calculating rows for QgsComposerTableV2
(sponsored by City of Uster, Switzerland)
2014-09-17 22:57:48 +10:00
Nyall Dawson
d1e26f24e5 [composer] Option for fixed frame sizes set by multi frame (sponsored
by City of Uster, Switzerland)
2014-09-17 22:57:48 +10:00
Nyall Dawson
fefc243b71 [composer] Initial groundwork for multiframe table item (Sponsored
by City of Uster, Switzerland)
2014-09-17 22:57:48 +10:00
Nyall Dawson
39700e7d97 Option in color picker dialog to import a gpl palette to a new user scheme 2014-09-17 22:53:35 +10:00
Nathan Woodrow
0181df5553 Add timing for plugin loading 2014-09-18 09:38:52 +10:00
Nyall Dawson
66e6820ba1 Be a bit more forgiving when reading gpl files which don't exactly follow the specifications 2014-09-17 21:10:05 +10:00
Nyall Dawson
35e3eac73b Fix height of color icon on color buttons in windows 2014-09-17 21:10:05 +10:00
Nyall Dawson
a7a1bee5cc Add flags for controlling behaviour of color schemes 2014-09-17 21:10:05 +10:00
Nyall Dawson
dff326f407 Load gpl files from user folder to schemes 2014-09-17 21:10:05 +10:00
Matthias Kuhn
e6a259d180 Save edit widgets also to QML style information.
Fix #11123
Fix #10752
2014-09-17 12:51:50 +02:00
Nyall Dawson
307d4bd5a9 Follow up 21c81d6 2014-09-17 20:31:28 +10:00
Denis Rouzaud
2b2066abb7 [SIP] add QgsIdentifyMenu 2014-09-17 11:23:22 +02:00
Denis Rouzaud
c5d3be5717 [Identify Menu] do not show the layer level if there is a single layer identified 2014-09-17 10:48:57 +02:00
Denis Rouzaud
2188de608a fix QgsMapLayerAction SIP + do not copy features in identify menu (followup 21c81d6f512fa59f4bb4545c087a2bf5154008dd) 2014-09-17 10:09:05 +02:00
Denis Rouzaud
096d9417cb [QgsRelationReferenceWidget] correctly enable/disable set null button, do not disable line edit (already read only), make openForm and mapIdentification public, more documentation 2014-09-17 09:22:04 +02:00
Matthias Kuhn
21c81d6f51 Fix sip for QgsMapLayerActionRegistry 2014-09-17 09:18:53 +02:00
Matthias Kuhn
ab3ff17ff8 Pass attribute editor context for widgets on the attribute table
Fixes relation reference widget in attribute table
2014-09-16 18:04:46 +02:00
Denis Rouzaud
d05d83ed79 Fix widget registry (SIP), few fixes for relation reference widget 2014-09-16 15:39:55 +02:00
Nyall Dawson
dce206e374 [FEATURE] New custom QGIS color picker dialog. Basically
it's a Frankenstein's monster of the best bits of lots of other color
picker implementations. Features include:
- Sliders for hue, saturation, value, red, green, blue color components
- Alpha slider
- Option to copy/paste html color codes (in a variety of formats)
- Before/after color preview, with alpha preview
- Interactive 2D color ramp widget
- Hue wheel/triangle widget
- Editable color swatch lists
- Live color sampler with option to sample over a set radius
- Supports interaction with other apps via drag and drop of colors (OS support
dependant)
- Option to disable the dialog and use the native picker dialog instead (TODO:
make the dialog so awesome that even @dakcarto switches across...)

Credit for icons goes to 3nids!
2014-09-16 23:00:06 +10:00
Denis Rouzaud
bcc6647376 [SIP] add missing argument in QgsEditorWidgetRegistry::QgsEditorWidgetWrapper 2014-09-16 12:01:30 +02:00
Denis Rouzaud
1fb524f119 improved identify menu with a dedicated class 2014-09-16 11:51:18 +02:00
Denis Rouzaud
aa95ae4cd0 [QgsActionMenu] fix return feature 2014-09-16 11:51:17 +02:00
Denis Rouzaud
f85a883976 [QgsActionMenu] use ActionData to trigger actions 2014-09-16 11:51:17 +02:00
Denis Rouzaud
ab228902fd [QgsActionMenu] use correct level of actions 2014-09-16 11:51:17 +02:00
Matthias Kuhn
399fa9927d Add user data to identify actions to actionmenu 2014-09-16 11:51:17 +02:00
Matthias Kuhn
089652e549 Add icon support to actions 2014-09-16 11:51:17 +02:00
Matthias Kuhn
ba7f0a3457 Add action menu to attribute dialog 2014-09-16 11:51:17 +02:00
Nyall Dawson
e5f078ed8f Fix loss of hue information with slider widgets 2014-09-16 19:47:37 +10:00
Nyall Dawson
2dba5d7dfe Allow setting color button to invalid color resulting in a blank
button. Default to invalid color for new buttons.
2014-09-16 19:46:31 +10:00
Nyall Dawson
e79ff32f47 Add options for color buttons, allowing them to be used in a swatch
type mode.
2014-09-16 19:39:41 +10:00
Denis Rouzaud
7f3a5149c5 [QgsRelationReferenceWidget] make error label multiline 2014-09-16 11:12:29 +02:00
Denis Rouzaud
fb30b84cfb [QgsMapToolIdentifyFeature] allow initializing without any layer 2014-09-16 11:12:28 +02:00
Juergen E. Fischer
5483ee8064 followup ui rename (followup 13eb726d) 2014-09-16 09:49:19 +02:00
Martin Dobias
de48dad6e9 Followup #10912 - detect cycles in joins and reject joins that would create cycle
Cycle would otherwise cause infinite loop when updating fields and it does not make sense
2014-09-16 12:11:15 +07:00
Martin Dobias
f73b0b61e5 Return to previous state of vector joins if the vector props dialog was cancelled 2014-09-16 12:11:15 +07:00
Denis Rouzaud
8cd5e59e89 add RelationReferenceWidgetWrapper to SIP + complete RelationReferenceWidget 2014-09-15 18:24:47 +02:00
Denis Rouzaud
e1cb4370d7 [Relation Reference Widget] allow removing open form button (option not available in QGIS) 2014-09-15 18:24:47 +02:00
Matthias Kuhn
98e00230d0 Fix doxygen warning 2014-09-15 18:11:53 +02:00
Matthias Kuhn
903defe58b Use unique value widget doxymentation to appropriate place 2014-09-15 18:09:45 +02:00
Matthias Kuhn
77bcd61e63 Doxymentation for relation manager 2014-09-15 16:21:16 +02:00
Matthias Kuhn
5d6b979e35 Even more Doxymentation 2014-09-15 15:02:36 +02:00
Matthias Kuhn
daab529f39 More Doxymentation 2014-09-15 14:57:58 +02:00
Matthias Kuhn
1320751958 Doxymentation for QgsEditorWidgetV2 2014-09-15 14:31:01 +02:00
Nyall Dawson
abaebbe61e Use copy mode for drag and drop of colors from QgsColorSchemeList,
prevent addition of duplicate colors
2014-09-15 21:40:50 +10:00
Nyall Dawson
33b120f72a Add a colorSelected signal to QgsColorSchemeList 2014-09-15 21:40:50 +10:00
Nyall Dawson
05e16291ea Remove colors from scheme list on delete/backspace press 2014-09-15 21:40:50 +10:00
Nyall Dawson
ec39f081b7 Add an isDirty method to QgsColorSchemeList 2014-09-15 21:40:49 +10:00