Opened 10 years ago

Last modified 10 years ago

#12927 closed enhancement

[Patch] Move title management and main frame layout to new class. — at Initial Version

Reported by: michael2402 Owned by: team
Priority: normal Milestone: 16.06
Component: Core Version:
Keywords: gsoc-core Cc: Don-vip, bastiK, stoecker

Description

Create a new MainFrame class to:

  • Move the refreshTitle() out of MapView
  • Move the window icon code there
  • Move maximized check there
  • Add a new reference to the main window to MainApplication
  • Restructure some hooks to resolve dependencies during startup.
  • Main() does not do the work in the constructor any more and uses initialize():

To be done later:

  • Clean up Icon code
  • Re-enable the test that checks if the window size parameter works (does not work now since we cannot construct the frame in headless mode)

Change History (1)

by michael2402, 10 years ago

Note: See TracTickets for help on using tickets.