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. QML UI on top of non-OpenGL widget
QtWS25 Last Chance

QML UI on top of non-OpenGL widget

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 590 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.
  • F Offline
    F Offline
    FranzB
    wrote on last edited by
    #1

    Hi all,

    I want to create a UI consisting of the following components:

    http://fs1.directupload.net/images/141211/cruvrltu.png

    In the background, I want to place the visualizations: (1) an OpenGL-based visualization of a scan (already implemented successfully) and alternatively (2) a non-OpenGL visualization of 3D models. The QML UI (3) should be semi-transparent on top of it and optionally capable of fading in/out, as well as a sidebar (4) which would affect the width of the visualization when faded in/out.

    It's quite easy for the OpenGL visualization, it can be placed on a QGLWidget or probably also on the new versions of it and then overlayed with the QML UI. However, I cannot do that with the non-OpenGL visualization. It is bound to a QWidget (also tried a QQuickWidget) via winId() handle and feels obliged to be always on top of everything. I can't get the QML UI to display on top.

    Is there any way to achieve what I want? I have been researching almost an entire week and tried several solutions (QWidget handle, raise, createWindowContainer, QQuickWidget, ...), but nothing seems to work or I missed something.

    Application must be Windows x64. I am currently on Qt 5.3.2 and VS2012, will upgrade to 5.4 today probably.

    Thx i.a. and kind regards

    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