Results 1 to 2 of 2

Thread: Problem wirh Drag and Drop for QWT Graph

  1. #1
    Join Date
    Oct 2006
    Location
    Bangalore
    Posts
    32
    Qt products
    Qt4
    Platforms
    Windows

    Unhappy Problem wirh Drag and Drop for QWT Graph

    Hi,

    I am trying to drag the graph which is plotted on a widget using QWT to a word document.

    canvas->paintCache returns pointer to QPixmap.
    I am using this pixmap to set as Image data to QMimeData.

    When I actually drop the QMimeData to the word document, I can see only the curves. Axis ,Labels and Legends are not dragged/copied at all from my qwt graph to the word document!.

    I have not implemented this feature before, hence I am wondering whether my logic is right with respect to Drag and Drop of QWT graphs.

    Kindly let me know.

    Regards,
    Ankitha

  2. #2
    Join Date
    Oct 2006
    Location
    Bangalore
    Posts
    32
    Qt products
    Qt4
    Platforms
    Windows

    Default Drag And Drop Problem for QWT Graphs - Qt4

    Forgot to mention that I am using Qt4.3

    Hi,

    I am trying to drag the graph which is plotted on a widget using QWT to a word document.

    canvas->paintCache returns pointer to QPixmap.
    I am using this pixmap to set as Image data to QMimeData.

    When I actually drop the QMimeData to the word document, I can see only the curves. Axis ,Labels and Legends are not dragged/copied at all from my qwt graph to the word document!.
    I am wondering whether or not legends,axis and labels are part of canvas?
    If not, How do i get hold of those things as well along with my graph so that i can drag and drop them in the word document.

    I have not implemented this feature before, hence I am wondering whether my logic is right with respect to Drag and Drop of QWT graphs.

    Kindly let me know.

    Regards,
    Ankitha

Similar Threads

  1. Drag and Drop problem
    By ScoOteR in forum Qt Programming
    Replies: 16
    Last Post: 19th May 2010, 15:57
  2. Problem with Drag Drop for QWT Graph
    By Ankitha Varsha in forum Qwt
    Replies: 2
    Last Post: 23rd January 2008, 06:21
  3. Problem with a cursor during Drag and Drop
    By mtrpoland in forum Qt Programming
    Replies: 1
    Last Post: 28th December 2007, 16:46
  4. Drag n Drop problem
    By ScoOteR in forum Qt Programming
    Replies: 1
    Last Post: 21st March 2007, 11:52
  5. Drag 'n Drop problem
    By kiker99 in forum Qt Programming
    Replies: 4
    Last Post: 16th January 2006, 17:35

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.