示例#1
0
void dspItemSourcesByItem::sPopulateMenu(QMenu *menuThis)
{
    menuThis->insertItem("Edit...",           this, SLOT(sEdit()),     0 );
    menuThis->insertItem("View Buy Card...",  this, SLOT(sBuyCard()),  0 );
    menuThis->insertItem("View P/Os...",      this, SLOT(sViewPOs()),  0 );
}
示例#2
0
void dspItemSourcesByItem::sPopulateMenu(QMenu *menuThis, QTreeWidgetItem*, int)
{
  menuThis->addAction("Edit...",           this, SLOT(sEdit()));
  menuThis->addAction("View Buy Card...",  this, SLOT(sBuyCard()));
  menuThis->addAction("View P/Os...",      this, SLOT(sViewPOs()));
}