Here's what happening on screen: there are musical notes selected by the rubberband. The routine takes the selectedItems, and item->pos().x() is supposed to return the x coordinate of each note. The other data routines provide additional info needed for other purposes. The data is coming through for the various notes, so the itemlist is being iterated properly but the x coordinate is not being returned from item->pos().x().Each one returns 0. Now, item->pos().x() works in other circumstances but not here for some reason. The docs say it should work. What am I missing?
Bookmarks