Results 1 to 2 of 2

Thread: drop a file into textEdit

  1. #1
    Join Date
    Nov 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Smile drop a file into textEdit

    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.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: drop a file into textEdit

    Take a look at this wiki article: Drop images on QTextEdit. It's about dropping images, but same kind of technique works for text files too.
    J-P Nurmi

Similar Threads

  1. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  2. Drag & Drop: delayed file delivery (Win & Mac)
    By Conel in forum Qt Programming
    Replies: 3
    Last Post: 19th September 2007, 16:01
  3. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  4. Remote file list Drop to desktop
    By patrik08 in forum Qt Programming
    Replies: 3
    Last Post: 9th February 2007, 23:16
  5. Replies: 11
    Last Post: 4th July 2006, 15:09

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.