示例#1
0
 def handleCellDoubleClicked(self, row, column):
     if(column == 1 and self.tbWatchList.item(row, column)):
         item = self.tbWatchList.item(row, 0)
         if(item):
             stockcode = item.data(Qt.DisplayRole)
             if(stockcode):
                 try:
                     viewport.run('show', [stockcode])
                 except:
                     pass
 def rowDoubleClicked(self, idx):
     stockcode = self.tbResults.model().codedata(idx)
     viewport.run('show', [stockcode])
 def rowDoubleClicked(self, idx):
     stockcode = self.tbResults.model().codedata(idx)
     viewport.run('show', [stockcode])