Nyall Dawson
bb379242fc
Add filter for provider origin fields only to QgsFieldProxyModel
2024-03-04 08:14:01 +10:00
Nyall Dawson
c16a1e2b3d
Update enums
2024-01-19 19:44:48 +10:00
Julien Cabieces
9d12ae8e6d
[PyQt6] Add scope for enums and get rid of PyQt5.XXX import
...
this has been done automatically with the following comand line
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./python/plugins/
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./tests/src/python/
2024-01-10 21:15:27 +10:00
Nyall Dawson
13bc09e706
Remove redundant "import qgis" lines from python files
...
These were only needed way back in the early days of qgis 3.0
transition, now they have no effect
2023-11-25 07:40:02 +10:00
Matthias Kuhn
1626b7e928
Move tests to QgisUnitTests
2023-07-07 14:29:28 +10:00
Etienne Trimaille
651d2f01a6
Python - run isort and remove unused imports in the test folder
2023-02-03 15:38:17 +01:00
Etienne Trimaille
e2cfb8dd2e
Tests - Run pyupgrade on all Python test files
2023-02-01 08:55:01 +10:00
Ismail Sunni
562b11fd9b
Filter out field with readonly in the quick field calculator.
...
Fix #34331
2020-04-04 10:11:23 +10:00
Ivan Ivanov
6a0ae060bc
Added new static QgsFieldModel::fieldToolTipExtended
2020-03-26 09:05:49 +10:00
Ivan Ivanov
050dfce89a
FIX #15144 add tooltip on fields in identify window / attribute window / feature form
...
- added new `QString QgsField::displayType( const bool showConstraints = false )` to unify the display of field types whenever length or precision are present
- added new argument `expression` to `QgsFieldModel::fieldToolTip( const QgsField &field, const QString &expression = QStringLiteral() )`. Now the tooltip shows "<alias> (<field>)\n<type>\n<comment>\n<expression>" with appropriate formatting
- added meaningful field tooltips in the "Identify Results" dialog
- field tooltips show the same content in "Feature Attributes" form, "Attribute Table" and "Identify Tool"
Fixes #15144
2020-03-26 09:05:49 +10:00
Nyall Dawson
9a6cb4689f
Add API to QgsFieldModel/QgsFieldComboBox to manually set the fields
...
to show in the widget (i.e. when no layer is available)
2020-02-24 21:05:22 +10:00
Nyall Dawson
126ccb9736
Apply same logic regarding joined fields as is used in field calculator
...
to QgsFieldProxyModel set to hiding read only fields
I.e. show editable joined fields, but only if they are set to a non-hidden
editor widget
2019-08-06 13:47:41 +10:00
Juergen E. Fischer
88cb4d4eda
dxf export: fix export of curved geometries
2019-06-21 13:14:46 +02:00
Bas Couwenberg
2628c480c5
Don't include revision in sources.
...
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
Nyall Dawson
0a9f019f27
Indentation
2018-01-30 15:59:57 +10:00
Nyall Dawson
975ef8e899
Show field type in tooltip in attribute table header
2018-01-25 11:35:54 +11:00
Nyall Dawson
b4a798e892
Setting field for QgsFieldComboBox should be case-insensitive
2017-09-22 11:39:17 +10:00
Denis Rouzaud
0b0e8a6a89
move QgsFieldModel and QgsFieldProxyModel to core and sipify
2017-04-19 16:44:36 +02:00
Juergen E. Fischer
c77172ed3d
fix more flake8 warnings
2017-03-05 10:21:24 +01:00
Nyall Dawson
85c8c97d5f
Allow empty field name ('not set' option) in QgsFieldModel, QgsFieldComboBox
2016-11-15 07:00:35 +10:00