PDA

View Full Version : drop a file into textEdit



bala
15th November 2007, 07:12
Hi,
I need help in drag n drop.
I need to open a file that is dragged
and dropped to a text edit.
Please help me.
I am new to Qt.

jpn
15th November 2007, 10:31
Take a look at this wiki article: Drop images on QTextEdit (http://wiki.qtcentre.org/index.php?title=Drop_images_on_QTextEdit). It's about dropping images, but same kind of technique works for text files too.