Results 1 to 2 of 2

Thread: Printing Problem in QwtTextLabel

  1. #1
    Join Date
    Jul 2009
    Posts
    49
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Printing Problem in QwtTextLabel

    Hai

    I am using QwtTextLabel in my QWTplot and display some text in the top of the legend frame.
    but, if am going to print that QwtTextLabel not coming .

    is there any other way to print QwtTextLabel along with QwtPlot?

    Suresh

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,312
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Printing Problem in QwtTextLabel

    yourLabel->text().draw(painter, rect);

    painter is the same one, that is used for QwtPlot:rint, but calculating rect is the job of your application.

    Uwe

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

    umulingu (29th March 2010)

Similar Threads

  1. printing problem
    By #andi# in forum Newbie
    Replies: 0
    Last Post: 9th August 2009, 21:01
  2. problem in printing QTableView
    By miguel_mark in forum Qt Programming
    Replies: 2
    Last Post: 6th February 2008, 08:19
  3. printing problem
    By vishnu5 in forum Newbie
    Replies: 3
    Last Post: 17th December 2007, 19:22
  4. Printing problem in windows
    By joseph in forum Qt Programming
    Replies: 6
    Last Post: 12th July 2007, 08:04
  5. printing problem
    By igor_x in forum Newbie
    Replies: 3
    Last Post: 8th November 2006, 10:50

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.