Nyall Dawson
47236421af
[needs-docs] Move Python Console settings for font colors and family
...
to new "Code Editor" tab in options dialog
These settings apply to more than just the Python console editors -
rather they apply to all code editors across QGIS (including expression
editors)
2020-10-05 13:24:46 +10:00
Nyall Dawson
e2ff63da48
Copy font setting logic from QgsPythonConsoleBase to QgsCodeEditor
2020-10-05 13:24:46 +10:00
Salvatore Larosa
2cf6d11997
[pyqgis-console] revert changes for handy commands
2020-10-04 13:19:26 +10:00
Salvatore Larosa
f724793cf0
[pyqgis-console] a better attribute name
2020-10-04 13:19:26 +10:00
Salvatore Larosa
74631215e6
[pyqgis-console] fix missing import
2020-10-04 13:19:26 +10:00
Salvatore Larosa
8533d9a89b
[pyqgis-console] restore the correct prompt
2020-10-04 13:19:26 +10:00
Nyall Dawson
5ed37da0b8
Don't hardcode font family for python editor line numbers
2020-10-04 05:02:57 +10:00
Nyall Dawson
ad946d45c8
Ensure colors in Python console match colors for Python editors
...
used elsewhere in the application
2020-10-04 05:02:57 +10:00
Nyall Dawson
89ace9aeca
QgsPythonConsoleBase should use the standard QgsCodeEditorPython
...
class as a base class
Actually it should be completely folded into QgsCodeEditorPython
so that we have a single definitive Python code editor widget, but
this is a first step toward that...
2020-10-04 05:02:57 +10:00
Nyall Dawson
6078fe4842
Cleanup color handling in QgsCodeEditor classes
...
Remove a bunch of duplicate default color definitions, and ensure
that all subclasses correctly respect any user defined color overrides,
yet that we still default to following the application theme's matching
color schemes.
2020-10-03 19:58:50 +10:00
Alessandro Pasotti
b0189b4149
Return a proper QgsProviderConnectionException from python table()
...
Fixes #39151
2020-10-03 19:06:05 +10:00
Salvatore Larosa
7c476d176a
[pyqgis-console] fix instance attibute name
2020-10-03 08:46:35 +02:00
Salvatore Larosa
f32725658f
[pyqgis-console] fix missing import, amd minor fixws to UI
2020-10-03 09:11:32 +10:00
Salvatore Larosa
4fea3ed822
[pyqgis-console] move console options to main app options
2020-10-03 09:11:32 +10:00
vcloarec
299709994d
change return type of QgsRasterDataProvider::clone()
2020-10-03 05:57:18 +10:00
Nyall Dawson
ab6bbfda1d
Fix all remaining Qt QFlags deprecated constructor warnings
2020-10-02 13:04:49 +10:00
nirvn
9d105d9d59
[layer tree] Avoid needless layer tree model computations for scale-based layer visibility
2020-09-29 06:25:02 +07:00
Salvatore Larosa
e17913c6ea
[pyqgis-console] add search icon to filterlineedit
2020-09-27 11:14:38 +02:00
Salvatore Larosa
a2fb7f3eeb
[pyqgis-console] change message bar to Warning
2020-09-27 04:55:13 +10:00
Salvatore Larosa
1760e26a3a
[pyqgis-console] warn user to generate personal access token
2020-09-27 04:55:13 +10:00
Salvatore Larosa
4347e81202
[pyqgis-console] adress some comment: add button to link at generate token page
2020-09-27 04:55:13 +10:00
Salvatore Larosa
eee29257bd
[pyqgis-console] use QgsBlockingNetworkRequest to create Gist
2020-09-27 04:55:13 +10:00
Salvatore Larosa
c92e873815
[pyqgis-console] using gist to share snippets instead of codepad
2020-09-27 04:55:13 +10:00
uclaros
9953570e30
Added method to clear all individual layer settings in QgsSnappingConfig
2020-09-26 10:30:13 +10:00
Alessandro Pasotti
eb3c78d12d
DB manager fix add comment while creating table
...
Fixes #38394
2020-09-25 10:56:13 +02:00
Alexandre Neto
279c499bb1
Fix QgsProcessingParameterNumber docstring example
...
(cherry picked from commit 66011b22ce181c93aebeda1f0c320f254a67ca30)
2020-09-25 10:58:12 +10:00
Alessandro Pasotti
3b6178ad3b
Merge pull request #38981 from elpaso/bugfix-gh38975-and-other-db-manager-issues
...
Bugfix gh38975 and other db manager issues
2020-09-24 18:42:56 +02:00
Alessandro Pasotti
871f534ef9
Fix PG db-manager rename schema
...
Fixes #38998
2020-09-24 14:23:26 +02:00
Andrea Giudiceandrea
e7e08fd504
Fix grassname of raster layer bands in r_rgb.py
2020-09-24 18:45:59 +10:00
Mathieu Pellerin
931136879c
[processing] Make batch process faster ( #38989 )
2020-09-24 12:34:59 +07:00
Alessandro Pasotti
83525abd5c
Respect scale lock when panning/zooming the map
...
Fixes #38953 and #38417
2020-09-24 09:04:36 +10:00
Alessandro Pasotti
9880a751a9
DB manager Fix SHOW in PG queries
...
Fixes #8975
2020-09-23 15:14:04 +02:00
zhanggaolei
3119eb7de2
fixed #38938 Wrong GRASS processing description files
2020-09-23 18:26:40 +10:00
Nyall Dawson
c3a26db4ba
[layouts] When selecting a CRS for a map item, don't show misleading
...
"no crs" option at the top of the dialog.
Instead, correctly label this option as "Use project CRS", which
is what it actually means.
2020-09-23 14:13:35 +10:00
Nyall Dawson
c68d05cc40
Improve misleading/confusing API, and fix "layer has no CRS" message
...
incorrectly show at the top of many projection selection dialog boxes
2020-09-23 14:13:35 +10:00
Nyall Dawson
05c25194d1
Also use splitter in QgsProjectionSelectionDialog
2020-09-23 14:13:35 +10:00
Nyall Dawson
8dd75cc9cc
[layouts] Improve UI for formatting manual table cells
...
Instead of the confusing duplicate settings for foreground color
vs cell text color, remove the foreground color button and only
expose this color setting via the cell text color.
2020-09-23 03:15:28 +10:00
Salvatore Larosa
8e9bf8bf49
Merge pull request #38917 from slarosa/fix_console_byte
...
[pyqgis-console] fix byte conversion
2020-09-22 17:15:05 +02:00
Alessandro Pasotti
063b8daab3
Merge pull request #38940 from elpaso/bugfix-gh38092-executesql-feedback-followup
...
Be smart when adding limit: followup #8092
2020-09-22 11:32:27 +02:00
Alessandro Pasotti
ef02c54252
Be smart when adding limit: followup #8092
2020-09-22 09:26:13 +02:00
Juergen E. Fischer
a15fff158a
Translation string fix
2020-09-22 09:12:15 +02:00
Nyall Dawson
f3f226aa69
In cases where we cannot convert the map extent back to a layer's
...
extent and have had to resort to fetching all features from a layer,
defer the geometry clipping the map extent so that it occurs
AFTER transforming the layer's geometries to the target map extent.
This allows us to correctly clip the feature geometries in the case
that the visible extent available from the render context for the layer
is not accurate (i.e. it's a whole of globe fallback), and avoids
rendering features which fall far outside of the visible map
region.
Fixes #38878
2020-09-22 06:50:34 +10:00
Nyall Dawson
9990b84bdb
Add QgsClipper::clippedLine variant which accepts a QPolygonF line
...
input
2020-09-22 06:50:34 +10:00
Salvatore Larosa
bc71fae005
[pyqgis-console] fix byte conversion
2020-09-21 17:19:57 +02:00
Alessandro Pasotti
1c1febc0d6
Merge pull request #38870 from elpaso/bugfix-gh38092-executesql-feedback
...
Add feedback to executeSql
2020-09-21 15:45:21 +02:00
Alessandro Pasotti
6d866e3341
Address PR comments
2020-09-21 14:02:24 +02:00
Nyall Dawson
620948f809
Add method to change capitalization of QgsTextDocument
2020-09-21 12:05:54 +10:00
Nyall Dawson
772181bc16
[processing] Don't assume iface is available
...
E.g. in qgis_process iface is None
Fixes #38862
2020-09-21 12:05:34 +10:00
Nyall Dawson
ed6e9ac84c
Dox++
2020-09-21 11:05:34 +10:00
Etienne Trimaille
6076950c68
Add help string for parameters in Processing
2020-09-21 11:05:34 +10:00