------ Solution ---------------------------------------- ----
supplement, the above is just the thing to set the trigger even edit
1. settings edit attributes
2. Right pop up a menu, and then there is action triggers a signal, connect a groove
slot function example
void TableWidget :: editTableWidgetItem ()
{
TableWidget-> editItem (rightClickedItem);
}
This rightClickedItem, such judgments:
Right determine whether it is an item on the pop-up menu if you do not do not.
If you write down the words on this rightClickedItem
------ For reference only ---------------------------------- -----
------ For reference only ---------------------------------------
EDIT attribute does this mean? I'm just getting started with QT is not very clear, trouble to help answer this question, thank you
------ For reference only ----------------------- ----------------
see help, which has
------ For reference only ------------- --------------------------
look at this, would not say much for your help, but definitely not small'm sure!
http://blog.sina.com.cn/s/blog_a6fb6cc90101dd5u.html
------ For reference only ----- ----------------------------------
problem has been solved, thank you very much ppdayz answer
没有评论:
发表评论