[Qt-interest] Examples on making a QLineEdit Droppable
Michael Jackson
mike.jackson at bluequartz.net
Fri Mar 12 22:09:18 CET 2010
On 3/12/10 3:53 PM, in article C7C013DE.523D%mike.jackson at bluequartz.net,
"Michael Jackson" wrote:
> I am looking for either documentation or some example code that allows a
> user to drop a file onto a QLineEdit and have the path to the file show up.
> I have figured out how to do this for my QMainWindow by implementing the
> Drop* methods. Is it the same idea but I need to create a Custom QLineEdit
> (QDroppableLineEdit) class and them implement the methods? Then "promote"
> the widgets in my layout (Using QDesigner) to the new class?
>
> Thanks
> Mike Jackson
>
Should have spent a few more minutes on google. Found what I needed.
http://sector.ynet.sk/qt4-tutorial/dnd.html
Sorry for the noise.
mj
More information about the Qt-interest-old
mailing list