24627 Commits

Author SHA1 Message Date
Nyall Dawson
cb73905644 [FEATURE][composer] New composer item for multi frame attribute tables.
Allows table content to be spread over multiple frames. Note:
existing table items are not automatically upgraded to multiframe
tables (to avoid API breaks with plugins), so only newly added
tables gain these new options.

QgsComposerTable is effectively deprecated and will be removed at the
next API break.

This work was sponsored by the City of Uster, Switzerland.
2014-09-17 22:57:50 +10:00
Nyall Dawson
993aa83306 [composer] Tweak calculation of total height of table (Sponsored by
City of Uster, Switzerland)
2014-09-17 22:57:50 +10:00
Nyall Dawson
a0db6634f5 [composer] Fix crash on extend mode for multiframes (Sponsored by
City of Uster, Switzerland)
2014-09-17 22:57:50 +10:00
Nyall Dawson
3ca416a620 [composer] Initial test suite for QgsComposerTableV2 (Sponsored by
City of Uster, Switzerland)
2014-09-17 22:57:49 +10:00
Nyall Dawson
407a05c9dc [composer] Implement total height mechanisms for QgsComposerTableV2
(Sponsored by City of Uster, Switzerland)
2014-09-17 22:57:49 +10:00
Nyall Dawson
817152598d [composer] Fix calculation of visible row ranges in QgsComposerTableV2
(Sponsored by City of Uster, Switzerland)
2014-09-17 22:57:49 +10:00
Nyall Dawson
7d63adeec9 [composer] Implement saving/loading of QgsComposerTableV2 items
(Sponsored by City of Uster, Switzerland)
2014-09-17 22:57:49 +10:00
Nyall Dawson
ced281c832 [composer] Don't consider border width in table if border is disabled
(Sponsored by City of Uster, Switzerland)
2014-09-17 22:57:49 +10:00
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