2181 Commits

Author SHA1 Message Date
Nyall Dawson
b9b690caac Remember splitter width for conditional formatting panel in attribute table 2019-09-26 12:41:04 +10:00
Nyall Dawson
425afaa270 A little dox improvement to test sip prepare-commit changes 2019-09-24 03:43:42 +10:00
Nyall Dawson
39cfd0f935 [needs-docs] Show color button style "Pick color" and "Chooe Color" actions
in symbol button menu

Synchronizes the behavior of the color and symbol buttons

Fixes #25696
2019-09-24 03:41:51 +10:00
Nyall Dawson
2ff91d24a9 Move methods to sample screen pixels to QgsGui 2019-09-24 03:41:51 +10:00
BogDan Vatra
f96c4a2308 Block the events while showing a dialog
When showing a file dialog, Qt can choose to use the "system" file
dialog, which will make QgsExternalResourceWidget to loose the focus.
This patch blocks all the events that are sent to
QgsExternalResourceWidget while a dialog is shown, this way it will keep
the focus until the dialog is closed.

Sponsored by the QGIS project (qgis.org)

Fixes: #26948
2019-09-22 12:28:52 +03:00
Alessandro Pasotti
240bfb2a3f
Merge pull request #31871 from elpaso/bugfix-gh31635-spinbox-double-changed-event
Fix double event fired by QSpinBox in slow graduated
2019-09-20 09:04:34 +02:00
Denis Rouzaud
cc64787ee6
Merge pull request #31859 from 3nids/layer_tree_insertion_point_v2
[layer tree] dedicated method in QgisApp to determine insertion point
2019-09-19 11:17:58 +02:00
Alessandro Pasotti
60fb0cb47f Apply timer spinbox workaround to QgsDoubleSpinBox too
To prevent double changed event fired in case the slot
takes too long to execute.
2019-09-19 09:10:26 +02:00
Denis Rouzaud
13119193ba fix API doc and init values 2019-09-19 09:05:40 +02:00
Alessandro Pasotti
8192ed8cce Fix double event fired by QSpinBox in slow graduated
... renderer widget

Fixes #31635

For the record of the underlying issue:

https://lists.qt-project.org/pipermail/interest/2013-July/007936.html
https://forum.qt.io/topic/82181/qt-doublespin-box-value-changed-slot-has-called-twice
https://forum.qt.io/topic/96094/qspinbox-value-changed-slot-has-called-twice-on-mouse-click
https://www.qtcentre.org/threads/53709-slot-valueChanged(double)-of-doubleSpinBox-called-twice-if-breakpoint-is-set
2019-09-18 15:06:31 +02:00
Denis Rouzaud
838dbef3c0 [layer tree] dedicated method in QgisApp to determine insertion point
and create bindings to get the current insertion point in QgisInterface
2019-09-17 20:55:40 +02:00
Etienne Trimaille
3b95172362
update docstring about QgsDateTimeEdit about NULL values 2019-09-17 17:25:15 +02:00
Peter Petrik
cdd3a55e9e fix #30766, sip crash for QgsHighlight 2019-09-14 06:38:25 +10:00
Alessandro Pasotti
81985a9ca4 Resize not-focused tabs for datasource and options dlgs
Moved logic into base class. I did not find any other
suclass affected.
2019-09-13 12:38:48 +02:00
Nyall Dawson
423b779411 [needs-docs] Add iface.pluginHelpMenu()
Returns a reference to the main window "Plugin Help" sub-menu.

Plugins are encouraged to insert help and about actions in this submenu instead of creating
a submenu under the pluginMenu() which solely contains Plugin Help or About actions.

