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. Custom image linear gauge possible?
Forum Updated to NodeBB v4.3 + New Features

Custom image linear gauge possible?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
lineargaugerpmqmlimage
1 Posts 1 Posters 677 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
    failedcomp
    wrote on 24 Feb 2021, 21:11 last edited by
    #1

    I was wondering if its possible to recreate a Linear Gauge I made in SIM Racing software. I have spent hours trying to recreate this Gauge in Qt but no luck.

    In the sim racing dash studio this was very easy to make. I just set a Linear Gauge with value from 0 - 100 and set a Gauge Image on the Linear Gauge to this PNG

    MoTeC-SW-02.png

    For the outline I use another layer with just a image
    MoTeC-SW-01.png

    Together with background they look like this

    c054dac0-b1f1-4846-90ad-c8bee8890798-image.png

    I am trying to recreate this in Qt trying a Gauge and adding background image to Gauge or GaugeStyle, trying horizontal or vertical orientation, & trying to find a similar question for custom image on a linear gauge with no luck. Maybe it's not possible with Gauge in Qt? How else can I do this then?. Hopefully someone can help :(

    1 Reply Last reply
    0

    1/1

    24 Feb 2021, 21:11

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved