小弟初学入门,非常困惑。。。
QT4.2.3的Item View中例子的Spin Box Delegate在用户结束编辑后如果想emit closeEditor()这个signal从而把EndEditHint改成比如EditNextItem,请问应该如何做呢? 我自己试着在那个例子中的SpinBoxDelegate::setModelDate的最后emit,好像不行。程序例子中最后解释的" if the user hits Return to confirm their choice in the spin box, the delegate commits the value to the model and closes the spin box. We can change this behavior by installing our own event filter on the spin box",这里的"installing our own event filter on the spin box"是什么意思?
现在比较晕,麻烦各位高手指点,呵呵~~