Hi,

I needed to implement the QTableWidget where I can drag and drop files. So made my own QDropTableWidget that inherits from QTableWidget where I then implemented dragEnterEvent(),
dragLeaveEvent(), and dropEvent().

I then placed a QTableWidget inside the layout with QDesigner and promoted it to QDropTableWidget and now I'm able to drop files inside the widget and populate the table this way.

However now I have a weird issue where the table stops displaying some rows or columns after I resize the MainWindow (and layout containing the table).
In only resets after I manually resize columns on the table. I tried to update,repain refresh table->viewPort() but the issue remains.

Here is the picturer of before and after resize:

Before:
normal.PNG

After:
missing.PNG

The items will also flicker while mouse cursor is dragged over them.

This however doesn't happen when QTableWidget is not promoted to QDropTableWidget.