Пример #1
0
 def OnEditItem(self):
     asins = self.GetSelectedASINs()
     if len(asins) > 1: return
     
     form = ItemForm(self, self.accessKey, self.secretKey, self.associateTag, asins[0])
     if form.exec_() == QtGui.QDialog.Accepted: self.UpdateListView()
Пример #2
0
 def OnAddItem(self):
     form = ItemForm(self, self.accessKey, self.secretKey, self.associateTag)
     if form.exec_() == QtGui.QDialog.Accepted: self.UpdateListView()