Results 1 to 7 of 7

Thread: what's the equivalent with DPtoLP in windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Posts
    11
    Thanks
    1

    Default Re: what's the equivalent with DPtoLP in windows

    Quote Originally Posted by wysota
    What do you need a QScreen object for?
    I want to use the member of QScreen mapFromDevice.

    It seems QScreen is part of Qtopia, I even can't find the head file QScreen in my Qt installation directory

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: what's the equivalent with DPtoLP in windows

    How about QWidget's:

    Qt Code:
    1. QPoint mapFrom ( QWidget * parent, const QPoint & pos ) const
    2. QPoint mapFromGlobal ( const QPoint & pos ) const
    3. QPoint mapFromParent ( const QPoint & pos ) const
    4. QPoint mapTo ( QWidget * parent, const QPoint & pos ) const
    5. QPoint mapToGlobal ( const QPoint & pos ) const
    6. QPoint mapToParent ( const QPoint & pos ) const
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Qt Jambi, deploying app on Mac & Windows fails
    By ChrisColon in forum Installation and Deployment
    Replies: 2
    Last Post: 16th February 2009, 22:05
  2. Replies: 5
    Last Post: 15th January 2009, 09:03
  3. Windows not appearing in XP.
    By beardybloke in forum Qt Programming
    Replies: 7
    Last Post: 24th October 2007, 17:32
  4. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00
  5. Qt and windows vista
    By munna in forum General Discussion
    Replies: 8
    Last Post: 11th January 2006, 22:33

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
  •  
Qt is a trademark of The Qt Company.