Great, thanks!
On Mon, Nov 7, 2022 at 12:38 PM DelazJ wrote:
> Hi Tim,
> Yes, I'm in touch with Anita. And yes, I'll try to join the meeting
> tomorrow (I may be late, sorry in advance).
>
> Harrissou
>
> Le lun. 7 nov. 2022 à 09:50, Tim Sutton a écrit :
>
>> Hi Harrisou
>>
>>
>>
>> On Mon, Nov
Hi Matthias,
Do you mean disabling them with a Python init code and
QgsWidget.setEnabled(False) - right?
Just tried it - and it seems to work ;-)
Thanks for the hint!
Andreas
On 2022-11-07 15:46, Matthias Kuhn wrote:
Hi Andreas,
How about going the other way around and leaving them as ed
Hi Andreas,
How about going the other way around and leaving them as editable in the
config and disabling the widget via python instead?
Matthias
On Mon, Nov 7, 2022 at 3:42 PM Andreas Neumann via QGIS-Developer <
qgis-developer@lists.osgeo.org> wrote:
> Hi,
>
> I have a QGIS form with a number
Hi,
I have a QGIS form with a number of widgets that are set to "disabled".
I don't want the user to change these values manually, but they should
be updated by a Python action "on demand". Hence I set the editable
state of these widgets to False.
Now I noticed that while I can change values
Hi Tim,
Yes, I'm in touch with Anita. And yes, I'll try to join the meeting
tomorrow (I may be late, sorry in advance).
Harrissou
Le lun. 7 nov. 2022 à 09:50, Tim Sutton a écrit :
> Hi Harrisou
>
>
>
> On Mon, Nov 7, 2022 at 6:40 AM Delaz J wrote:
>
>> Hi Tim,
>>
>> Thanks for replying. I appr
On Mon, Nov 7, 2022 at 11:59 AM Andreas Neumann wrote:
>
> Hi Ale,
>
> Thanks for the hint!
You're welcome!
the formScope adds another feature: the "form" feature which
represents a virtual feature with the values taken from the current
form status.
>
> With
>
> expContext.setFeature(form.featu
Hi Ale,
Thanks for the hint!
With
expContext.setFeature(form.feature())
it seems to work.
I was assuming that adding the formScope would also add the feature
context ... but apparently not.
Now I can continue adding the more complex expression.
Thank you for your help!
Andreas
On 2022-1
Hi,
I also confirm this issue for the QGIS 3.22 documentation (
https://github.com/qgis/QGIS-Documentation/issues/7858) but afaict, tests
were still passing mid october (hence with 3.22.11).
Regards,
Harrissou
Le lun. 7 nov. 2022 à 11:15, Paolo Tormene via QGIS-Developer <
qgis-developer@lists.o
You need to set the feature if you want to access the feature fields.
QgsExpressionContext::setFeature( const QgsFeature &feature )
If you want the form feature values you need to use the current_value
or the current_feature functions.
Regards.
On Mon, Nov 7, 2022 at 11:27 AM Andreas Neumann vi
Hi,
I am trying to implement a Python action in "form" and "feature" action
scope that uses a QGIS expression, but fail to get a valid expression
calculation.
Here is my code so far:
from qgis.PyQt.QtWidgets import *
from qgis.core import QgsMessageLog
expContext = QgsExpressionContext()
ex
Hello. I use qgis docker images to run tests for a plugin. Recently my
tests started to fail when attempting to import qgis ("ModuleNotFoundError:
No module named 'qgis'").
I normally run tests using images qgis/qgis:latest and
qgis/qgis:release-3_22, in order to check compatibility with both the
l
Hi Harrisou
On Mon, Nov 7, 2022 at 6:40 AM Delaz J wrote:
> Hi Tim,
>
> Thanks for replying. I appreciate.
>
> OK, if no one steps up meanwhile, let's see how we can collaborate with
> the new recruit. But I feel that, at the beginning, he will be more skilled
> for general coding matters ("Co
12 matches
Mail list logo