Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Mac specific scrolling flag in QWidget creation
QtWS25 Last Chance

Mac specific scrolling flag in QWidget creation

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 365 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Mark A. GreenM Offline
    Mark A. GreenM Offline
    Mark A. Green
    wrote on last edited by
    #1

    I'm working to convert a huge legacy product to use Qt. For our first pass through this conversion, we need to leave our drawing code in it's legacy format and just migrate our GUI (dialogs, menus, toolbars, etc.) As such, we will have Qt create a QWidget to draw our content into. Then we will use QWindow::winId() to obtain native window handles and from that derive the drawing contexts we need to render to the view directly.

    To achieve smooth scrolling on Mac, our legacy code relies on setting the compatibleWithResponsiveScrolling property on the NSView at creation. So, does anyone know if Qt offers a way to effectively set this flag through its QWidget/QWindow object APIs or flags? Alternately, does anyone know if this property always set for all QWidget/QWindows on Mac?

    Thanks,
    ~Mark

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Checking the cocoa QPA, no, this interface is not implemented at all.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • Mark A. GreenM Offline
        Mark A. GreenM Offline
        Mark A. Green
        wrote on last edited by
        #3

        Thank you @SGaist. Unfortunate to hear, we'll have to work around that. Thanks for your help.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved