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. How to implement qt application just like drag and drop of inbox contents in gmail..??
QtWS25 Last Chance

How to implement qt application just like drag and drop of inbox contents in gmail..??

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 555 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

    hi friends ,

    i have implemented a drag and drop between two qtablewidget and its working fine what i need is to implement the dragging appearance just like how it looks if we drag a inbox content into trash in gmail. im not getting how to do that so can anyone help me regrading this please..!!!!
    thank you.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Priya_sipl
      wrote on last edited by
      #2

      Hello ecmanja,

      you can try this:

      @// take item from table first
      QTableWidgetItem* item = table->takeItem(row, column);

      // set item in second table
      table1->setItem(row1, column1, item); @

      You can do this with connecting itemPressed SIGNAL

      Pinnacle_cool

      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