3896 Commits

Author SHA1 Message Date
Blottiere Paul
3f8ae8b225 Some minor refactoring 2017-10-09 05:13:59 +01:00
Blottiere Paul
7483c6e95f Remove QgsAuxiliaryField class 2017-10-09 05:13:59 +01:00
Blottiere Paul
fc0ebb783d Allow user to create its own auxiliary field 2017-10-09 05:13:59 +01:00
Blottiere Paul
4e10a11a47 Add a custom name for symbol layers in property definition 2017-10-09 05:13:59 +01:00
Blottiere Paul
4fa3400981 Properly update layer settings when an auxiliary field is deleted 2017-10-09 05:13:59 +01:00
Blottiere Paul
e14c5a248b Update documentation and sip binding 2017-10-09 05:13:59 +01:00
Blottiere Paul
97ee342e1c Set editor widget setup to Hidden 2017-10-09 05:13:59 +01:00
Blottiere Paul
baa2b968bc Auxiliary data is cloned too 2017-10-09 05:13:59 +01:00
Blottiere Paul
34ac1ecbc6 Automatically update the editor widget setup according to the standard template of the property newly created 2017-10-09 05:13:59 +01:00
Blottiere Paul
821aadc400 Hide auxiliary columns which can be edited by "change label properties" map tool 2017-10-09 05:13:59 +01:00
Blottiere Paul
df021570a4 Auxiliary fields for symbol layers 2017-10-09 05:13:59 +01:00
Blottiere Paul
609249db27 Change label maptool is always available and underlying properties are created 2017-10-09 05:13:59 +01:00
Blottiere Paul
5b278d746e Move/rotate/hide/pin map tools are always available 2017-10-09 05:13:59 +01:00
Blottiere Paul
ad1e15808f Remove default value for origin of property 2017-10-09 05:01:35 +01:00
Blottiere Paul
ba9a84f343 Rename name method to nameFromProperty 2017-10-09 05:01:35 +01:00
Blottiere Paul
e05e920ec4 Add explicit keyword 2017-10-09 05:01:35 +01:00
Blottiere Paul
4920a14aab Move isAuxiliaryField to QgsVectorLayer 2017-10-09 05:01:35 +01:00
Blottiere Paul
ceb3dd7f5f Fix documentation 2017-10-09 05:01:35 +01:00
Blottiere Paul
fcdf20df95 Origin in QgsProperty is a string and pal is replaced by labeling 2017-10-09 05:01:35 +01:00
Blottiere Paul
88e8eb4fd7 Update sip binding 2017-10-09 05:01:35 +01:00
Blottiere Paul
191f2a7efc Expand documentation for QgsAuxiliaryLayer class 2017-10-09 05:01:35 +01:00
Blottiere Paul
ae09135926 Expand documentation for QgsAuxiliaryStorage constructors 2017-10-09 05:01:35 +01:00
Blottiere Paul
fa4a426893 Update documentation and sip binding 2017-10-09 05:01:34 +01:00
Blottiere Paul
0dcfd56cdf Rowid column from ogr provider is ignored thanks to a blacklist join option 2017-10-09 05:01:34 +01:00
Blottiere Paul
4a8fce2b00 Implement delete field action 2017-10-09 05:01:34 +01:00
Blottiere Paul
dcec98dfda Implement export action 2017-10-09 05:01:34 +01:00
Blottiere Paul
bca8973465 Implement delete action 2017-10-09 05:01:34 +01:00
Blottiere Paul
e36c5e2d41 Implement clear action 2017-10-09 05:01:34 +01:00
Blottiere Paul
8826a8abaa Update auxiliary storage tab and data defined buttons according to auxiliary fields 2017-10-09 05:01:34 +01:00
Blottiere Paul
6b81286a8f Implement action create auxiliary field 2017-10-09 05:01:34 +01:00
Blottiere Paul
fa4777ead2 Add an origin (PAL or Diagram) to QgsProperty 2017-10-09 05:01:34 +01:00
Blottiere Paul
a550a32719 Auxiliary layers may be created or loaded from auxiliary storage 2017-10-09 05:01:34 +01:00
Blottiere Paul
de498314d2 Add auxiliary storage mechanism in project 2017-10-09 04:44:39 +01:00
Ismail Sunni
1be2f3ee66 Add methods to remove variables from global/project scope 2017-10-09 12:03:37 +10:00
Nyall Dawson
42676dc93c Move some getters which are incorrectly marked as slots,
remove some unnecessary 'const's from signals

Thanks to clazy const-signal-or-slot check
2017-10-09 11:53:06 +10:00
Nyall Dawson
9aa6142bab Merge pull request #5291 from nyalldawson/layout_next
[layouts] Port most interaction actions from composer
2017-10-09 10:12:17 +10:00
Marco Bernasocchi
1c63522819 Added QgsFields::names method to get a list of all the names of fields 2017-10-06 22:52:26 +02:00
Nyall Dawson
0c858d27d6 Port display name handling from composer 2017-10-06 18:43:10 +10:00
Nyall Dawson
c8eaeb8f93 Port hide pages action from composer 2017-10-06 17:48:25 +10:00
Nyall Dawson
aa7beaad6a Port keyboard nudge of items from composer 2017-10-06 17:48:25 +10:00
Nyall Dawson
bb2e1efdb8 Create undo/redo commands when changing item visibility 2017-10-06 17:48:25 +10:00
Nyall Dawson
fd0cba3914 Hide most of QgsLayoutModel from stable API and remove from bindings
We only expose the QAbstractItemModel interface as stable API - the
rest is non-stable and subject to change.
2017-10-06 17:48:25 +10:00
Nyall Dawson
a66f2cb684 Nicer API for adding/removing items
Automatically create the corresponding undo commands, so that
plugins and scripts which add/delete items will be added to
the undo stack without any work required.
2017-10-06 17:48:25 +10:00
Nyall Dawson
c022bc825e [FEATURE][layouts] Add 'resize to square' action
Resizes all selected items so that they are square
2017-10-06 17:48:25 +10:00
Nyall Dawson
e686e2e565 Fix doxygen warning 2017-10-06 17:48:25 +10:00
Nyall Dawson
e3616f08c4 [FEATURE][layout] Add actions to auto resize items in a selection
Options are resize to narrowest, widest, shortest and tallest.
2017-10-06 17:48:25 +10:00
Nyall Dawson
5141c05ba7 [FEATURE][layout] Add item distribution actions
Adds actions for distributing selections of items by their
left/center/right/top/bottom edges.

Useful for quickly evenly distributing items in the layout

Needs new icons
2017-10-06 17:48:25 +10:00
Nyall Dawson
0939333273 Port item alignment to layouts 2017-10-06 17:48:25 +10:00
Nyall Dawson
822d6f76a3 Move actions which apply to selected items only to QgsLayoutView
Selections are a gui concept, so these actions belong to the
gui class instead of cluterring QgsLayout
2017-10-06 17:48:25 +10:00
Nyall Dawson
fdba8f199a Add tests for changing item z order 2017-10-06 17:48:25 +10:00