For example, a plugin which only implements a processing provider should not
create additional ui menus just to link to the plugin help pages. Rather, they
should use this new submenu (available under the Help menu) to insert
their help links.
2019-09-12 11:27:42 +10:00
Julien Cabieces
57aec1f4af Fix documentation 2019-09-06 11:55:06 +02:00
Julien Cabieces
c699ab5eb9 Don't break QgsMapCanvasSnappingUtils API 2019-09-06 10:41:28 +02:00
Julien Cabieces
4081bea801 Use TaskManager to build index 2019-09-06 09:42:22 +02:00
Julien Cabieces
ead7481e3f [FEATURE] Parallelize snap index build 2019-09-06 09:36:16 +02:00
Julien Cabieces
3abbc0f178 Digitize the geometry from the relation reference widget add button (#30905)
* [FEATURE] [needs-docs] Add the possibility to digitize the geometry
when creating a feature from the plus button on the relation reference widget
2019-09-06 08:28:59 +02:00
nirvn
c1cce181b4 [ui] Make the show bookmarks action focus on browser panel's bookmark node 2019-09-06 11:38:55 +07:00
Nyall Dawson
e0c38e555f Consolidate some duplicate code relating to zooming canvas to bookmarks 2019-09-05 14:50:48 +10:00
Nyall Dawson
16787abbe9 Fix broken rename support in browser 2019-09-05 14:50:48 +10:00
Nyall Dawson
58975e7cee Add API to QgsCustomDropHandler to support custom drop handlers which
allow drops onto a QgsMapCanvas
2019-09-05 14:50:48 +10:00
Peter Petrik
635c1b54d8 Allow to use WMS as static provider 2019-09-04 07:49:09 +02:00
Denis Rouzaud
ee6f8c580c const correctness, fix deprecated methods,
qVariantListIsNull returns true for an empty list
2019-08-29 10:31:55 +02:00
Denis Rouzaud
93a82f883a use composite keys in relation reference widget wrapper 2019-08-29 08:17:00 +02:00
Denis Rouzaud
c8f16fc955 use composite keys in relation reference widget 2019-08-29 08:17:00 +02:00
Denis Rouzaud
81eb4eebff const correction 2019-08-26 16:32:40 +02:00
nirvn
07c871de5f Add dox note on symbol ownership in QgsSymbolSelectorWidget class 2019-08-26 18:31:15 +07:00
nirvn
d26b7abc57 QgsSymbolSelector{Widget,Dialog} class cleanup 2019-08-26 18:31:15 +07:00
nirvn
648af3ed89 [ui] Fix single feat. renderer symbol levels reset when changing style (fixes #26547) 2019-08-26 18:31:15 +07:00
Denis Rouzaud
f578216919
modify editor widget wrappers to handle additional fields (#31270) 2019-08-26 08:53:37 +02:00
Denis Rouzaud
cab11fe919 add method to set extra identifier values to Null and embryon of test 2019-08-23 16:17:37 +02:00
Denis Rouzaud
a5574eb96b allow QgsFeatureListComboBox to handle multiple keys 2019-08-23 08:17:14 +02:00
Nyall Dawson
b3c1719e98 Fix unnecessary layer reloads triggering after project load, which
also causes a leak
2019-08-12 16:41:31 +10:00
Nyall Dawson
f672124e39 Take the nuclear option 2019-08-08 11:19:55 +10:00
Nyall Dawson
013779824f Attempt to fix doxygen warning 2019-08-08 11:19:55 +10:00
lbartoletti
03f48bdbd8 Rewriting documentation 2019-08-07 07:30:19 +10:00
lbartoletti
2354065e90 use Enum for Result of addTopologicalPoints 2019-08-07 07:30:19 +10:00
lbartoletti
aaa6f65537 topologicalEditing: Fix Z for add feature 2019-08-07 07:30:19 +10:00
Nyall Dawson
ba55fb3e0a Use real symbol buttons in categorized and graduated renderer widgets,
instead of fake ones

Gives these buttons the full power of the usual QgsSymbolButton,
including copy/paste symbols, color/opacity changes, etc. Plus,
some nice additional interface consistency!
2019-08-01 16:03:47 +10:00
Nyall Dawson
193f520ad9 Deprecate existing QgsCustomDropHandler::handleMimeData method,
and add handleMimeDataV2 method which returns a bool

This allows custom drop handlers to indicate that they've fully
handled dropped mime data, and that no further processing should
be done on the mime data
2019-08-01 04:29:34 +10:00
Nyall Dawson
55efeaeb2f [FEATURE] Add copy/paste symbol action to right click menu in categorized/graduated/rule based renderers
Allows symbols to be easily copied and pasted between these nodes
2019-07-31 20:49:43 +10:00
Nyall Dawson
b9482dda6b Dox++, unit tests 2019-07-31 05:08:37 +10:00
Sandro Mani
62f5f5e8e3 Add QgsLayerTreeView::setLayerVisible 2019-07-31 05:08:37 +10:00
Nyall Dawson
5af2e52fff Allow custom drop handlers to indicate that they will accept a mime type
in advance

Allows non-standard mime types to be dropped onto the QGIS window,
which will be handled by custom drop handlers
2019-07-31 05:06:50 +10:00
nirvn
0ffd1174db Address review 2019-07-30 18:06:26 +07:00
nirvn
ec99bd6240 [FEATURE][callouts] Add anchor point position settings for polygon features 2019-07-30 18:06:26 +07:00
Matthias Kuhn
fa847d16ff Fix code style 2019-07-25 16:00:04 +02:00