Martin Dobias
316d9c3359
R.I.P. QgsSnapper and QgsMapCanvasSnapper
...
These classes have been replaced by more efficient and flexible classes
(see QgsPointLocator, QgsSnappingUtils, QgsMapCanvasSnappingUtils)
2017-04-17 17:08:48 +08:00
Alexander Bruy
85788151c2
doxymentation
2017-04-17 10:59:17 +03:00
Alexander Bruy
6bcc066d6f
sipify QgsCredentials dialog
2017-04-17 10:59:17 +03:00
Martin Dobias
e73a52bb35
[FEATURE] New node tool implementation
2017-04-17 14:23:36 +08:00
Nyall Dawson
eff5a823c9
[sipify] Convert "\a arg" to "`arg
`" when processing Docstrings
...
Allows argument names to be highlighted in Python docs
2017-04-17 13:49:59 +10:00
Nyall Dawson
6a72c945af
[sipify] Don't autocreate Docstrings for overridden members
...
Skip the autocreated Docstrings with rtype annotations if the
member is overridden - better to use the base class
Docstring in this case.
2017-04-17 11:03:02 +10:00
Nyall Dawson
96d5b9dae6
Implement a QGIS 3.0 TODO for QgsMessageLogViewer, cleanup docs
2017-04-17 10:55:53 +10:00
Nyall Dawson
798c318288
[sipify] Fix loss of class docstring if newline present between
...
class doxygen and class definition
2017-04-17 10:49:29 +10:00
Nyall Dawson
a45e5700da
Use weak pointers for registered QgsOptionsWidgetFactorys
...
Avoids QGIS crashing if a plugin crashes without deregistering
its QgsOptionsWidgetFactory.
2017-04-11 14:25:50 +10:00
Alexander Bruy
78d02b7fab
Merge pull request #4299 from alexbruy/checkable-combobox
...
[FEATURE] New custom widget checkable combobox
2017-04-10 09:33:01 +03:00
Nyall Dawson
b0c88f1b80
Add missing currentThemeChanged signal to interface
2017-04-10 09:19:42 +10:00
Matthias Kuhn
5805cf99f1
Some docstring improvements
2017-04-08 23:42:55 +02:00
Matthias Kuhn
d902575f58
Sipify
2017-04-08 23:42:55 +02:00
Alexander Bruy
0803b56861
remove docs for parent parameter
2017-04-08 12:00:20 +03:00
Alexander Bruy
df0c26d9e0
update SIP file
2017-04-08 11:31:54 +03:00
Alexander Bruy
fc4ce3c562
address Nyall's comments:
...
- add TransferThis to parent argument
- QSignalSpy always available with Qt5
2017-04-08 08:30:59 +03:00
Alexander Bruy
22ea3ac48f
homogenize doxygen comments
2017-04-08 08:30:59 +03:00
Alexander Bruy
8b7a6b80a7
sipify
2017-04-08 08:30:59 +03:00
Alexander Bruy
9fbb31a31c
add context menu with select/deselect all options
2017-04-08 08:30:59 +03:00
Alexander Bruy
ec2af9bd89
more doxymentation
2017-04-08 08:30:59 +03:00
Alexander Bruy
6ab2bd0673
add Python bindings
2017-04-08 08:30:59 +03:00
Nyall Dawson
bfd37e1122
[sipify] Add return types for functions in docstrings
...
and change \return -> :return: in docystrings
2017-04-08 09:48:48 +10:00
Matthias Kuhn
58d2d6d7f9
sipify_all
2017-04-07 12:26:30 +02:00
Martin Dobias
61ace1cc61
Slightly improved markers for highlighted nodes and circular nodes
2017-04-05 16:10:46 +08:00
Nyall Dawson
ae59e35dac
Complete daily allocation of Qt5 connect transitions
2017-04-04 09:40:25 +10:00
Nyall Dawson
e1e1f0d514
Strip \a from doxygen comments in sipify
2017-04-03 13:18:36 +10:00
Nyall Dawson
5813eb132b
Modernise CharacterWidget API, move to sipify
2017-04-03 13:18:36 +10:00
Nyall Dawson
6ea616ef4b
Fix compilation error on Travis
2017-03-30 11:38:16 +10:00
Nyall Dawson
5b9dc9dca5
Allow labels to be toggled in map views
...
Another step toward feature parity with overview panel
2017-03-28 13:18:24 +10:00
Nyall Dawson
77e7693c48
Fix spelling errors in processing algorithm help
2017-03-25 16:23:29 +10:00
Mathieu Pellerin
9c5abc9587
[FEATURE] Add a secondary stroke color to QgsRubberBand ( #4301 )
...
This comes in handy when in need of insure visibility of a
marker/line/polygon overlay over both light and dark areas.
This also updates the map view's extent to make use of a
secondary stroke color instead of a semi-transparent fill.
2017-03-24 14:49:37 +07:00
Nyall Dawson
2354696f26
Fix error when enabling additional providers in processing
...
Add an interface method to show the options dialog at a specific
page. This is required since plugins can now embed their options
in the main options dialog, so they may also need a way to
force this dialog to open.
Implement this in processing so that enabling additional providers
works again.
2017-03-24 11:16:49 +10:00
Matthias Kuhn
f33aabd90a
Completely move layer order to core
2017-03-23 15:29:12 +01:00
Nyall Dawson
0500865b3f
Set default layer CRS according to behaviour radio ( fix #11889 )
...
Makes the new layer dialogs correctly respect the current project
CRS choice when set to follow project CRS.
2017-03-22 11:13:30 +10:00
Nyall Dawson
aad182fdc0
Merge pull request #4274 from nyalldawson/scroll_timer
...
A different approach to avoiding accidently scroll changes
2017-03-22 06:23:55 +10:00
Nyall Dawson
b54fe1e3a5
Use a clearer marker for main canvas position in view windows
2017-03-21 15:49:42 +10:00
Nyall Dawson
3aef32a191
[composer] Rework interface composer methods
...
Since composer windows are now only created on demand, and
destroyed when the window is closed, the old interface methods
no longer apply. The new interface methods openComposers(),
openComposer(), closeComposer(), composerOpened(),
composerWillBeClosed() and composerClosed() are similar, but
only apply to composer windows when they are exist (i.e.
are currently open).
To access all compositions from a project, the project's
layoutManager() should be used instead.
Additionally, the new interface methods work with
QgsComposerInterface objects instead of QgsComposerView
objects. This should allow future hooks for plugins to interact
with open composer windows in a more useful way.
2017-03-21 10:32:53 +10:00
Nyall Dawson
b408952815
Add a basic interface for composer windows
...
Not much there yet, but it adds an interface with stable API
which can be used by plugins and scripts to interact with
composer windows.
Could be expanded in future to add hooks for toolbars, menus,
etc, allowing plugins to extend composer functionality.
2017-03-21 10:32:53 +10:00
Nyall Dawson
8e6d792710
Swap all QScrollAreas to QgsScrollAreas
2017-03-21 08:46:41 +10:00
Larry Shaffer
921a0c75e3
Updates to QgsPasswordLineEdit
...
- Add public func to set password visibility (instead of exposing slot)
- Add initial password visibility param; default to obfuscated (false)
- Fix bug where initial visibility was true, but show/hide was opposite
- Add generic tool tips to show/hide action
2017-03-17 16:33:40 -06:00
Etienne Trimaille
24e3214eda
add checkbox to open sublayers in a group
2017-03-17 17:19:51 +01:00
Nyall Dawson
e5f581405e
Allow clicking mouse back button on stacked panel widgets
...
Only works if click occurs outside of widgets - we probably should
start ignoring clicks which aren't left/middle/right in any
mouse event handlers
2017-03-17 13:57:53 +10:00
Nyall Dawson
738f4415d9
Merge pull request #4253 from nyalldawson/multi_canvas2
...
[FEATURE] Multi canvas/additional map views
2017-03-15 10:06:39 +10:00
Alexander Bruy
a537c0c052
add SIP bindings
2017-03-14 12:42:30 +02:00
Nyall Dawson
2d37ca9bd9
Add method to interface to close map canvases
2017-03-14 12:20:58 +10:00
Nyall Dawson
ea10cc68f0
Allow annotations to be toggled in additional map views
2017-03-14 09:28:34 +10:00
Nyall Dawson
29d77b0ce1
[FEATURE] Shell functionality for creating new canvases
...
Allows new "map views" to be created in the main QGIS interface.
These are map canvases, but with limited functionality (ie
no use of map tools beyond pan tool).
2017-03-14 09:28:33 +10:00
Nyall Dawson
5eccaf6020
Project layer order returns all layers in order, not just visible ones
...
Otherwise map themes with different visible layers cannot be
correctly ordered
2017-03-13 12:52:55 +10:00
Nyall Dawson
9842fcbfc7
Add convience method to block while canvas is rendering
...
NOT to be called from anything but unit tests and standalone
scripts!!
2017-03-13 10:00:36 +10:00
Nyall Dawson
af532ecdf3
Improved docs for QgsMapCanvas::setTheme, handle setLayers and
...
setLayerStyleOverrides when canvas is following a map theme
2017-03-13 09:53:09 +10:00