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. Events and QMacNativeWidget
Forum Updated to NodeBB v4.3 + New Features

Events and QMacNativeWidget

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.8k Views 1 Watching
  • 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.
  • Z Offline
    Z Offline
    zzhou
    wrote on last edited by
    #1

    I'm trying to embed some Qt widgets into Eclipse (currently I'm mostly working on Cocoa version). I am working on QWebView.

    Each widget is contained within QMacNativeWidget that is inside of Cocoa control, created by SWT. If I have only one QWebView it works just fine. If I open a second QWidget (i.e. QWebView or QWebInspector) then both controls stop repainting - that queue all the events as expected but than their events are not processed. Events will be processed if I open a pop-up menu in a control.

    Is there some way to ensure that those events are processed as expected? This behavior does not break the SWT parts - their Cocoa views work as expected. I do not see this problem if I have only one QWidget in my application (i.e. paint events are processed even if the view is not focused).

    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