Re: [Qgis-developer] multi-view
Hi On Thu, Jan 13, 2011 at 6:15 PM, Marco Hugentobler marco.hugentob...@sourcepole.ch wrote: Hi Massimo My apologies. Yes, the patch got forgotten after the Vienna hackfest. I remember it was postponed because of a release and not taken afterwards. just having it fixed to be able to apply it on the actual trunk .. should be a good first step That would be great. After porting it to trunk, please assign it to Tim (app guru in the dev team). I am just following up on this - did you manage to port your work to trunk? My apologies if you already mentioned this and I missed the notice. Regards Tim 8--snip -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Visit http://linfiniti.com to find out about: * QGIS programming services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] multi-view
I started working on something similar the other day as I could not get this patch to apply and thought about a different way of going about it. The general idea is to use a QMdiArea(tabbed or floating) as the central widget for QGisApp class. You can then create a new window using QMdiArea.addSubWindow(QgsMapCanvas). You would then connect to the sub window changed event to know when the user changed windows in order to update the legend, undo stack, tool etc. The general layout and rules are: 1. There is only one active canvas at a time. 2. The active canvas is stored in the mMapCanvas QgisApp variable. This is updated when the user clicks on the map or tab eg on subWindowChanged signal 3. When the user clicks a tool it sets the tool for the current canvas active via. mMapCanvas.setMapTool({maptool} the map tools canvas is updated using {maptool}.setCanvas(mMapCanvas). This means there is only one instance of {mapTool} just it's canvas gets changed. 4. On subWindowChanged the legends canvas is updated to reflect the new maps layers. 5. Opening a vector layer opens it in the curent active canvas. 6. Try a limit the amount of new code code added, try and use as much that is already there. 7. Being able to switch between tabbed or floating windows would be very powerful. I know this is no easy task, no matter which way you run with it. And there a lot of user cases which needed to be taken into account. I was thinking about pushing what I have to git hub tonight if anyone is interested. Just my thoughts on the subject. - NathanW On Wed, Feb 9, 2011 at 10:11 AM, Tim Sutton t...@linfiniti.com wrote: Hi On Thu, Jan 13, 2011 at 6:15 PM, Marco Hugentobler marco.hugentob...@sourcepole.ch wrote: Hi Massimo My apologies. Yes, the patch got forgotten after the Vienna hackfest. I remember it was postponed because of a release and not taken afterwards. just having it fixed to be able to apply it on the actual trunk .. should be a good first step That would be great. After porting it to trunk, please assign it to Tim (app guru in the dev team). I am just following up on this - did you manage to port your work to trunk? My apologies if you already mentioned this and I missed the notice. Regards Tim 8--snip -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Visit http://linfiniti.com to find out about: * QGIS programming services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] multi-view
On Thu, Jan 13, 2011 at 2:16 PM, Massimo Di Stefano massimodisa...@yahoo.it wrote: Hi All, multiview is nice and remember me the addtab capabilities (that's an other way to have multiview, the tab are detachable and mouse over on the relative tab show a canvas preview) so, i hope the multiview work will not forget as : http://trac.osgeo.org/qgis/ticket/1622 lynxID and me worked hard to develop and test it, AddTabb patch was needed to start to develop the planet plug-in. The patch was never applied due to main api change ? Hi Massimo the patch for tabbed interface has a lot of consequences. First of all it is important to answer what are the use cases for multiple canvases - what are pros and cons of such interface for both users and developers. For example, to what degree the individual map canvases should interact between each other - allow different sets of layers, allow different symbolization of layers, different projections, simultaneous editing of one layer in various canvases? From developer's point of view there are also many questions - should map canvases share the instances of layers or create duplicates, should a map tool be bound to one map canvas or handle all existing canvases? As you probably see, for a different set of use cases the answers would be different. The patch itself is long and doesn't come with any overview of the architecture. I would recommend you to start a RFC which can be discussed and modified to reach the consensus. Anyway a change like this looks to be more suitable for qgis 2.0 where we will be able to break API and thus implement things well. I have the same feelings for the split view modifications. First it's better to share and talk about the concept of bigger features in order to have clear way into trunk later. Regards Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] multi-view
Hi Ludovic Looks nice. Yes, multi view is definitely of interest. If yes, i am interesting to know how to integrate this to official qgis code. The best thing is to create a patch that can be applied to the current trunk version (1.4 is a bit old now). Create a ticket in trac (http://trac.osgeo.org/qgis) , attach the patch and add a bit of textual description. It will then be review by the dev team. Regards, Marco Am Donnerstag, 13. Januar 2011, um 09.51:29 schrieb ludovic mercier: Hi all, thanks for all developer for this big and great work on qgis. I work for an astrophysics and planetology laboratory and i have create a qgis fork with 1.4.0 version. Many researcher work with envi software to analyse their image and use multi-view to work. So i create a fork to add multi-view and hyperspectral analyse. See the link http://www.coriolys.org/post/2011/01/13/VahineView-fork-of-Qgis-software for a screen shot. My question is this feature (multi-view) is interesting for qgis team ? If yes, i am interesting to know how to integrate this to official qgis code. In this time i have still some little bugs with interaction between active view and zoom-view at the right bottom. For the time being i work only in the hyperspectral analysis tool. regards ludovic ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland marco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] multi-view
Hi Massimo, i don't know your patch (1622). it's very interresting. I think : i have worked for nothing :( I will try to install it. regards Ludovic Le 13.01.2011 14:16, Massimo Di Stefano a écrit : Hi All, multiview is nice and remember me the addtab capabilities (that's an other way to have multiview, the tab are detachable and mouse over on the relative tab show a canvas preview) so, i hope the multiview work will not forget as : http://trac.osgeo.org/qgis/ticket/1622 lynxID and me worked hard to develop and test it, AddTabb patch was needed to start to develop the planet plug-in. The patch was never applied due to main api change ? Il giorno 13/gen/2011, alle ore 05.35, qgis-developer-requ...@lists.osgeo.org mailto:qgis-developer-requ...@lists.osgeo.org ha scritto: Hi Ludovic Looks nice. Yes, multi view is definitely of interest. If yes, i am interesting to know how to integrate this to official qgis code. The best thing is to create a patch that can be applied to the current trunk version (1.4 is a bit old now). Create a ticket in trac (http://trac.osgeo.org/qgis) , attach the patch and add a bit of textual description. It will then be review by the dev team. Regards, Marco Am Donnerstag, 13. Januar 2011, um 09.51:29 schrieb ludovic mercier: Hi all, thanks for all developer for this big and great work on qgis. I work for an astrophysics and planetology laboratory and i have create a qgis fork with 1.4.0 version. Many researcher work with envi software to analyse their image and use multi-view to work. So i create a fork to add multi-view and hyperspectral analyse. See the link http://www.coriolys.org/post/2011/01/13/VahineView-fork-of-Qgis-software for a screen shot. My question is this feature (multi-view) is interesting for qgis team ? If yes, i am interesting to know how to integrate this to official qgis code. In this time i have still some little bugs with interaction between active view and zoom-view at the right bottom. For the time being i work only in the hyperspectral analysis tool. regards ludovic ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] multi-view
hi! it would be perfect if you could combine these two things into one - and merge it into current trunk .. both seem to be very nice and useful things .. i hope they will not make other things too complicated ;) regards Werner On Thu, Jan 13, 2011 at 2:55 PM, ludovic mercier ludovic.merc...@gmail.com wrote: Hi Massimo, i don't know your patch (1622). it's very interresting. I think : i have worked for nothing :( I will try to install it. regards Ludovic Le 13.01.2011 14:16, Massimo Di Stefano a écrit : Hi All, multiview is nice and remember me the addtab capabilities (that's an other way to have multiview, the tab are detachable and mouse over on the relative tab show a canvas preview) so, i hope the multiview work will not forget as : http://trac.osgeo.org/qgis/ticket/1622 lynxID and me worked hard to develop and test it, AddTabb patch was needed to start to develop the planet plug-in. The patch was never applied due to main api change ? Il giorno 13/gen/2011, alle ore 05.35, qgis-developer-requ...@lists.osgeo.org ha scritto: Hi Ludovic Looks nice. Yes, multi view is definitely of interest. If yes, i am interesting to know how to integrate this to official qgis code. The best thing is to create a patch that can be applied to the current trunk version (1.4 is a bit old now). Create a ticket in trac (http://trac.osgeo.org/qgis) , attach the patch and add a bit of textual description. It will then be review by the dev team. Regards, Marco Am Donnerstag, 13. Januar 2011, um 09.51:29 schrieb ludovic mercier: Hi all, thanks for all developer for this big and great work on qgis. I work for an astrophysics and planetology laboratory and i have create a qgis fork with 1.4.0 version. Many researcher work with envi software to analyse their image and use multi-view to work. So i create a fork to add multi-view and hyperspectral analyse. See the link http://www.coriolys.org/post/2011/01/13/VahineView-fork-of-Qgis-software for a screen shot. My question is this feature (multi-view) is interesting for qgis team ? If yes, i am interesting to know how to integrate this to official qgis code. In this time i have still some little bugs with interaction between active view and zoom-view at the right bottom. For the time being i work only in the hyperspectral analysis tool. regards ludovic ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] multi-view
Hi Ludovic, nevermind .. your efforts are not lost beacouse the patch is old, it needs to be revisited and your work with multispectral analisys results can be fused with the addtab patch. just having it fixed to be able to apply it on the actual trunk .. should be a good first step it is also nice to have you intersted on multiview too, maybe this time we will finally have it implemented in qgis i like and use the multiview capability (like in grass). note, i was just a guinea pig (tester) for it :-) all the hard cpp work was made by LinxID All my thanks to Him! thanks! Massimo. Il giorno 13/gen/2011, alle ore 08.55, qgis-developer-requ...@lists.osgeo.org ha scritto: Hi Massimo, i don't know your patch (1622). it's very interresting. I think : i have worked for nothing :( I will try to install it. regards Ludovic Le 13.01.2011 14:16, Massimo Di Stefano a écrit : Hi All, multiview is nice and remember me the addtab capabilities (that's an other way to have multiview, the tab are detachable and mouse over on the relative tab show a canvas preview) so, i hope the multiview work will not forget as : http://trac.osgeo.org/qgis/ticket/1622 lynxID and me worked hard to develop and test it, AddTabb patch was needed to start to develop the planet plug-in. The patch was never applied due to main api change ? Il giorno 13/gen/2011, alle ore 05.35, qgis-developer-requ...@lists.osgeo.org mailto:qgis-developer-requ...@lists.osgeo.org ha scritto: Hi Ludovic Looks nice. Yes, multi view is definitely of interest. If yes, i am interesting to know how to integrate this to official qgis code. The best thing is to create a patch that can be applied to the current trunk version (1.4 is a bit old now). Create a ticket in trac (http://trac.osgeo.org/qgis) , attach the patch and add a bit of textual description. It will then be review by the dev team. Regards, Marco Am Donnerstag, 13. Januar 2011, um 09.51:29 schrieb ludovic mercier: Hi all, thanks for all developer for this big and great work on qgis. I work for an astrophysics and planetology laboratory and i have create a qgis fork with 1.4.0 version. Many researcher work with envi software to analyse their image and use multi-view to work. So i create a fork to add multi-view and hyperspectral analyse. See the link http://www.coriolys.org/post/2011/01/13/VahineView-fork-of-Qgis-software for a screen shot. My question is this feature (multi-view) is interesting for qgis team ? If yes, i am interesting to know how to integrate this to official qgis code. In this time i have still some little bugs with interaction between active view and zoom-view at the right bottom. For the time being i work only in the hyperspectral analysis tool. regards ludovic ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] multi-view
Hi Massimo My apologies. Yes, the patch got forgotten after the Vienna hackfest. I remember it was postponed because of a release and not taken afterwards. just having it fixed to be able to apply it on the actual trunk .. should be a good first step That would be great. After porting it to trunk, please assign it to Tim (app guru in the dev team). Regards, Marco Am Donnerstag, 13. Januar 2011, um 15.31:54 schrieb Massimo Di Stefano: Hi Ludovic, nevermind .. your efforts are not lost beacouse the patch is old, it needs to be revisited and your work with multispectral analisys results can be fused with the addtab patch. just having it fixed to be able to apply it on the actual trunk .. should be a good first step it is also nice to have you intersted on multiview too, maybe this time we will finally have it implemented in qgis i like and use the multiview capability (like in grass). note, i was just a guinea pig (tester) for it :-) all the hard cpp work was made by LinxID All my thanks to Him! thanks! Massimo. Il giorno 13/gen/2011, alle ore 08.55, qgis-developer- requ...@lists.osgeo.org ha scritto: Hi Massimo, i don't know your patch (1622). it's very interresting. I think : i have worked for nothing :( I will try to install it. regards Ludovic Le 13.01.2011 14:16, Massimo Di Stefano a écrit : Hi All, multiview is nice and remember me the addtab capabilities (that's an other way to have multiview, the tab are detachable and mouse over on the relative tab show a canvas preview) so, i hope the multiview work will not forget as : http://trac.osgeo.org/qgis/ticket/1622 lynxID and me worked hard to develop and test it, AddTabb patch was needed to start to develop the planet plug-in. The patch was never applied due to main api change ? Il giorno 13/gen/2011, alle ore 05.35, qgis-developer-requ...@lists.osgeo.org mailto:qgis-developer-requ...@lists.osgeo.org ha scritto: Hi Ludovic Looks nice. Yes, multi view is definitely of interest. If yes, i am interesting to know how to integrate this to official qgis code. The best thing is to create a patch that can be applied to the current trunk version (1.4 is a bit old now). Create a ticket in trac (http://trac.osgeo.org/qgis) , attach the patch and add a bit of textual description. It will then be review by the dev team. Regards, Marco Am Donnerstag, 13. Januar 2011, um 09.51:29 schrieb ludovic mercier: Hi all, thanks for all developer for this big and great work on qgis. I work for an astrophysics and planetology laboratory and i have create a qgis fork with 1.4.0 version. Many researcher work with envi software to analyse their image and use multi-view to work. So i create a fork to add multi-view and hyperspectral analyse. See the link http://www.coriolys.org/post/2011/01/13/VahineView-fork-of-Qgis-softwa re for a screen shot. My question is this feature (multi-view) is interesting for qgis team ? If yes, i am interesting to know how to integrate this to official qgis code. In this time i have still some little bugs with interaction between active view and zoom-view at the right bottom. For the time being i work only in the hyperspectral analysis tool. regards ludovic -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland marco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer