Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Background image for data visualization.
Forum Updated to NodeBB v4.3 + New Features

Background image for data visualization.

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 931 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.
  • R Offline
    R Offline
    r4ubritt3r
    wrote on last edited by
    #1

    Hi,

    I'm playing a bit with Qt5.4's data visualization features and can't achieve one thing. I would like e.g. Bars3D to be displayed together with standard qml elements, sitting above the same background image.
    Currently Bars3D have white background and it looks poorly.
    Is there any option or trick to achieve what I am looking for?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dasRicardo
      wrote on last edited by
      #2

      Take a look at "this":http://doc.qt.io/QtDataVisualization/qml-qtdatavisualization-theme3d.html.

      **Sorry for my english :)

      PLEASE ADD [SOLVED] TO YOUR THREAD TITLE IF IT'S SOLVED.**

      1 Reply Last reply
      0
      • R Offline
        R Offline
        r4ubritt3r
        wrote on last edited by
        #3

        Thanks. Could you be more specific?
        I have checked this before posting but couldn't find anything helpful.
        I can play with backgroundColor, backgroundEnabled or windowColor but all I get is different color of background under Bars3D.
        It looks like I can only change value for glClearColor that is probably called under the hood.
        I have also tried to play with renderMode property, but if I change it from default value, graph is always under other elements and thus not visible. It seems that if renderMode isn't indirect, graph is always rendered as first element and covered later by other qml elements as rectangles or images.
        I would like to set graph over Image{} and use this image as a background.
        Is it possible to do so with Qt5.4?

        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