Enabling drag for a single cell in a qtablewidget in qt ..??
-
hi friends ,
i have created two cells in a qtablewidget i want to enable drag option only for one cell how can i achieve it .!!!!
@ table->setDragEnabled(true); @
i used this line but it enables all cell in a tablewidget but i want for only one cell in a table..?? -
Hi,
One thing you can try is: update the flags of all the other items and remove Qt::ItemIsDragEnabled
Hope it helps