Changes between Version 26 and Version 27 of wxGUIDevelopment/SingleWindow
- Timestamp:
- May 25, 2021, 12:08:36 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
wxGUIDevelopment/SingleWindow
v26 v27 53 53 [[Image(single_window_layout.png, 1500px, title=Figure 4: Designed Single-Window GUI, align=center)]] 54 54 55 The design is based on the ''wx.Aui.Manager'' class , which is the central class of the wx.lib.agw.aui framework - re-implementation of wx.aui framework using only Python code instead of c++. In thisclass, 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.55 The design is based on the ''wx.Aui.Manager'' class. This class is the central class of the wx.lib.agw.aui framework which is the re-implementation of wx.aui framework using only Python code instead of C++. In ''wx.Aui.Manager'' 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. 56 56 57 57 The designed Single-Window GUI consists of 1 window, in the middle of which are Map Displays as notebook tabs. Each Map Display tab, therefore, represents a Map Display window, as we know it from version 7.9. We cannot move with a tab containing Map Displays (it is not dockable), but we can divide the space so that more maps can be seen at once (see Figure 5).