Use a button to toggle between firepower/miningyield

Introduce a button on both firepowerViewFull and miningyieldViewFull
views that allows switching between the two. Work by destroying each
view and recreating/populating on every button press.
This commit is contained in:
Alexandros Kosiaris
2014-06-02 19:46:45 +03:00
parent d08b1c8284
commit bd60733bfe
3 changed files with 72 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ import gui.globalEvents as GE
class StatsPane(wx.Panel):
DEFAULT_VIEWS = ["resourcesViewFull", "resistancesViewFull" ,"rechargeViewFull", "firepowerViewFull",
"capacitorViewFull", "targetingmiscViewFull",
"priceViewFull", "miningyieldViewFull"]
"priceViewFull",]
def fitChanged(self, event):
cFit = service.Fit.getInstance()