Results 1 to 3 of 3

Thread: Since which Qt version does QWheelEvent::orientation exist?

  1. #1
    Join Date
    Jul 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Question Since which Qt version does QWheelEvent::orientation exist?

    Hi!

    I am submitting a patch to a large open source library, and was wondering if it would be necessary to put a call to QWheelEvent :: orientation (I put a space after :: so that no smiley is rendered) between some #ifdef preprocessor commands, so that it will work for all versions of Qt. I know it works with Qt 4.7, but when was this method introduced?

    Or maybe I can look this up somewhere?

    Cheers,
    Claus

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Since which Qt version does QWheelEvent::orientation exist?

    It has existed for all of the Qt 4.x series. I just looked at the 4.0 QWheelEvent docs here.

    BTW: there are options below the edit box to disable smilies in post text.

  3. #3
    Join Date
    Jul 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Since which Qt version does QWheelEvent::orientation exist?

    Ah thanks, there are docs for older versions of Qt! I will look it up :)


    Cheers,
    Claus

Similar Threads

  1. Pass event (QWheelEvent) to a specific widget
    By stefanadelbert in forum Qt Programming
    Replies: 3
    Last Post: 5th May 2021, 03:10
  2. Create a QWheelEvent and pass it to a widget's wheelEvent
    By almagest in forum Qt Programming
    Replies: 3
    Last Post: 20th December 2010, 13:58
  3. QLabel orientation
    By smacchia in forum Qt Programming
    Replies: 1
    Last Post: 18th November 2010, 15:56
  4. Screen orientation
    By Tomasz in forum Qt for Embedded and Mobile
    Replies: 6
    Last Post: 31st August 2010, 09:47
  5. QWidget orientation
    By Valheru in forum Qt Programming
    Replies: 8
    Last Post: 19th August 2008, 17:20

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.