GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

Hedgewars: Abstract Page Load

completed by: Drew Gottlieb

mentors: Andrey Korotaev, Xeli, Sheepy, koda

Remember to join our IRC channel when working on this task! We are on #hedgewars at If you are new to IRC, read this tutorial from a past GCI participant.

Your task

In QTfrontend/ui/page/AbstracPage.cpp you can find the base class the form our main GUI: every page in the fronted is a subclass of AbstracPage and inherits the base structure. In this task you have to add a couple of virtual methods that allow to perform actions on page load and page leave, and have a few pages use the new system.


A working patch, that applies cleanly to our source tree. This patch should be in the form of a pull from clone, hg export or unified diff format (in order of preference) implementing the functionality required.