示例#1
0
文件: mainform.py 项目: ampext/awd
 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
文件: mainform.py 项目: ampext/awd
 def OnAddItem(self):
     form = ItemForm(self, self.accessKey, self.secretKey, self.associateTag)
     if form.exec_() == QtGui.QDialog.Accepted: self.UpdateListView()