Re: [QGIS-Developer] How to access QgisApp::instance() from a core class

2022-03-07 Thread Nyall Dawson via QGIS-Developer
On Tue, 8 Mar 2022 at 07:23, Schmetzer, Tobias wrote: > > > Again, none of the core classes are allowed any GUI component, and the > > correct approach to handle this particular situation is to move that code > > from the provider level up to app level, specifically via the > > QgsDataItemGuiPr

Re: [QGIS-Developer] Qgis functionality

2022-03-07 Thread Nyall Dawson via QGIS-Developer
On Mon, 7 Mar 2022 at 20:45, Marin M wrote: > > hi, > > thanks. > > How could I retrieve functionality written in C ++ or Python in Qgis ? So i > i am able to copy and rearrange lines of code for adjusted functionality The source code is all available on the QGIS github repository: https://gi

Re: [QGIS-Developer] How to access QgisApp::instance() from a core class

2022-03-07 Thread Schmetzer, Tobias via QGIS-Developer
Hi Nyall, > CORE classes must be completely non-gui, so that they work without issue on > non-gui platforms like QGIS server (also for clients which have their own > GUI, such as QFIeld/Input). That sounds totally reasonable. > Again, none of the core classes are allowed any GUI component,

Re: [QGIS-Developer] Qgis functionality

2022-03-07 Thread Marin M via QGIS-Developer
hi, thanks. How could I retrieve functionality written in C ++ or Python in Qgis ? So i i am able to copy and rearrange lines of code for adjusted functionality regards pon, 7. ožu 2022. u 00:04 Nyall Dawson napisao je: > On Fri, 4 Mar 2022 at 20:10, Marin M via QGIS-Developer > wrot