QTableview row pixmap grab



  • hello very one i am new to qt can any of u help me with grabbing a pixmap of row in a table view...
    @
    while grabbing and dragging my row pixmap should come



  • A QWidget can be rendered to a QPainter or a QPaintDevice via QWidget::render. QTableView is a QWidget, so it can do that as well. Then, it would be a matter of finding out what rect of that image you need, which should be doable using methods like QAbstractItemView::visualRect.



  • Ok thanx I will try it in one two day I will come up with some thing I will surely clear wit u


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.