Opened 10 years ago

Last modified 10 years ago

#12927 closed enhancement

[Patch] Move title management and main frame layout 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)

Work for #12925

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 (2)

by michael2402, 10 years ago

comment:1 by michael2402, 10 years ago

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