Opened 10 years ago

Last modified 10 years ago

#12925 closed enhancement

Move main window management to new class — at Version 1

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 michael2402)

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

Change History (1)

comment:1 by michael2402, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.