Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, April 2007
Replacement for QTableWidget that is Copy/Pastable?


Message 1 in thread

Is there an alternative to QTableWidget that is copy/pastable?  A 
QTableWidget can have many highlighted cells, but only the last clicked 
cell will be copied to the clipboard.  I cannot find any information in 
the QTableWidget class to enable copy/pasting.  Any help is greatly 
appreciated.  Thanks,
Chris Portka

--
 [ signature omitted ] 

Message 2 in thread

It sounds as if you need to use Model-View and implement the copy/paste behavior that you want (using your own delegate & model).

--Susan


----- Original Message ----
From: Chris Portka <cportka@xxxxxxxxxxxxxxx>
To: qt-interest@xxxxxxxxxxxxx
Sent: Monday, April 23, 2007 4:04:07 PM
Subject: Replacement for QTableWidget that is Copy/Pastable?

Is there an alternative to QTableWidget that is copy/pastable?  A 
QTableWidget can have many highlighted cells, but only the last clicked 
cell will be copied to the clipboard.  I cannot find any information in 
the QTableWidget class to enable copy/pasting.  Any help is greatly 
appreciated.  Thanks,
Chris Portka

--
 [ signature omitted ]