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
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
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
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
Alessandro Pasotti
fef3bc099d
Renamed button slots and make ogr dialog inherit from the abstract base
2017-08-04 22:06:07 +02:00
Alessandro Pasotti
dc6017dc1d
Move the buttons and connections into the base class
...
This was a small refactoring to homogenize the
dialogs buttons and add an Ok/Add button bar.
2017-08-04 17:43:23 +02:00
Nyall Dawson
082dafe22d
Fix infinitely growing widgets
...
Fixes #16849
2017-08-03 00:46:33 +10:00
lbartoletti
dc0855f8f1
Merge branch 'master' into regularShape_gui
2017-07-31 21:42:07 +02:00
lbartoletti
6036fa6a7c
clean
2017-07-31 12:14:24 +02:00
Nyall Dawson
917263a9a3
Allow setting project for QgsExpressionBuilderWidget
...
(still defaults to QgsProject::instance())
2017-07-31 08:18:09 +10:00
Nyall Dawson
e79bf3fb94
Add some unit tests for QgsExpressionBuilderWidget
2017-07-31 08:08:18 +10:00
Nyall Dawson
687adbf669
Fix tiny svg preview size on hidpi displays
2017-07-27 09:00:44 +10:00
Hugo Mercier
d19b4aa2bf
Merge pull request #4905 from pblottiere/bugfix_scrolllocked
...
Fixes value relation widget to keep scrollbar activated, fixes #16654
2017-07-26 10:52:55 +02:00
Nyall Dawson
f0a6376adb
Merge pull request #4910 from nyalldawson/layout_next
...
Layouts, chapter III
2017-07-26 17:03:36 +10:00
Nyall Dawson
20029c2956
Add a lot of framework code for showing item properties in designer
...
And hook up a non-functional page properties widget which is
shown when right clicking on a page in the view.
2017-07-25 12:54:58 +10:00
Nyall Dawson
0f90e23fe6
Refine item widget creation methods in layout item gui registry
2017-07-25 12:54:58 +10:00
Nyall Dawson
72bf2924d4
Port base class for item configuration widgets
2017-07-25 12:54:58 +10:00
Nyall Dawson
f1dfd3dbe2
Add an interface for creation of QgsLayoutView context menus
...
Allows display of custom right click menus when right click
events are not handled by the current layout view tool.
2017-07-25 12:54:58 +10:00
Nyall Dawson
416e1e4bbf
Fix drawing of rulers with multipage layouts
2017-07-25 12:54:57 +10:00
Nyall Dawson
3021fc86d2
QgsLayoutUnitComboBox can be linked to spin boxes so that their
...
values are automatically updated when the combo box unit changes
This means that you can flip between units and things like
the existing width and height are converted immediately to the
new unit
2017-07-25 12:54:57 +10:00
Blottiere Paul
0dca126c55
Update sip binding
2017-07-24 14:45:46 +01:00
Denis Rouzaud
33071f4720
fix doxymentation
2017-07-24 13:44:25 +02:00
Nyall Dawson
d055def2d1
Merge pull request #4907 from nyalldawson/symbol_button
...
New QgsSymbolButton widget
2017-07-24 20:29:14 +10:00
Nyall Dawson
78b05c1a7f
Allow copying and pasting symbols between QgsSymbolButtons
2017-07-24 16:57:30 +10:00
Denis Rouzaud
2723f4f199
remove duplicate method
...
followup 391712d2d42a761acb4bacce81cbe9ed8da52f6b
2017-07-24 07:30:48 +02:00
Nathan Woodrow
391712d2d4
Always log message bar messages to message log
...
Mainly so they don't just disappear on the user
2017-07-24 15:19:07 +10:00
Nyall Dawson
46f6f83fb9
Port some symbol buttons across to QgsSymbolButton
...
- composer shape style button (no other composer ones for now- they're
all getting removed with layouts anyway)
- point cluster/displacement renderer buttons
2017-07-24 11:07:55 +10:00
Nyall Dawson
22c4740f63
[FEATURE] New standard widget for symbol buttons
...
Button widgets for configuring symbol properties were reimplemented
multiple times throughout the codebase. This commit creates a new
standard QgsSymbolButton widget which should be used whenever
a button for configuring symbol properties is required.
Features include:
- automatic use of inline panels whenever possible
- dropdown menu with shortcuts to color settings, copy/pasting colors
- accepts drag and dropped colors to set symbol color
2017-07-24 11:07:55 +10:00
Nyall Dawson
faa4a09ed0
Merge pull request #4877 from nyalldawson/layout_next
...
Layouts, chapter II
2017-07-24 08:42:51 +10:00
Juergen E. Fischer
90fa6c2e91
sub layer dialog: sort by layer id and feature count numerically ( fixes #16917 )
2017-07-22 13:41:20 +02:00
Blottiere Paul
e6eeacf7fa
Update sip binding
2017-07-21 16:58:18 +01:00
Nyall Dawson
38c8268400
Allow setting width/height spin boxes to link to QgsRatioLockButton
...
When set, these spin boxes will automatically be updated when their
accompanying spin box changes value so that the ratio is maintained.
2017-07-21 14:20:45 +10:00
Mathieu Pellerin
0665072d94
[FEATURE] Locked aspect ratio state for Save as image/PDF" ( #4880 )
...
Sponsored by Andreas Neumann.
2017-07-19 15:04:52 +07:00
Juergen E. Fischer
4f9a9e0360
s/( )/()/; s/== /== /; s/!= /!= /;
2017-07-19 09:19:37 +02:00
Alessandro Pasotti
0b263f9ac6
Merge pull request #4737 from boundlessgeo/browser-sync
...
[bugfix] Sync the browser connections when changed from the select dialogs
2017-07-18 13:27:32 +02:00
Mathieu Pellerin
6acd326a8f
[FEATURE] Draw extent onto canvas in save as image/PDF dialog ( #4878 )
2017-07-18 18:13:52 +07:00
Alessandro Pasotti
bd925cd648
Rebase and partially revert 9bae83275368
...
All signals are now in the base class, even if only
a subset of available providers actually emits them.
This way we can handle all source select dialogs
the same way, regardless if they are vector, DB
or raster (or others).
2017-07-18 12:15:57 +02:00
Alessandro Pasotti
e83ef2e8b5
Store canvas into the base class and set extent/crs from the arcgis classes
...
This modification was necessary because the current implementation
of the source select dialogs within the unified add layer dialog
create the provider dialogs the first time and do not destroy
them, this means that the canvas extent and CRS can change from
a dialog invocation to the next and the extent and CRS need to
be updated at layer creation time.
2017-07-18 11:45:07 +02:00
Alessandro Pasotti
73b66fa1f5
Homogenize signals from different source select dialogs, move to base class
2017-07-18 11:45:07 +02:00
Alessandro Pasotti
f6c8ef3ad1
Complete documentation for connectionsChanged signals
2017-07-18 11:42:02 +02:00
Alessandro Pasotti
c4e26d72c0
Renamed base class to QgsAbstractDataSourceWidget
2017-07-18 11:42:02 +02:00
Alessandro Pasotti
aba9da5bc4
Refactored all providers to use the new base class
...
Also use refreshConnections from the data items when
a refresh is required, this function also emits
the signal to update the other GUI elements.
2017-07-18 11:42:02 +02:00
Alessandro Pasotti
1e6a4ab301
Added since 3.0 to the renamed class
2017-07-18 11:38:53 +02:00
Alessandro Pasotti
7bb797f8a9
Renamed QgsSourceSelectDialog to QgsArcGisServiceSourceSelect
2017-07-18 11:38:53 +02:00