コード例 #1
0
ファイル: main_view.py プロジェクト: webiumsk/WOT0.10.0
 def _dispose(self):
     g_customizationController.updateTank3DModel(isReset=True)
     g_customizationController.carousel.updated -= self.__setCarouselData
     g_customizationController.carousel.slots.updated -= self.as_updateSlotS
     g_customizationController.carousel.slots.cart.totalPriceUpdated -= self.__setBuyingPanelData
     g_customizationController.carousel.slots.cart.emptied -= self.as_hideBuyingPanelS
     g_customizationController.carousel.slots.cart.filled -= self.as_showBuyingPanelS
     g_customizationController.carousel.slots.bonusPanel.bonusesUpdated -= self.__setBonusData
     g_customizationController.fini()
     super(MainView, self)._dispose()
コード例 #2
0
ファイル: main_view.py プロジェクト: webiumsk/WOT-0.9.14-CT
 def _dispose(self):
     g_customizationController.updateTank3DModel(isReset=True)
     g_customizationController.carousel.updated -= self.__setCarouselData
     g_customizationController.carousel.slots.updated -= self.as_updateSlotS
     g_customizationController.carousel.slots.cart.totalPriceUpdated -= self.__setBottomPanelData
     g_customizationController.carousel.slots.cart.availableMoneyUpdated -= self.__setBottomPanelData
     g_customizationController.carousel.slots.cart.emptied -= self.as_hideBuyingPanelS
     g_customizationController.carousel.slots.cart.filled -= self.as_showBuyingPanelS
     g_customizationController.carousel.slots.bonusPanel.bonusesUpdated -= self.__setBonusData
     g_currentVehicle.onChanged -= self.__setHeaderInitData
     g_customizationController.carousel.slots.cart.purchaseProcessed -= self.__onPurchaseProcessed
     Cart.purchaseProcessStarted -= self.__onPurchaseProcessStarted
     g_customizationController.fini()
     super(MainView, self)._dispose()