Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Drag and drop of text in textedit ...??

Drag and drop of text in textedit ...??

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    ecmanja
    wrote on last edited by
    #1

    hello,
    i am new to qt ,i have confusion that can we do drag and drop of text contained in one textedit to another textedit but it should get "copy and paste" not "cut and paste" .

    i tired by google it but i did not get any example regradding it.
    so helps can anyone assist me in this ....??

    thank you...!!!!

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      You can do it. Just see the drag and drop "example":http://qt-project.org/doc/qt-4.8/dnd.html and try understand how it works. Based on this you should be able to write your own example.

      one question : When you can do copy and paste, why do you want drag and drop ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved