1513 Commits

Author SHA1 Message Date
Nyall Dawson
f660d78017 Add a new dialog for selecting file encoding, QgsEncodingSelectionDialog
Can be used to prompt users for a file encoding choice
2017-11-21 20:38:07 +10:00
Matthias Kuhn
81b475d21c Adjust version number 2017-11-21 08:32:53 +01:00
Matthias Kuhn
37b0d4c5b5 Add missing api documentation 2017-11-21 08:29:02 +01:00
Matthias Kuhn
f0a84667b8 Hide search widget tool button for aggregate search 2017-11-20 21:20:50 +01:00
Matthias Kuhn
7b45e9df33 Add missing param to docstring 2017-11-20 20:31:39 +01:00
Matthias Kuhn
456cebae96 Remove unnneeded method 2017-11-20 20:31:39 +01:00
Matthias Kuhn
ddca8b6550 SipConvertToSubClass code for QgsSearchWidgetToolButton 2017-11-20 20:31:39 +01:00
Matthias Kuhn
bdc47a48d9 Add missing doxymentation 2017-11-20 20:31:39 +01:00
Matthias Kuhn
f084fc0ac0 API documentation all over 2017-11-20 20:31:38 +01:00
Matthias Kuhn
fdd00870ee [FEATURE] Search widget for relations using aggregates
For each child relations, the subform is visible.

Each attribute of the children has a tool button option to define to which
aggregate the specified value should be compared. This allows for searching
things like

 * Each city where the highest building is more than 300 m
 * Each sensor where the median value is lower than 50 ppm
 * Each feature with a child with a missing value
 * ...
2017-11-20 20:31:38 +01:00
Matthias Kuhn
f5559b5143 Add QgsAttributeFormWidget 2017-11-20 20:31:38 +01:00
Nyall Dawson
89f6ca9f18 Fix memory leak 2017-11-20 21:06:16 +10:00
Matthias Kuhn
67b68a841d
Merge pull request #5578 from gacarrillor/iface_copy_paste_features
Expose through iface methods to copy/paste features between given layers
2017-11-20 07:24:41 +01:00
Matthias Kuhn
30ed315392
Merge pull request #5614 from signedav/constraintindicators
Constraint result not displayed in non editable mode
2017-11-20 07:13:39 +01:00
David
995003153a member variable for constraint result visability
...as we had it for for constraint result (status).
now the setter are called when setting the editable mode changes.
and the getter to have the current visibility status.
2017-11-16 11:50:15 +01:00
Nyall Dawson
135b5c6c25 Nicer UX when adding a layer to an existing gpkg through the browser 2017-11-16 09:31:37 +11:00
gacarrillor
a00ce9e1cc Rename editCopy/editPaste to copySelectionToClipboard/pasteFromClipboard 2017-11-15 12:51:42 -05:00
Blottiere Paul
bd30e12cf9
Merge pull request #5597 from pblottiere/bugfix-clickxy
[bugfix]  Fixes #16852 by adding click_x and click_y variables to resolve actions
2017-11-15 16:18:36 +00:00
gacarrillor
829915e3fc Make names from QgisApp and QgisInterface match 2017-11-15 09:26:47 -05:00
Tim Sutton
364ddc1de4
Fix #17444 : GeoNode data provider completely ignores authentication (#5634)
* Fix #17444 : GeoNode data provider completely ignores authentication - hide the authentication group until GeoNode API supports authentication.
2017-11-15 11:55:25 +02:00
Alessandro Pasotti
340f7abbb0
Merge pull request #5616 from boundlessgeo/datasource-manager-add-close
[gui] Datasource manager remove Ok and add Close
2017-11-15 08:47:23 +01:00
Nyall Dawson
5d476e51df Use QVector where possible in geometry classes 2017-11-14 21:52:09 +11:00
Alessandro Pasotti
79c8f9686d Remove OK button and add CLOSE
Yes, it's one more click to quit, but more intuitive UI
2017-11-13 11:29:59 +01:00
David
c2f68d6f7b background color on constraint fields reset on toggle edit
if editable, the backgroundcolor should be set according the constraint result
if not editable, the backgroundcolor should be empty anyway
so it has to be reseted when synchronizeEditableState...
2017-11-13 10:49:44 +01:00
David
53d642cecc Constraint Result Indicator invisible when not in editable mode
The icon for the constraint result indicator cross/tipp disappears when not in editable mode
this is made by the new method setconstraintresult.
2017-11-13 10:49:26 +01:00
Nyall Dawson
2e6d125a6f Use =default, =delete where possible 2017-11-11 15:22:19 +10:00
Blottiere Paul
c9c1c34952 Fixes #16852 by adding click_x and click_y variables to resolve actions 2017-11-10 15:01:08 +00:00
gacarrillor
9aa1f21668 Expose through iface methods to copy/paste features between given layers
That is, no need to load layers into the layer tree nor make them active.
2017-11-09 07:43:38 -05:00
Matthias Kuhn
e1ffb2826b QgsHighlight improvements
* Doxygen improvements
* Fix unrequired casting
* Remove unrequired contructor
2017-11-08 21:17:00 +01:00
Borys Jurgiel
61a155cf78
Merge pull request #5547 from borysiasty/stickytabs2
Make some QgsOptionsDialogBase's slots virtual
2017-11-07 22:21:04 +01:00
Nyall Dawson
1f769da68d Work on resurrecting overviews 2017-11-07 11:32:38 +10:00
Nyall Dawson
7f0142c86a Working move item content tool 2017-11-07 11:32:38 +10:00
Nyall Dawson
753f6f5050 Start hooking up map widget gui 2017-11-07 11:32:38 +10:00
Nyall Dawson
87ef5c52b0 Allow cancelation of polygon/polyline creation 2017-11-07 11:32:38 +10:00
Nyall Dawson
9a08fad506 Exclude selected nodes item when snapping during node move 2017-11-07 11:32:38 +10:00
Nyall Dawson
938b239277 Port more node tool actions 2017-11-07 11:32:38 +10:00
Nyall Dawson
ab7bb7235a Start work on node edit tool 2017-11-07 11:32:38 +10:00
Nyall Dawson
44fe2a8d08 Add tools to create node based items 2017-11-07 11:32:38 +10:00
Nyall Dawson
b41fea90e2 Fix layout items appear in random order in gui 2017-11-07 11:32:38 +10:00
Nyall Dawson
8ca6d3e717 Refactor layout item gui registry to allow metadata for duplicate item types
This allows registration of item creation actions which create
items with an existing item type, but custom creation functions.

