本文整理汇总了Python中gui.statsView.StatsView.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python StatsView.__init__方法的具体用法?Python StatsView.__init__怎么用?Python StatsView.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类gui.statsView.StatsView
的用法示例。
在下文中一共展示了StatsView.__init__方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from gui.statsView import StatsView [as 别名]
# 或者: from gui.statsView.StatsView import __init__ [as 别名]
def __init__(self, parent):
StatsView.__init__(self)
self.parent = parent
self._cachedValues = []
self.showEffective = True
self.activeFit = None
self.mainFrame = gui.mainFrame.MainFrame.getInstance()
self.mainFrame.Bind(EFFECTIVE_HP_TOGGLED, self.ehpSwitch)
示例2: __init__
# 需要导入模块: from gui.statsView import StatsView [as 别名]
# 或者: from gui.statsView.StatsView import __init__ [as 别名]
def __init__(self, parent):
StatsView.__init__(self)
self.parent = parent
self._timerId = wx.NewId()
self._timer = None
self.parent.Bind(wx.EVT_TIMER, self.OnTimer)
self._timerRunsBeforeUpdate = 60
self._timerRuns = 0
self._timerIdUpdate = wx.NewId()
self._timerUpdate = None
self._cachedShip = 0
self._cachedFittings = 0
self._cachedTotal = 0
示例3: __init__
# 需要导入模块: from gui.statsView import StatsView [as 别名]
# 或者: from gui.statsView.StatsView import __init__ [as 别名]
def __init__(self, parent):
StatsView.__init__(self)
self.parent = parent
self._cachedValues = []
示例4: __init__
# 需要导入模块: from gui.statsView import StatsView [as 别名]
# 或者: from gui.statsView.StatsView import __init__ [as 别名]
def __init__(self, parent):
StatsView.__init__(self)
self.parent = parent
self.mainFrame = gui.mainFrame.MainFrame.getInstance()
self.mainFrame.additionsPane.notebook.Bind(gui.chromeTabs.EVT_NOTEBOOK_PAGE_CHANGED, self.pageChanged)
示例5: __init__
# 需要导入模块: from gui.statsView import StatsView [as 别名]
# 或者: from gui.statsView.StatsView import __init__ [as 别名]
def __init__(self, parent):
StatsView.__init__(self)
self.parent = parent
self._cachedShip = 0
self._cachedFittings = 0
self._cachedTotal = 0
示例6: __init__
# 需要导入模块: from gui.statsView import StatsView [as 别名]
# 或者: from gui.statsView.StatsView import __init__ [as 别名]
def __init__(self, parent):
StatsView.__init__(self)
self.parent = parent
示例7: __init__
# 需要导入模块: from gui.statsView import StatsView [as 别名]
# 或者: from gui.statsView.StatsView import __init__ [as 别名]
def __init__(self, parent):
StatsView.__init__(self)
self.parent = parent
self.settings = PriceMenuSettings.getInstance()
示例8: __init__
# 需要导入模块: from gui.statsView import StatsView [as 别名]
# 或者: from gui.statsView.StatsView import __init__ [as 别名]
def __init__(self, parent):
StatsView.__init__(self)
self.parent = parent
self.mainFrame = gui.mainFrame.MainFrame.getInstance()
self.mainFrame.Bind(rvf.EFFECTIVE_HP_TOGGLED, self.toggleEffective)
self.effective = True