You’re removing from renglones using the layout index: renglones.remove(contenedorRenglones->indexOf(renglon)). That index may not match the vector, so you end up erasing the wrong pointer and later...
Javierowess Today, 07:49ScrollHandDrag controls the cursor, so setCursor on the view is ignored. Set the cursor on the viewport or subclass the view and force it in events, for example viewport()->setCursor(myOpenHand);...
Javierowess Today, 07:47Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at The Qt Company.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.
Determining Field Index in QSqlRelationalTableModel when Using QSqlRelation
5th September 2025 17:38 by Spiff