E.g. allowing actions for creation of ellipse/triangles/etc
from a single layout item type.
2017-11-07 11:32:38 +10:00
Nyall Dawson
c0b63a6778 After creating an item with the add item tool, switch immediately to select tool 2017-11-07 11:32:38 +10:00
Nyall Dawson
e836fc49b1 When selecting a different item, but the item is the same
type of item, just update the existing panel to show the new
item's properties

This means that flicking between selecting items of the same
type will not create a new properties widget, so scroll
bar positions, focused widgets, etc are all maintained.

Makes using layouts less annoying.
2017-11-07 11:32:37 +10:00
Nyall Dawson
aebe5a42e6 Allow reseting ratio manually for linked ratio lock buttons 2017-11-07 11:32:37 +10:00
Nyall Dawson
ea453beb73 If the same item is reselected in a layout, don't create a new
properties widget for it

Because if we do annoying things happen, like loss of focused
widget and scroll bar position
2017-11-07 11:32:37 +10:00
Nyall Dawson
b2414d8d8d Start porting item properties widget 2017-11-07 11:32:37 +10:00
Nyall Dawson
d3836e502a Move population of layout gui registry from GUI->app
Since we don't want all the item type subclass config widgets
to have to reside in gui, we need to populate the registry
from app instead.
2017-11-07 11:32:37 +10:00
Borys Jurgiel
6b76c2b377 Missing docstrings 2017-11-06 17:45:46 +01:00
Borys Jurgiel
64ab28bf59 Rename indx to index in some slots 2017-11-06 16:37:27 +01:00
Borys Jurgiel
966e2d6639 Make QgsOptionsDialogBase's slots virtual for overriding in derived clases with non-standard tabs (fixes broken tab behaviour in Plugin manager) 2017-11-06 14:27:32 +01:00
Matthias Kuhn
5d2c39bbfb Add doxymentation 2017-11-01 22:20:17 +01:00