1591 Commits

Author SHA1 Message Date
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
Matthias Kuhn
c3e2adce83 Const fixes for QgsSearchWidgetWrapper 2017-11-01 22:20:17 +01:00
Martin Dobias
6476fef419
Merge pull request #5451 from wonder-sk/snap-indicators
Snap indicators improvements
2017-10-27 20:50:53 +01:00
Martin Dobias
b726ba2936 Change vertex marker to box and segment marker to double triangle 2017-10-27 16:29:24 +02:00
Matthias Kuhn
6829a92e79 Merge pull request #5468 from m-kuhn/unobtrusiveConstraints
[FEATURE] Make constraint reporting less obtrusive
2017-10-27 12:47:21 +02:00
Matthias Kuhn
3eefe0dba9 Make constraint reporting less obtrusive 2017-10-26 23:04:31 +02:00
Matthias Kuhn
7ec35e0859
Add a selectOnFocus property to QgsFilterLineEdit 2017-10-26 16:29:46 +02:00
Matthias Kuhn
c661ab1090
Allow using NULL values 2017-10-26 15:31:50 +02:00
Matthias Kuhn
0b090fe141
Doxyfixes 2017-10-26 15:30:40 +02:00
Matthias Kuhn
a15c183aeb
More doxymentation 2017-10-26 15:30:39 +02:00
Matthias Kuhn
7811f38e48
[FEATURE] Add QgsFeatureListComboBox with live-filter-capabilities 2017-10-26 15:30:38 +02:00
Martin Dobias
b508bf7f1c Build and review fixes 2017-10-26 11:28:17 +02:00
Matthias Kuhn
1fc2c3a5ce sipify does not like copydoc 2017-10-25 00:47:07 +02:00
Matthias Kuhn
e9d6e38796 Add a spinner icon to QgsFilterLineEdit 2017-10-25 00:45:54 +02:00
Martin Dobias
1edc1a790f Move handling of snap indicators from map tools to a new class 2017-10-24 09:04:59 +01:00
Sandro Mani
bb21395e3d Make QgsVScrollArea inherit QgsScrollArea 2017-10-24 09:35:28 +02:00
Sandro Mani
1f300cfa2e Add QgsVScrollArea sip bindings 2017-10-23 17:25:08 +02:00
Nyall Dawson
a48c2e8fd4 Merge pull request #4947 from lbartoletti/regularShape_gui
[FEATURE][needs-docs] Add gui to draw Circle, Ellipse, Rectangle and Regular Polygon
2017-10-23 16:04:23 +11:00
Nyall Dawson
406425d68a Rename method, docs and api breaks documentation 2017-10-19 07:29:48 +10:00
Nyall Dawson
587072cae9 Split QgsFileDownloader into separate core/gui classes
So that the guts of this class can be used from non-gui code
2017-10-19 06:32:50 +10:00
lbartoletti
c4a75f0007 Fix remaining rubber band 2017-10-16 22:13:47 +02:00
Nyall Dawson
6e40b88fd7 Fix warnings 2017-10-16 10:59:14 +10:00
Nathan Woodrow
cf241f51ae [FEATURE][needs-docs] Show projection bounds in projection widget (#5356)
- Script to pull bounds from EPSG.org Postgres dump
- Add resources/data/world_map.shp for reference
- Show canvas bounds for reference
2017-10-16 10:40:05 +10:00