[QGIS-Developer] Is a plugin for QGIS3 with the user interface defined by code acceptable for the repository?

2020-09-06 Thread Luis Eduardo
Hello everyone I am working on a plugin, I have created a minimal Plugin, the user interface (dialog) I have defined by code. Without using Qt Designer.If I would like to upload this plugin to the QGIS repository, for the community in general, would it be acceptable? In that case, how can I hand

Re: [QGIS-Developer] Issue with determining Symbol size - Bug?

2020-09-06 Thread Nyall Dawson
On Sat, 5 Sep 2020 at 02:16, C Hamilton wrote: > > Try running this code. Make sure you have a point layer selected that is > using single symbol symbology. The value that is returned is 0. In my case > the units for the symbol are millimeters and a value of 5. I am using QGIS > 3.14.15 on wind

Re: [QGIS-Developer] Library for importing dwg

2020-09-06 Thread Nyall Dawson
On Sat, 5 Sep 2020 at 06:11, Jesús de Diego Alarcón wrote: > > OK Let's try then FYI there's also libredwg -- https://github.com/LibreDWG/libredwg , which is seeing a lot of development focus recently (maybe at some stage we should abstract out the backend dwg library in qgis to give users a choi

Re: [QGIS-Developer] Processing Question: How to Select All with QgsProcessingParameterField

2020-09-06 Thread Andrea Giudiceandrea
Please keep in mind that defaultToAllFields was introduced with QGIS 3.12, so it's not available in previous versions. KML Tools plugin 3.1.0 (declared minimum QGIS version: 3.4.0) with QGIS 3.10: WARNING Traceback (most recent call last): File "C:/Users/io/AppData/Roaming/QGIS/QGIS3\profiles\def

[QGIS-Developer] Fwd: Plugin Development for accessing PostgresSQL Database in a QtableWidget in QT Designer

2020-09-06 Thread SOHINI GOSWAMI
Dear Developers, I would request to kindly help me with building a plugin using Qtablewidget in QT designer. The table would retrieve a postgresql using a query [Depending on the date of the date] . I have created the UI file in QT designer but unable to fetch the data from the buttons click trigge

Re: [QGIS-Developer] bug or feature? layer_styles table created not in the public schema

2020-09-06 Thread Paolo Cavallini
+1 Cheers On 6 September 2020 19:18:26 CEST, "Régis Haubourg" wrote: >Hi, >I'm my opinion, we should add a dialog to let the user choose the >destination schema. Public schema should really be left untouched by >default. >Cheers >Regis > >Le dim. 6 sept. 2020 à 18:26, Giovanni Manghi > a >écrit

Re: [QGIS-Developer] bug or feature? layer_styles table created not in the public schema

2020-09-06 Thread Régis Haubourg
Hi, I'm my opinion, we should add a dialog to let the user choose the destination schema. Public schema should really be left untouched by default. Cheers Regis Le dim. 6 sept. 2020 à 18:26, Giovanni Manghi a écrit : > Hi all, > > On Sat, Sep 5, 2020 at 11:05 PM Paolo Cavallini > wrote: > > > >

Re: [QGIS-Developer] bug or feature? layer_styles table created not in the public schema

2020-09-06 Thread Giovanni Manghi
Hi all, On Sat, Sep 5, 2020 at 11:05 PM Paolo Cavallini wrote: > > This follows the search_path setting. oh I see. Anyway this case seems possible (even if uncommon), and when it happens it leads a user to being cut off from accessing styles stored in public. So my question stands, should this b