Nyall Dawson
4ebea75e6a
Subclass QMouseEvent to QgsLayoutViewMouseEvent
...
For easy access to mouse event coordinates in layout coordinate
space (and future use with snapped item coordinates)
2017-07-11 11:06:35 +10:00
Nyall Dawson
a6ccd63bc8
Start implementing an add item tool
2017-07-11 11:06:35 +10:00
Nyall Dawson
25034979e3
Add some unit tests for layout tools
2017-07-11 11:06:35 +10:00
Nyall Dawson
99f34300b9
Add shell classes for layout view tools
...
Copy the same model as QgsMapCanvas uses, with separate
classes for individual interaction tools instead of keeping
all the logic in the QGraphicsView subclass (as is done
with composer)
2017-07-11 11:06:35 +10:00
Nyall Dawson
4c2447fd89
Add shell for QgsLayoutView
2017-07-11 11:06:35 +10:00
Matthias Kuhn
e2c84f1a50
Merge pull request #4669 from nyalldawson/spinbox_ctrl
...
When holding ctrl while mouse wheeling on spin box, increase in smaller amounts
2017-07-08 10:37:00 +02:00
Matthias Kuhn
875a5d6d9d
Merge pull request #4818 from DelazJ/spelling
...
Fix some spelling issues
2017-07-08 10:20:40 +02:00
Matthias Kuhn
9581fe0a10
[FEATURE] Add snapping results to default value calculation
...
... as @snapping_results variable
2017-07-07 12:58:55 +02:00
Nyall Dawson
eb8f91a556
Fix some button sizes on hidpi displays
2017-07-07 18:17:40 +10:00
Nyall Dawson
0802586a13
Fix minimum height of font buttons on non-Windows platforms
2017-07-07 16:50:27 +10:00
Matthias Kuhn
632eca6079
Merge pull request #4795 from pblottiere/dynamicform
...
[FEATURE] Dynamic form for joined fields
2017-07-07 08:22:18 +02:00
Harrissou Sant-anna
0d1c4cdc59
Running check_spelling.sh
2017-07-07 06:55:06 +02:00
Harrissou Sant-anna
0c967927ef
Replace "drop down" and some dropdown by drop-down
2017-07-07 01:26:38 +02:00
Harrissou Sant-anna
15be88918f
Replace "double click" and "doubleclick" by double-click
2017-07-07 01:26:38 +02:00
Nyall Dawson
603168e8fa
Update sip
2017-07-07 08:54:00 +10:00
Blottiere Paul
e5eda5f889
Add a hint on widgets for non existent joined features
2017-07-06 21:27:37 +02:00
Nyall Dawson
e95b65ef48
[needs-docs] Mouse wheeling over font buttons can change font size
...
With ctrl+mouse wheel changing in smaller size increments
2017-07-06 19:56:39 +10:00
Nyall Dawson
0fd1f8e563
Fix size hint for font button
2017-07-06 19:56:39 +10:00
Nyall Dawson
99855ea35a
Add method to use QgsFontButton in cut down mode for QFont settings only
...
The button can now be used in two different modes. The default behavior
is to include all settings used for configuring
QgsTextFormat/QgsTextRenderer classes. A cut down mode (without settings
for color/buffer/drop shadow/etc) is also available when the resultant
font is to be used only in a QFont object.
2017-07-06 19:56:39 +10:00
Nyall Dawson
0b9fb5d6e1
[needs-docs] New gui widget QgsFontButton
...
A standard widget for configuring text format properties for use
with QgsTextRenderer/QgsTextFormat.
It's modelled heavily off QgsColorButton, and supports lots of nice
things like dragging formats between buttons, copying and pasting
format settings, dropping colors from color buttons, dragging colors
from font buttons to color buttons, directly setting font size
and opacity/color without having to open a dialog.
2017-07-06 19:56:39 +10:00
Nyall Dawson
ddf5acebe7
Merge pull request #4807 from nyalldawson/layout_item_registry
...
Create a layout item registry for item types
2017-07-06 19:12:43 +10:00
Nyall Dawson
1fc81d6f98
Fix typo (coordiantes)
2017-07-04 14:33:11 +10:00
Harrissou Sant-anna
59e9f79658
ok is spelled OK
2017-07-03 08:49:50 +02:00
Nyall Dawson
7972092311
Update docs, sip
2017-07-03 14:21:40 +10:00
Nyall Dawson
4f21afac0f
Shell layout designer dialog
2017-07-03 12:14:56 +10:00
Harrissou Sant-anna
35cbfa0087
Replace check box by checkbox
2017-07-02 23:25:40 +02:00
Denis Rouzaud
54c6291378
script to write include SIP files
2017-06-28 10:45:51 +02:00
Juergen E. Fischer
51fde8e08f
spelling fixes
2017-06-27 10:34:12 +02:00
Nyall Dawson
2b7b0db747
Allow keyword arguments for all arguments in PyQGIS bindings
...
Previously this was only enabled for optional arguments (i.e.
those with default values). Enabling them for all arguments
allows for more readable PyQGIS code, and there seems no
downside given that we already have this support partly enabled.
The consequence of this change is that when 3.0 API is frozen
the freeze must also include the naming of function arguments,
since that's effectively now part of public API.
2017-06-25 20:07:14 +10:00
Harrissou Sant-anna
7a154061bc
Typo fix
2017-06-24 19:25:23 +02:00
Martin Dobias
7cd517c6ba
[FEATURE] Legend for markers with data-defined size
...
(Merge pull request #4752 from wonder-sk/legend-data-defined-size)
2017-06-22 15:29:10 +02:00
Martin Dobias
4976d59fc5
Fix few bugs + fix test images + allow data-defined size without transformer
2017-06-22 13:50:19 +02:00
Martin Dobias
f33974e9e0
Use panel widget for data-defined size legend
2017-06-21 14:35:02 +02:00
Martin Dobias
ea0b6899d1
Manual configuration of classes in legend with data-defined sizes
2017-06-20 12:44:40 +02:00
Martin Dobias
e3270edb7a
Read/write also legend symbol in DDS legend, update DDS legend dialog
2017-06-19 15:55:46 +02:00
Alessandro Pasotti
28c9fee756
[bugfix] Collapse all connection item leaves in the browser a start
...
To prevent unwanted connections to be initiated when QGIS launches
2017-06-17 09:37:59 +02:00
Alessandro Pasotti
cf0ffefc1a
[bugfix] Prevent expansion of WMS connection layers when restoring the browser
...
This was causing unwanted connections to WMS when QGIS starts.
2017-06-16 17:39:12 +02:00
Martin Dobias
ea8a2c2bf9
Added GUI for data-defined size legend (single/categorized/graduated renderer)
2017-06-16 17:00:12 +02:00
Matthias Kuhn
cb1f98f020
Replace QString::null with QString()
...
Deprecated sind Qt 5.9
2017-06-16 16:27:45 +02:00
Denis Rouzaud
ae6ad5c599
make QgsMapCanvas::updateCanvasItemPositions a protected slot
2017-06-15 15:11:03 +02:00
Denis Rouzaud
00b2d24247
sipiy gui symbology
2017-06-09 10:16:08 +02:00
Denis Rouzaud
58674146af
sipify gui effects + layertree
2017-06-09 10:16:08 +02:00
Denis Rouzaud
2454e56b32
sipify gui attribute table
2017-06-09 10:16:08 +02:00
Denis Rouzaud
532b9a142a
sipify gui part n
2017-06-09 10:16:08 +02:00
Nyall Dawson
10707b8787
Improve documentation
2017-06-09 09:14:50 +10:00
Nyall Dawson
463e722477
Clarify in doxygen what scale values represent
2017-06-09 09:12:42 +10:00
Nyall Dawson
08a9bcba0a
Unify scale widgets API
...
Flip all scale based widgets to use scale denominators instead
of actual scales (ie 100.0 instead of 0.01 for 1:100).
This is done for consistency with the rest of the API, which
predominantly uses scale denominators. It also helps
precision loss as a result of multiple 1.0 / scale conversions
throughout the code.
Refs #15337
2017-06-09 09:11:10 +10:00
Denis Rouzaud
ed915e75a2
sipify gui part 1
2017-06-08 08:52:02 +02:00
Denis Rouzaud
41ceed3d77
[sipify] fix false virtual methods
2017-06-08 07:28:36 +02:00
Denis Rouzaud
9a40754fb8
sipify Qgis, QgsDxfExport
2017-06-07 12:03:22 +02:00