QTimer 没有按预期调用 myfunction

QTimer isn't calling myfunction as expected

在下面的代码中,第一个函数被调用但第二个函数没有被调用。我做错了什么?

def time_cursor_plot(self):       
    print 'function called'
    t = QtCore.QTimer()
    t.setInterval(1000)
    t.timeout.connect(self.start_timer)        
    t.start()

def start_timer(self):
    print ' this one too'

方法start_timer在同一个class?否则删除 "self".

def time_cursor_plot(self):       
    print 'function called'
    t = QtCore.QTimer()
    t.setInterval(1000)
    t.timeout.connect(start_timer)
    t.start()

def start_timer(self):
    print ' this one too'