Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. overlay
    Log in to post

    • SOLVED TableView - Show an optional item covering the whole row of a multi-columns table view
      QML and Qt Quick • item paint event overlay item delegate table view • • jeanmilost  

      10
      0
      Votes
      10
      Posts
      163
      Views

      Thanks to all for the replies. I finally resolved the issue by replacing the TableView by a ListView and rewriting the columns handling manually. As the ListView draws the whole item content once, all the above mentioned issues are resolved at the same time. However very interesting concepts were presented here, and they may help me for other similar situations in the future. Once again, thank you very much to took the time to help me and reply to my questions.
    • UNSOLVED Does VirtualKeyboard offer any way to have a dark transparent overlay surrounding the TextField that activates the inputPanel?
      QML and Qt Quick • qml virtualkeyboard overlay input panel • • red.green  

      2
      0
      Votes
      2
      Posts
      144
      Views

      @red.green hi, I'm unfamiliar with the virtual keyboard. But I have the following idea. inside your TextField, you listend to onActiveFocusChanged if that becomes true, that the virtual keyboard should be called forth. On you can than listen to the editingFinished signal and force the focus on the parent. to guarantee that the active focus is really gone after editing Item{//arbitary parent TextField{ onActiveFocusChanged: if(activeFocus) //do stuff onEditingFinished: parent.forceActiveFocus() } }
    • UNSOLVED ColorOverlay disappears when scaled
      QML and Qt Quick • scale dropshadow overlay • • jars121  

      3
      0
      Votes
      3
      Posts
      1010
      Views

      Thanks for your reply. This seems to have improved the situation somewhat, as I can now see the red image when I click. However, the original image seems to be overlayed over the top of the red image with a level of transparency. It's almost like the visible: false parameter is changed when the MouseArea is clicked? It's somewhat hard to explain, hopefully the above makes sense? If not, I can put together some screenshots to demonstrate the issue? EDIT: Never mind, it looks like user error after all! I had the z-order configured incorrectly, so the drop shadow was being drawn on top of the image rather than underneath it. Thanks again for your help!
    • UNSOLVED Draw Qt widgets in DirectX/OpenGL context
      Game Development • opengl directx overlay • • Phoenox  

      2
      0
      Votes
      2
      Posts
      1498
      Views

      Assuming you have an OpenGL context and you can draw/create objects in it you would make that context current, then create a QOpenGLPaintDevice and use it to render() the widget into that. Please note that a widgets require a QApplication instance and a running Qt's event loop, so you would need to ensure you have that. As for DirectX Qt doesn't have any direct support for it, but you could probably grab() a widget into a QPixmap, transfer the pixels to a DirectX texture and draw a quad with it. If you feel adventurous you could also implement your own QPaintEngine, then subclass QPaintDevice to return that engine and use it like with the OpenGL version.
    • UNSOLVED Overlaying text on top of a QtGStreamer video display
      General and Desktop • gstreamer overlay qwidgetvideosin • • ericg22  

      1
      0
      Votes
      1
      Posts
      659
      Views

      No one has replied

    • UNSOLVED Video overlay with Qt 4.8
      Mobile and Embedded • video gstreamer overlay qt4.8.6 • • PierreO  

      1
      0
      Votes
      1
      Posts
      1006
      Views

      No one has replied

    • QGLWidget/QOpenGLWidget with transparent background
      General and Desktop • opengl qopenglwidget background transparency qglwidget transparent overlay alpha translucent see throught • • FredeHo  

      1
      0
      Votes
      1
      Posts
      1453
      Views

      No one has replied