8923 Commits

Author SHA1 Message Date
José de Paula R. N. Assis
b815d34d1e Using QElapsedTimer instead of QTime in DB Manager 2024-03-05 05:31:11 +10:00
José de Paula R. N. Assis
57d60c7161 DB Manager: tweaks for running Qt6
Small tweaks to running in Qt 6(removed obsolete method calls
QTime().start() and QTime().elapsed(), and changed an overloaded slot
(QComboBox::activated()) to a non-overloaded one (textActivated()).
2024-03-05 05:31:11 +10:00
Nyall Dawson
150543c6f1 Remove resources.qrc 2024-02-28 11:23:47 +10:00
Nyall Dawson
b45f68274c Remove another compiled icon use 2024-02-28 11:23:47 +10:00
Nyall Dawson
b369f1e1b0 Port dbmanager away from compiled resources
These are not recommended, and removed in PyQt6
2024-02-28 11:23:47 +10:00
Nyall Dawson
86eb5daf9e Remove unused class 2024-02-28 11:23:47 +10:00
Mathieu Pellerin
c3287126d5 [ui][db manager] Insure the information views are friendly to dark themes 2024-02-22 16:08:47 +10:00
Nyall Dawson
f1d762eba7 Update python/plugins/processing/gui/BatchPanel.py
Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2024-02-21 08:11:58 +10:00
Nyall Dawson
ece5d30a0b Ensure correct context is used when determining parameters for row
Fixes #56132
2024-02-21 08:11:58 +10:00
Nyall Dawson
496fd18e55 Add typehints 2024-02-21 08:11:58 +10:00
Nyall Dawson
def984cd4f Cleanup code, only run checks when warnOnInvalid is True
Refs #56132
2024-02-21 08:11:58 +10:00
Andrea Giudiceandrea
42f3a60743 Apply suggestions from code review 2024-02-18 06:52:52 +10:00
Andrea Giudiceandrea
5eb58df57e Fix typo 2024-02-18 06:52:52 +10:00
Andrea Giudiceandrea
dbdf35be77 gdal:fillnodata Skip testing NO_MASK parameter if GDAL >= 3.4.0 2024-02-18 06:52:52 +10:00
Andrea Giudiceandrea
3945c73b84 Rise an exception instead of an info message 2024-02-18 06:52:52 +10:00
Andrea Giudiceandrea
5a721c47c0 [processing] Fix GDAL "Fill NoData" algorithm
The gdal_fillnodata.py -nomask option is no longer supported since GDAL 3.4.0
2024-02-18 06:52:52 +10:00
Andrea Giudiceandrea
8309c5ecaa [processing][grass] v.transform: add missing parameters
-t, -w, -x, -y, -a and -b missing parameters added
2024-02-14 10:40:09 +10:00
Nyall Dawson
763278f8ef Don't use removed QDesktopWidget 2024-02-13 08:13:43 +10:00
Nyall Dawson
6d5ef5b961 processing plugin (mostly) works on qt6 builds now 2024-02-13 08:13:43 +10:00
Nyall Dawson
cdada7c764 Add test variants for GEOS >= 3.11 2024-02-12 18:38:21 +10:00
Nyall Dawson
da7461ff77 Fix some processing tests on newer library versions 2024-02-12 18:38:21 +10:00
Nyall Dawson
20d5b34cd3 Rename test_definition_file to definition_file
Otherwise unittest thinks the function is a test itself and runs it
accordingly, and then raises a deprecation warning because
return values are not permitted from test functions
2024-02-12 16:44:06 +10:00
Nyall Dawson
de0afb14db Don't call QFontMetrics.width() 2024-02-12 14:22:37 +10:00
Nyall Dawson
ad91789f9e Fix pyqt5_to_pyqt6 double unnesting some enums 2024-02-12 12:19:10 +10:00
Nyall Dawson
e5f7accc6a use another enum 2024-02-10 17:25:22 +10:00
Nyall Dawson
aeacb8fe07 Use enums, not raw ints 2024-02-10 17:25:22 +10:00
Andrea Giudiceandrea
247cadce38 [processing] Don't show hidden parameters in algorithmHelp 2024-02-10 09:24:07 +10:00
Nyall Dawson
a5cfd70f59 Update python/plugins/grassprovider/grass.txt 2024-02-08 12:54:46 +10:00
Alister Hood
e6184f122f Fix Python warning
ResourceWarning: unclosed file
2024-02-08 12:54:46 +10:00
AlisterH
e71f0c793e Fix flake errors from last commit 2024-02-08 12:54:46 +10:00
AlisterH
c322c0fcf4 g.extension.list.txt - use QgsProcessingParameterEnum 2024-02-08 12:54:46 +10:00
AlisterH
71dbfc6de8 fix flake error this time? 2024-02-08 12:54:46 +10:00
AlisterH
3adff5e943 Give output variables specific names 2024-02-08 12:54:46 +10:00
AlisterH
9e5aed44d1 fix flake error 2024-02-08 12:54:46 +10:00
AlisterH
e25d905970 fix lint error 2024-02-08 12:54:46 +10:00
AlisterH
31958e0d48 Save output of g.version and g.extension.list algorithms to an output variable as well as html 2024-02-08 12:54:46 +10:00
AlisterH
0fa4ca8180 refine new information in grass7.txt 2024-02-08 12:54:46 +10:00
AlisterH
2b9e2b77be Tweak new info in grass7.txt 2024-02-08 12:54:46 +10:00
AlisterH
830dc772b6 Minor fix to g.extension.list 2024-02-08 12:54:46 +10:00
AlisterH
ddcd8f004b Tell the user that they can run without any of the options to get just the GRASS version 2024-02-08 12:54:46 +10:00
AlisterH
4b5fb54dd1 Add g.version algorithm 2024-02-08 12:54:46 +10:00
Nyall Dawson
8f3944dabd Don't use QVariant(QVariant.Type) for NULL values in Python
Instead use qgis.core.NULL, so that the correct logic applies
for Qt6.
2024-02-07 19:35:28 +10:00
Nyall Dawson
4f6846ea56 Location of generated signature files is different on GRASS 8 2024-02-06 18:31:48 +10:00
Nyall Dawson
2fae8655a4 Ensure config file is written to correct location for grass > 7 2024-02-06 18:31:48 +10:00
Nyall Dawson
d2cbdb1274 Add some more grass raster hashes for more recent GRASS versions 2024-02-06 18:31:48 +10:00
Nyall Dawson
ea3a86508e Rename more references to grass7 to version-less "grass" 2024-02-06 18:31:48 +10:00
Nyall Dawson
0ab66b7b6f Rename grass provider files and classes to remove hardcoded version
number
2024-02-06 18:31:48 +10:00
Nyall Dawson
4ba4eae72a [processing] Rename grass7 provider to grass provider
And transparently map requests for grass7 provider to grass provider

It's misleading putting an old version number in the provider name,
when this provider supports grass versions 8 +
2024-02-06 18:31:48 +10:00
Nyall Dawson
cdcbd35f10 Indent 2024-02-04 05:54:10 +10:00
Nyall Dawson
5188e67bc4 Avoid use of pygments in metasearch
This isn't required -- it was used to convert xml/json to
a prettified HTML representation, but we get better results
by just using the QgsCodeEditor widget subclasses instead
(eg bracket highlighting, collapsing, line numbers etc)
2024-02-04 05:54:10 +10:00