Changes between Version 21 and Version 22 of wxGUIDevelopment/SingleWindow


Ignore:
Timestamp:
Apr 12, 2021, 5:13:02 AM (3 years ago)
Author:
lindakladivova
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • wxGUIDevelopment/SingleWindow

    v21 v22  
    5151The mock-up layout in Figure 4 is visually inspired by the layout in QGIS. Like QGIS or other GIS software, it contains a data catalog and layer catalog on the left, and a catalog of tools (modules) on the right.
    5252
    53 [[Image(single_window_layout.png, 1400px, title=Figure 4: Designed Single Window Layout, align=center)]]
     53[[Image(single_window_layout.png, 1500px, title=Figure 4: Designed Single Window Layout, align=center)]]
    5454
    5555The design is based on the ''wx.Aui.Manager'' class, which is the central class of the AUI class framework. In this class, we create so-called panes i.e. panels with docking and floating behavior (more [https://wxpython.org/Phoenix/docs/html/wx.aui.AuiManager.html]). ''wx.Aui.Manager'' is not a new concept in GRASS. As we can see in Figure 2, it is already used for creating dockable toolbars in the upper part of the Layer Manager and in the Map Display. These tabs, as well as the Menu bar at the top of the software, will remain the same as in version 7.9.
     
    6767However, the implementation of a Single Window GUI does not only involve a widget reorganization. To reach a truly user-friendly result, it should be possible to switch to the original multi-layout. Then it would be also advantageous to have a button returning GRASS to the original Single Layout settings (useful in the situation when a user would significantly reorganize widgets and would not be able to go back). Both buttons related to the layout in GRASS GIS could be part of the new dockable Layout tab, which would be located next to the dockable Misc tab. A similar way of changing the layout using the buttons is implemented, for example, in the software jBEAM.
    6868
    69 [[Image(jbeam_layout.png, 800px, title=Figure 8: Example of layout toolbar from jBEAM software, align=center)]]
     69[[Image(jbeam_layout.png, 750px, title=Figure 8: Example of layout toolbar from jBEAM software, align=center)]]
    7070
    7171The third important function is the ability to remember the single-window layout for the next session as well as within the saved workspaces.