1185 Commits

Author SHA1 Message Date
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
Nyall Dawson
4318bfb8ad Merge pull request #4670 from nyalldawson/widget_action_header
New classes QgsMenuHeader, QgsMenuHeaderWidgetAction
2017-06-04 16:46:41 +10:00
Matthias Kuhn
a9d7630a69 Rename QgsPointV2 to QgsPoint and QgsPoint to QgsPointXY
Because 3D coordinates should be the default.

References https://github.com/qgis/qgis3.0_api/issues/36
2017-06-02 19:53:37 +02:00
Alessandro Pasotti
de5996c7dc [addlayerbutton] Use enum for window mode instead of booleans 2017-06-02 16:57:45 +02:00
Alessandro Pasotti
d62d444ea7 Moved support classes into own private header 2017-06-02 14:51:02 +02:00
Alessandro Pasotti
7082649778 Added docs and SIP bindings for QgsBrowserDockWidget 2017-06-02 14:51:02 +02:00
Nyall Dawson
ae8b71edeb New classes QgsMenuHeader, QgsMenuHeaderWidgetAction
Custom widgets designed for displaying subheaders within a QMenu
in a standard style (i.e. matching the subheaders shown within
the color button drop down menus)
2017-06-02 10:25:17 +10:00
Nyall Dawson
5077e1285e Merge pull request #4652 from nyalldawson/extent
[FEATURE] Add option to take extent from project map layer to QgsExtentGroupBox
2017-06-01 10:02:39 +10:00
Nyall Dawson
9e147413db Move logic for maintaining exact extent when CRS changes from
raster layer save as dialog to QgsExtentGroupBox, add tests
2017-06-01 09:10:07 +10:00
Denis Rouzaud
2148fa9287 handle protected inheritance, rename ui class to avoid class name collision 2017-05-31 14:37:30 +02:00
Denis Rouzaud
625cfc7c8f sip gui layertree and raster 2017-05-31 14:37:30 +02:00
Nyall Dawson
e2de69d32d Ensure extent is updated when QgsExtentGroupBox crs is changed 2017-05-31 21:18:44 +10:00
Nyall Dawson
f216db102c Clean up QgsExtentGroupBox API
Make protected members private, improve documentation
2017-05-31 21:05:43 +10:00
Nyall Dawson
4e4f232ad4 [FEATURE] Add option to take extent from project map layer
to QgsExtentGroupBox

This allows matching another layer's extent in the save vector/
raster layer dialog, among others

Fix #16357
2017-05-31 20:29:30 +10:00
Etienne Trimaille
6eb3570511 sipify 2017-05-31 10:48:11 +02:00
Denis Rouzaud
7e52f06ad2 sipify gui auth classes 2017-05-31 10:44:30 +02:00
Nyall Dawson
d4c87620aa Change some remaining alpha/transparency strings to opacity 2017-05-30 13:47:18 +10:00
Nyall Dawson
94829206d1 Flip 'alpha' to 'opacity' in gui API 2017-05-30 13:33:09 +10:00
Nyall Dawson
e58f25dbb9 Create new QgsOpacityWidget widget
Allows consistent behavior and appearance across all opacity controls
2017-05-30 11:36:24 +10:00
Nyall Dawson
a3262240fe Flip symbology from alpha/transparency to opacity 2017-05-30 11:07:22 +10:00
Denis Rouzaud
827c19f2e7 QgsCharacterSelectorDialog: rename file name according to class name 2017-05-24 15:22:09 +02:00
Denis Rouzaud
3f0017a46d sipify gui part 2 2017-05-24 15:22:09 +02:00
Denis Rouzaud
f5e66dd227 [sipify] handle constrained annotation 2017-05-24 14:49:28 +02:00
Denis Rouzaud
563e7c17fc sipify gui part 3 2017-05-24 14:49:28 +02:00
Denis Rouzaud
cc5e713e83 sipify gui part 4 2017-05-24 13:48:03 +02:00
Denis Rouzaud
801a0ea537 sipify gui part 5 2017-05-24 10:44:30 +02:00
Denis Rouzaud
30a7e44d57 [sip] handle Deprecated annotations
some additional fixes in headers too
2017-05-24 09:49:46 +02:00
Denis Rouzaud
694c8113e5 sipify gui part 1 2017-05-24 09:49:46 +02:00
Nyall Dawson
27077c875e Add a QgsStatusBar widget/interface for adding messages/widgets to
main window statusbar

QStatusBar gives almost no control over display and placement
of child widgets. It's not possible to subclass and reimplement
either, due to how QMainWindow works internally, and also due to
the special handling for the size grip and other platform specific
handling in QStatusBar.

Instead, we embed a single QgsStatusBar covering the whole real
status bar. All child widgets and temporary messages instead
are pushed to the QgsStatusBar instead - giving us as much control
as we desire over how these widgets are placed and their behavior.

As a result the locator widget has been moved to its logical placement
on the left of the status bar.

All plugins must ensure that they use the status bar interface
available via iface.statusBarIface() instead of directly interacting
with the status bar (e.g. iface.mainWindow().statusBar()...)
2017-05-18 10:35:33 +10:00
Nyall Dawson
8267fa3ddd Allow filters to provide configuration dialogs 2017-05-17 21:33:48 +10:00
Nyall Dawson
df9d9f6748 Invalidate current locator results when locator options are changed 2017-05-17 21:33:48 +10:00