Navigation

    Qt Forum

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

    • SOLVED QQuickPaintedItem not update whole area.
      QML and Qt Quick • qml update qquickitem qquickpaintedit • • Mintogo  

      2
      0
      Votes
      2
      Posts
      81
      Views

      I resolved it. It because of RenderTarget. I rollback it to default value.
    • SOLVED access to qquickframebufferobject renderer instance
      QML and Qt Quick • opengl qquickitem qquickframebuf • • MintogoDeveloper  

      2
      0
      Votes
      2
      Posts
      99
      Views

      I resolve it!
    • UNSOLVED QSG Node and QQuickItem batches
      QML and Qt Quick • qquickitem scene graph qsgnode batches • • Eray  

      1
      0
      Votes
      1
      Posts
      66
      Views

      No one has replied

    • UNSOLVED How to change application window z index
      Mobile and Embedded • ios qquickitem qquickwindow • • Wiru  

      1
      0
      Votes
      1
      Posts
      458
      Views

      No one has replied

    • SOLVED Custom QQuickItem vs. Widgets QGraphicsView for music notation
      General and Desktop • qml qgraphicsview widgets qquickitem scene graph • • mbise1993  

      3
      0
      Votes
      3
      Posts
      796
      Views

      Thanks for the input! I think I'm going to go with QGraphicsView for the notation and use QQuickWidgets throughout the other pieces of the UI that don't need access to the entire model. I'm hoping that won't be too complicated and will give me the best of both worlds. But I do wonder: is there a specific piece of Qt Quick that's supposed to a "replacement" for QGraphicsView? It seems like the scene graph is a bit too low level, but it's also the only way to gain a lot of control and keep things mostly on the C++ side. It would be nice if the built-in QML elements are exposed via a C++ API at some point.
    • UNSOLVED Bad shader result in a custom QQuickItem
      QML and Qt Quick • qml opengl qtquick2 qquickitem scene graph • • seyed  

      2
      0
      Votes
      2
      Posts
      708
      Views

      @seyed As I understand things, you need to get hold of the item's transform and do whatever your rendering needs to do with it for it to have effect... see https://stackoverflow.com/questions/28535528/how-can-i-get-transform-matrix-for-qquickitem . (Similarly, nothing will implement the opacity property for you... you have to bring it into your OpenGL code and use it in your fragment shader.)
    • UNSOLVED Are there gotchas with creating an instance of a QQuickItem subclass which instance I don't intend to render or add to a QML tree?
      QML and Qt Quick • c++ qquickitem • • Stefan Monov76  

      2
      0
      Votes
      2
      Posts
      871
      Views

      It's not intended, but should work. Just remember that you get a lot of overhead from QQuickItem and QObject with this approach, these classes are not tiny.
    • UNSOLVED MouseArea blocks 'Custom Scene Graph Item's mouse events
      General and Desktop • qtquick mousearea qquickitem scene graph • • kafanti  

      2
      0
      Votes
      2
      Posts
      1432
      Views

      @kafanti If MouseArea handles mouse event it doesn't pass event to its parent. You need: onPressed: { mouse.accepted = false; }
    • UNSOLVED Rendering of OpenGL Textures or Scenes in a QML Window?
      QML and Qt Quick • qml opengl qquickitem scene graph qglframebuffero • • nazy  

      2
      0
      Votes
      2
      Posts
      1225
      Views

      Since editing doesnt work properly on mobile for me Im gonna add information I forgot as a reply: Qt/QML version: 5.5, QML2 if relevant: development OS: debian amd64 window manager: kwin -> developing in a vm (vmware)
    • UNSOLVED Rotating custom QQuickItem strange behaviour
      QML and Qt Quick • qquickitem scene graph custom transform rotate • • r.kull  

      3
      0
      Votes
      3
      Posts
      1016
      Views

      @Wieland I will try as soon as I find the time :)
    • Android 5 fail to convet QQuickItem to QImage
      Mobile and Embedded • qimage qquickitem android 5 screen capture qquickitemgrabr • • Zondar  

      1
      0
      Votes
      1
      Posts
      829
      Views

      No one has replied

    • QQuickItem to QImage
      General and Desktop • qimage qquickitem slow conversion • • Zondar  

      1
      0
      Votes
      1
      Posts
      863
      Views

      No one has replied

    • Connecting a slot to a QSharedPointer (QQuickItem::grabToImage)
      General and Desktop • signal & slot qquickitem qsharedpointer qquickitemgrabr • • bundickt  

      4
      0
      Votes
      4
      Posts
      3104
      Views

      It's just a matter of calling: connect(grabResult.data(), &QQuickItemGrabResult::ready, this, &MyClass::mySlot); I haven't checked the current implementation but in any case it's a costly operation so using a shared object might also be a non-negligeable resource usage improvement.
    • Wrote short article about dynamically created QQUickItem's with example code
      QML and Qt Quick • qml c++ qquickitem • • vladstelmahovsky  

      1
      0
      Votes
      1
      Posts
      552
      Views

      No one has replied

    • QQuickView and QWebEngineView
      General and Desktop • qwebengineview qquickitem • • ejos  

      1
      0
      Votes
      1
      Posts
      1041
      Views

      No one has replied

    • drawText in QQuickItem
      QML and Qt Quick • text qquickitem • • themts  

      11
      0
      Votes
      11
      Posts
      3627
      Views

      Thanks @p3c0 Based on the documentation, QtDeclarative has already been deprecated in favor of the two new classes: Qt Quick and Qt QML. QQuickPaintedItem can be use as convenient way to port QDeclarativeItem-based classes that use the QPainter API. I've been searching on the internet how to render text on QSG nodes but to no avail. I'm still stuck into this problem. :(
    • How to create QQmlComponent child instances inside extended QQuickItem (C++)
      QML and Qt Quick • c++ qquickitem qqmlcomponent • • chocis  

      4
      0
      Votes
      4
      Posts
      2371
      Views

      I have no idea on your issue, but I recall a method which is in Component type: object incubateObject(Item parent, object properties, enumeration mode) By noting "incubate" it means the object is created asynchronously, without blocking the GUI.
    • [SOLVED] How to prevent a QML ListView from stealing mouse events from a QQuickPaintedItem?
      QML and Qt Quick • qml qtquick qquickitem • • VStevenP  

      7
      0
      Votes
      7
      Posts
      4247
      Views

      @p3c0 Thanks for this additional idea. The bug assignee updated and closed the bug, informing me that I should call setKeepMouseGrab(true) during the mousePressEvent handler, then the mouse events would never be stolen. It worked like a charm. Thanks again for your additional ideas. I will mark this thread as Solved.
    • Can I directly access the vertex-buffer of a QQuickItem or do I have to use openGL itself?
      QML and Qt Quick • opengl chart qquickitem vbo updatepaintnode vertex buffer • • themts  

      3
      0
      Votes
      3
      Posts
      983
      Views

      vertexData() returns only the data in ram and not the real VBO which is stored in GPU-ram. As soon as you mark it as dirty it gets completely copied into GPU. Meanwhile I have implemented a direct opengl-way where I create the VBO myself. Thanks anyway! cu