Results 1 to 4 of 4

Thread: How I setup QPrinter paper margins

  1. #1
    Join Date
    Jul 2007
    Location
    Jundiai/SP, Brazil
    Posts
    114
    Thanks
    5
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How I setup QPrinter paper margins

    Hi,

    I don't know as configure margins using qprinter. And I need a lot know how I do this.

    Please anybody help-me?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How I setup QPrinter paper margins

    Please take a look at the great docs before asking QPrinter::setPageMargins()
    J-P Nurmi

  3. #3
    Join Date
    Jul 2007
    Location
    Jundiai/SP, Brazil
    Posts
    114
    Thanks
    5
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How I setup QPrinter paper margins

    This function don't are avaliable in my instalation FC8 uses qt4-4.3.4 series yet and the docs are very clear: This function was introduced in Qt 4.4.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How I setup QPrinter paper margins

    Uhh sorry, I didn't realize it was a new function (not that I knew which version you were using either). Anyway, maybe it's time to compile a more recent version of Qt by hand?
    J-P Nurmi

Similar Threads

  1. left and right margins in QPrinter
    By igor_x in forum Newbie
    Replies: 0
    Last Post: 2nd November 2006, 10:42

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.