Modify ↓
Opened 10 years ago
Closed 10 years ago
#12925 closed enhancement (fixed)
Move main window management to new class
| Reported by: | michael2402 | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 16.06 |
| Component: | Core | Version: | |
| Keywords: | gsoc-core | Cc: | Don-vip, bastiK, stoecker |
Description (last modified by )
Create a new Class MainFrame for the main window, move code from Main and MapView there.
This class should do:
- The title management
- Basic geometry setup
- Automatically display the start screen as long as no layers are present.
- Do all MapFrame handling
Long term goals:
- Remove Main.gettingStarted
- Do not destroy the MapFrame if all layers are removed - keep an empty layer list. This would remove many Main.map == null checks and prevent problems for missing checks.
We should get away from the concept that the UI will always be structured the way it is now.
Patches: #12927
Attachments (0)
Change History (3)
comment:1 by , 10 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 10 years ago
| Milestone: | → 16.06 |
|---|
comment:3 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



This has been implemented. The new
MainPanelclass handles map state and automatically displays the map as soon as layers are added to the main layer manager.