[QGIS-Developer] Create layer, start edit session, commit and end edit session does not get me completely out of edit session and get my pan cursor back

2023-03-17 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I have written code that automatically creates an empty QgsVectorLayer, adds it 
to the layer panel; I add a call to 
vlayer.featureAdded.connect(self.check_size) on the created layer that starts 
an edit session as well as checks that my polygon is within a min and max size. 
 The user can then use QGIS edit tools to add the feature.  After one feature 
is added it commits the changes.  This tool is to just draw an AOI so I want to 
auto close the edit session.  Though the layer is no longer in edit mode, the 
edit bullseye cursor is still showing.  It seems the edit mode is still in 
play.  I can still draw on the canvas and the shaded polygon shows up as if I 
am in edit mode.  I don't get an error.  Why does not running  commitChanges() 
completely get me out of edit mode.  My fix sine I cannot figure this out is to 
run iface.actionPan().trigger() to get myself back in pan mode, but why does 
this not get done automatically.

If I use QGIS to create an empty layer, toggle editing on by selecting that 
option on the layer in the layer panel, add a feature, and then toggle editing 
off and select save when prompted, I get the pan cursor back and I am 
completely out of edit mode.  What code do I need to run to accomplish this in 
python? I basically just use startEditing and commitChanges to start and end an 
edit session.

Thanks,
Luke
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] PyQGIS icons cheatsheet

2023-03-17 Thread Julien Moura via QGIS-Developer

Of course, why not?
But I'm not sure it's worth it, as there's not much original text, as 
it's mostly technical notes.


Or are you talking about blog posts?

Kind regards,
Julien

Le 17/03/2023 à 11:29, Luca Manganelli a écrit :

Fantastic! It is possible to make a translated version?






Comune di Trento

via Belenzani, 19 - 38122 Trento | C.F e P. IVA: 00355870221

tel. +39 0461.884111 | www.comune.trento.it 
BEGIN:VCARD
VERSION:4.0
EMAIL;PREF=1:julien.mo...@oslandia.com
EMAIL:juli...@oslandia.com
FN:Julien Moura
NICKNAME:jmo
ORG:Oslandia;
TITLE:Consultant - Ingénieur développeur
N:Moura;Julien;;;
ADR:;;France
URL;VALUE=URL:https://static.geotribu.fr
X-MOZILLA-HTML;VALUE=BOOLEAN:TRUE
UID:c6b195b1-5100-402f-bb73-b312bb7289c0
END:VCARD
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] [Qgis-psc] QGIS QT6 meeting minutes

2023-03-17 Thread WhereGroup
Yeah, I had simply missed the context of the thread and thought I could 
contribute "here is another distro where one could use qt6 already" ;). 
Didn't mean that it would be a viable distro to put any development 
focus on in any way(!).


Cheers, Hannes

Am 17.03.23 um 16:05 schrieb Loïc Bartoletti via QGIS-Developer:

And …
And of course, the only one unix : FreeBSD, and also Alpine, Mageia, 
OpenMandriva, Pisi, Solus : 
https://repology.org/project/python:qt6/versions
And xxx as well : https://repology.org/project/pyqt6/versions ; 
https://repology.org/project/pyqt6-python3/versions ; etc


Thank you all for this proposal and participation in this effort. I'm 
just kidding by listing all the existing distributions, just to 
refocus the discussion.


If it is undoubtedly that it is easier for us, developers, to work on 
our unix-like systems . But, please keep in mind 
the main thing: the majority of our users are not on the mentioned 
systems.


I didn't find the exact statistics, but I bet on something like 90% 
windows, 9% mac and the rest between unix like with more than 0.000x 
for Debian/Ubuntu and RHEL/CentOS.


Just my 2 cts.

Loïc


Archlinux as well:




Am 15.03.23 um 09:56 schrieb Sebastiaan Couwenberg via QGIS-Developer:
>>/I'll leave the answer to your question to others, IIRC at the time 
/> >>/fedora was the only distro packaging pyQt6 and SIP. /> >//> 
>/Debian has PyQT6 too: /> >//> 
>/https://tracker.debian.org/pkg/pyqt6 /> >//> >/Kind Regards, /> 
>//> >/Bas /> >//

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


--
Johannes Kröger / GIS-Entwickler/-Berater

**
FOSSGIS Konferenz
15.-18. März 2023 in Berlin
https://fossgis-konferenz.de/2023/

WhereGroup-Beiträge auf der FOSSGIS
https://wheregroup.com/unternehmen/aktuelles/
**

WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroe...@wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
---

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] [Qgis-psc] QGIS QT6 meeting minutes

2023-03-17 Thread Loïc Bartoletti via QGIS-Developer

And …
And of course, the only one unix : FreeBSD, and also Alpine, Mageia, 
OpenMandriva, Pisi, Solus : 
https://repology.org/project/python:qt6/versions
And xxx as well : https://repology.org/project/pyqt6/versions ; 
https://repology.org/project/pyqt6-python3/versions ; etc


Thank you all for this proposal and participation in this effort. I'm 
just kidding by listing all the existing distributions, just to refocus 
the discussion.


If it is undoubtedly that it is easier for us, developers, to work on 
our unix-like systems . But, please keep in mind 
the main thing: the majority of our users are not on the mentioned systems.


I didn't find the exact statistics, but I bet on something like 90% 
windows, 9% mac and the rest between unix like with more than 0.000x for 
Debian/Ubuntu and RHEL/CentOS.


Just my 2 cts.

Loïc


Archlinux as well:




Am 15.03.23 um 09:56 schrieb Sebastiaan Couwenberg via QGIS-Developer:
>>/I'll leave the answer to your question to others, IIRC at the time 
/> >>/fedora was the only distro packaging pyQt6 and SIP. /> >//> 
>/Debian has PyQT6 too: /> >//> >/https://tracker.debian.org/pkg/pyqt6 
/> >//> >/Kind Regards, /> >//> >/Bas /> >//

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] PyQGIS icons cheatsheet

2023-03-17 Thread Luca Manganelli via QGIS-Developer
Fantastic! It is possible to make a translated version?

-- 





Comune di Trento 

via Belenzani, 19 - 38122 Trento | C.F e P. IVA: 
00355870221

tel. +39 0461.884111 | www.comune.trento.it 
 


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] [Qgis-psc] QGIS QT6 meeting minutes

2023-03-17 Thread Régis Haubourg via QGIS-Developer
A big +1 for me too !
Régis
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer