Results 1 to 2 of 2

Thread: Drag and Drop Functionaly on QTabWidgets

  1. #1
    Join Date
    Aug 2017
    Location
    USA
    Posts
    2
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Question Drag and Drop Functionaly on QTabWidgets

    Hello,

    I was wondering if the Drag and Drop functionality could be used to move QTabWidget Tabs between two separate QTabWidgets. The alternative would be to use mouse press, move and release events to build out the functionality. I am just unsure about the applications and limitations of the Drag and Drop feature built into Qt and was hoping for some clarification.

    Much Appreciated

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Drag and Drop Functionaly on QTabWidgets

    Qt Drag & Drop framework can be used to write Drag Drop of Tabs between QTabWidget. Look at QTabBar and reimplement it to handle Drag Drop events
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  3. The following user says thank you to Santosh Reddy for this useful post:

    De-Wayne (12th October 2017)

Similar Threads

  1. Replies: 2
    Last Post: 30th January 2014, 07:46
  2. Replies: 0
    Last Post: 7th January 2012, 16:20
  3. Replies: 2
    Last Post: 13th October 2010, 22:51
  4. Replies: 3
    Last Post: 10th June 2010, 16:13
  5. Replies: 0
    Last Post: 4th May 2010, 11:24

Tags for this Thread

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.