Nyall Dawson
df3bcddab7
Hook up clearing guides
2017-08-07 19:34:28 +10:00
Nyall Dawson
da4382309e
Allow deletion of guides by dragging outside of pages
2017-08-07 19:34:28 +10:00
Nyall Dawson
e06b0af91b
Support dragging existing guides in rulers
2017-08-07 19:34:28 +10:00
Nyall Dawson
c6c9c6fabf
Show guide positions in rulers
2017-08-07 19:34:28 +10:00
Nyall Dawson
ab726c4777
Add methods to determine visible pages in a view
2017-08-07 19:34:28 +10:00
Nyall Dawson
9458f1f934
Support deletion of guides through manager
2017-08-07 19:34:28 +10:00
Nyall Dawson
e718f92bd5
Better headers in guide view
2017-08-07 19:34:28 +10:00
Nyall Dawson
048a5b79b6
Nicer table view for guide editing
2017-08-07 19:34:28 +10:00
Nyall Dawson
886a1208ef
Dropping guides outside of pages doesn't create new guides
2017-08-07 19:34:28 +10:00
Nyall Dawson
b0956c9bd7
[needs-docs] Partial WIP of dragging rulers to create guide lines
...
Unlike in 2.x, Layouts in 3.0 adopt the standard UX of dragging
out rulers to create guide lines (instead of clicking on a ruler
position to create a guide)
2017-08-07 19:34:28 +10:00
Nyall Dawson
ef6727518d
[FEATURE] Add a dock widget showing snap guides for current page
...
Allows creation of snap lines at specific locations, and
adjusting position of existing guides to exact coordinates
2017-08-07 19:34:28 +10:00
Nyall Dawson
f5126b0abd
New class QgsLayoutGuideCollection for storing sets of layout snap guides
...
The class is a QAbstractListModel subclass, making it easy
for creation of different views showing the guides in a layout.
Additionally, a QSortFilterProxyModel (QgsLayoutGuideProxyModel)
has been created to filter QgsLayoutGuideCollection to guides
with matching page numbers and orientations.
2017-08-07 19:34:28 +10:00
Nyall Dawson
fa5eb4e5ad
Refine QgsLayoutGuide API
2017-08-07 19:34:28 +10:00
Nyall Dawson
db36440cfc
Start on classes for snapping guide items
2017-08-07 19:34:28 +10:00
Nyall Dawson
3dbc1a0c2a
Refine z order for some new items
2017-08-07 19:34:28 +10:00
Nyall Dawson
0d0a3c2cdc
Code refactor - split grid appearance settings into their own class
2017-08-07 19:34:28 +10:00
Nyall Dawson
d0dfec72cb
Add actions to switch grid display/snapping on/off
2017-08-07 19:34:28 +10:00
Nyall Dawson
798ec83681
Start on snapping marker
2017-08-07 19:34:28 +10:00
Nyall Dawson
f57212eee5
Hook up snapping for QgsLayoutViewTools
...
Tools can now indicate (via setFlags()) if they desire snapping
to be active for the tool. When a tool has the flag set,
any QgsLayoutViewMouseEvents it receives will have a snappedPoint()
available which returns the mouse event point snapped using
the layout's snapping settings.
2017-08-07 19:34:28 +10:00
Nyall Dawson
5be237fdd9
Add ability for QgsLayoutSnapper to snap to grid
2017-08-07 19:34:28 +10:00
Nyall Dawson
361dd312bc
Start on layout snapper
2017-08-07 19:34:28 +10:00
Nyall Dawson
b42c055e97
Restore drawing of page grids
2017-08-07 19:34:28 +10:00
Nyall Dawson
f802c56573
Merge pull request #4996 from nyalldawson/spelling_and_stuff
...
Fix some spelling, add parameter names to tooltips in processing
2017-08-07 19:11:26 +10:00
Mario Baranzini
0409da3a4c
Fixed PEP8 missing blank line
2017-08-07 10:27:15 +02:00
Mario Baranzini
f187c43280
Add cmp() function
2017-08-07 10:27:15 +02:00
Mario Baranzini
78af413dcc
Remove python future compatibility layer
2017-08-07 10:27:15 +02:00
Nyall Dawson
4ab4a1fcad
Spell check 'mitre' -> 'miter' (i.e. use en-us variation)
2017-08-07 18:08:57 +10:00
Nyall Dawson
7cebe7a343
Fix some grammar
2017-08-07 17:45:33 +10:00
Nyall Dawson
952b494256
Show Python identifier for processing parameters in tooltip
...
over widgets
Hopefully helps Python processing users match the parameters
in the gui to the parameter names to use when calling via
API
(Blender style!)
2017-08-07 17:24:22 +10:00
Nyall Dawson
b0cac0bd04
Remove debugging code
2017-08-07 17:13:07 +10:00
Nyall Dawson
2d88a4d73a
Fix failing tests
2017-08-07 05:40:13 +10:00
Nyall Dawson
d6e2985c08
Fix invalid icon sizes in processing model builder
...
While the toolbar buttons were shown in the correct size, the
actual icon image in the buttons was not correctly scaling to
match the button size.
Hardcoding the svg icons in the py file seems to be the only
way to avoid this.
2017-08-07 05:24:12 +10:00
Nyall Dawson
cad54f2cea
Fix incorrect icon sizes in Python console
...
Console was not respecting application icon size setting
2017-08-07 05:24:12 +10:00
Nyall Dawson
434bda725f
Merge pull request #4982 from nyalldawson/drop_file_drop_file_drop_file_drop_file_drop
...
Remove QgsFileDropEdit widget and integrate functionality into QgsFileWidget
2017-08-07 05:14:28 +10:00
Nyall Dawson
c3b62ad4ca
Customise->Customize
2017-08-07 01:37:19 +10:00
Juergen E. Fischer
487a7a00b7
fix 'allows to/allows one to' spell errors and enhance to our spellchecker to deal with those
2017-08-06 17:34:22 +02:00
Nyall Dawson
05a039b173
[needs-docs] Remove python console "import class" action
...
Since these classes are always imported by default, there's no
need for a toolbar action to manually import them
2017-08-06 23:52:52 +10:00
Nyall Dawson
069fadfc53
Import all qgis.gui, analysis, processing, and Qt classes by default
...
in Python console
Because it's a PITA to remember to manually import these all the time
2017-08-06 23:48:53 +10:00
Nyall Dawson
b1a6c790cf
Remove QgsFileDropEdit widget and integrate functionality into QgsFileWidget
...
It makes no sense to have two classes covering this use case, with
partial functionality in each. Smash the two together so we can
safely use QgsFileWidget for all use cases in future.
2017-08-06 23:26:46 +10:00
Denis Rouzaud
06f9842637
rename symbology-ng to symbology
2017-08-06 14:18:57 +02:00
Alessandro Pasotti
a612a6874d
Sipify docstring for signal
2017-08-06 09:02:27 +02:00
Alessandro Pasotti
0e2458e943
Merge pull request #4969 from boundlessgeo/unified-layer-dialog-raster-mods
...
Unified layer dialog raster mods
2017-08-06 08:48:19 +02:00
Nyall Dawson
7f5b4dbc18
Followup 6ed389c8, fix push direct to master ;)
2017-08-06 16:34:49 +10:00
Tim Sutton
0d092f9212
Python console ( #4550 )
...
* Use tabbed view for python console settings. Allow fonts larger that 15pt in console and python editor.
* Make the python console settings list look more like the C++ implemented settings dialogs.
* Use scroll areas in python console settings to prevent widget squashing
* Fix python console settings icons
* updating python console settings to be part of main QGIS settings
* Revert "updating python console settings to be part of main QGIS settings"
This reverts commit a811d7d7b184fece419f6610321a98f1acc9238f.
2017-08-05 23:45:11 +02:00
Juergen E. Fischer
6ed389c8e8
fix translation string again and improve translation scripts (followup 79a095cb)
2017-08-05 23:01:42 +02:00
Nyall Dawson
a5ddab6cc8
Merge pull request #4950 from nyalldawson/algs
...
Port some more algs to new API
2017-08-06 05:05:32 +10:00
Nyall Dawson
ca1abdc716
Merge pull request #4964 from arnaud-morvan/processing_delete_dialogs
...
[processing] Correctly delete processing dialogs
2017-08-06 05:05:13 +10:00
Alessandro Pasotti
acead27197
Add raster widget to data source manager dialog
...
Also:
- created source select widget for GDAL provider
- created source select widget for OGR provider
- added addVecorLayers signal to the base class
2017-08-05 16:38:33 +02:00
Nyall Dawson
470afbebbe
Use correct file filters for processing vector/raster input selectors
2017-08-05 23:19:03 +10:00
Nyall Dawson
19fd3e8912
Merge pull request #4963 from Gustry/category
...
add category in QgsLayerMetadata using keywords
2017-08-05 22:12:37 +10:00