GSoC 2021: Week 2: First steps towards a new GRASS GIS Single-Window GUI

Linda Kladivová <[email protected]> Sun, 20 Jun 2021 18:24:27 +0200 (CEST)
Newsgroups gmane.comp.gis.grass.devel
Message-ID <3dR.IWYv.4{[email protected]>
--===============7180278788045794596==
Content-Type: multipart/alternative;
	boundary="=_04bc08ce11e7898255890c92=1ddd94ea-679b-57b3-93d5-eb1f8af5db96_="

--=_04bc08ce11e7898255890c92=1ddd94ea-679b-57b3-93d5-eb1f8af5db96_=
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable


Hello everyone,




I am sending my Week 2 report (June 14 - June 20), you can also find it in=
 
the project wiki: https://trac.osgeo.org/grass/wiki/GSoC/2021/
SingleWindowLayout#Week2
(https://trac.osgeo.org/grass/wiki/GSoC/2021/SingleWindowLayout#Week2).





What did I complete during the second week?
I focused on the GUI refactoring. In order to add Map Display to the 
notebook widget, we need to have it in the form of wx.Panel. I divided the=
 
work into several steps: 

   * I changed the way of creating the Map Display status bar (which is no=
w 
   independent of the parent widget) [1]. However, this PR caused the bug =

   related to the workspace saving [2] which I corrected ASAP [3]. 
   

   * Meantime, I started more complex PR changing the way the Map Display =
is
   built (see =E2=80=8B(https://github.com/OSGeo/grass/pull/1656)[4]). The=
 core lies
   in adding the intermediate wx.Panel widget. This PR aims at more genera=
l 
   Map Display refactoring, do not change the code in the Single-Window =

   parallel environment - adapting the S-W GUI is planned to be another st=
ep
   forward.
   

What am I going to achieve for next week?


   * I plan to finish the refactoring of Map Display related stuff (see [4=
])
   and utilize it in the Single-Window GUI environment. It will lead to a =

   new Map Display notebook widget (composed of wx.Panel Map Displays). Th=
is
   notebook will be then used as the content pane. 
   

Is there any blocking issue?

No, it is not.






[1] https://github.com/OSGeo/grass/pull/1646
(https://github.com/OSGeo/grass/pull/1646)

[2] https://github.com/OSGeo/grass/issues/1657
(https://github.com/OSGeo/grass/issues/1657)

[3] https://github.com/OSGeo/grass/pull/1665
(https://github.com/OSGeo/grass/pull/1665)

[4] =E2=80=8Bhttps://github.com/OSGeo/grass/pull/1656
(https://github.com/OSGeo/grass/pull/1656)




Any suggestions are welcome. :-)


Best wishes,
Linda Kladivova
--=_04bc08ce11e7898255890c92=1ddd94ea-679b-57b3-93d5-eb1f8af5db96_=
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><body><p style=3D"line-height:normal;margin-bottom:0pt">=0A=
Hello everyone,</p><p style=3D"line-height:normal;margin-bottom:0pt"><br><=
/p><div>=0A=
=0A=
I am sending my Week 2 report (June 14 - June 20), you can also find it in=
 the project wiki: <a href=3D"https://trac.osgeo.org/grass/wiki/GSoC/2021/=
SingleWindowLayout#Week2">https://trac.osgeo.org/grass/wiki/GSoC/2021/Sing=
leWindowLayout#Week2</a>.<br></div><div><br></div><div><strong>What did I =
complete during the second week?</strong></div>I focused on the GUI refact=
oring. In order to add Map Display to the notebook widget, we need to have=
 it in the form of wx.Panel. I divided the work into several steps:=0A=
=0A=
<ul><li>I changed the way of creating the Map Display status bar (which is=
 now independent of the parent widget) [1]. However, this PR caused the bu=
g related to the workspace saving [2] which I corrected ASAP [3].=0A=
</li></ul><ul><li>Meantime, I started more complex PR changing the way the=
 Map Display is built (see <a class=3D"-wm-ext-link" href=3D"https://githu=
b.com/OSGeo/grass/pull/1656"><span class=3D"-wm-icon">=E2=80=8B</span></a>=
[4]).=0A=
 The core lies in adding the intermediate wx.Panel widget. This PR aims at=
 more general Map Display refactoring, do not change the code in the Singl=
e-Window parallel environment - adapting the S-W GUI is planned to be anot=
her step forward.<br></li></ul><p><b>What am I going to achieve for next w=
eek?</b></p><div><ul><li>I plan to finish the refactoring of Map Display r=
elated stuff (see [4])=0A=
 and utilize it in the Single-Window GUI environment. It will lead to a =
=0A=
new Map Display notebook widget (composed of wx.Panel Map Displays). This =
notebook will be then used as the content pane.=0A=
</li></ul><div><b>Is there any blocking issue?</b></div><div>No, it is not=
.<br></div></div><p><br></p><p>[1] <a class=3D"-wm-ext-link" href=3D"https=
://github.com/OSGeo/grass/pull/1646">https://github.com/OSGeo/grass/pull/1=
646</a></p><p>[2] <a class=3D"-wm-ext-link" href=3D"https://github.com/OSG=
eo/grass/issues/1657">https://github.com/OSGeo/grass/issues/1657</a></p><p=
>[3] <a class=3D"-wm-ext-link" href=3D"https://github.com/OSGeo/grass/pull=
/1665">https://github.com/OSGeo/grass/pull/1665</a></p><p>[4] <a class=3D"=
-wm-ext-link" href=3D"https://github.com/OSGeo/grass/pull/1656"><span clas=
s=3D"-wm-icon">=E2=80=8B</span>https://github.com/OSGeo/grass/pull/1656</a=
></p><p><br></p><div>Any suggestions are welcome. :-)</div><br><p>Best wis=
hes,</p>Linda Kladivova</body></html>
--=_04bc08ce11e7898255890c92=1ddd94ea-679b-57b3-93d5-eb1f8af5db96_=--


--===============7180278788045794596==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev

--===============7180278788045794596==--