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. How to design a process indicated diagramm
Qt 6.11 is out! See what's new in the release blog

How to design a process indicated diagramm

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 695 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.
  • K Offline
    K Offline
    kpy3ep
    wrote on last edited by
    #1

    hi at all,

    I've some Qt 4.8 GUI with an tab-widget. On first tab of this widget i want to create a process indicated diagramm (battery, cable, dc/dc converter and so on) with some labels to show currently values.

    The process indicated diagramm is build as a picture (.svg) and connected to the label in the tab. It works fine so far - the picture is resized with the main window.

    Now i want to place some other labels in front of the diagram (picture). How can I get the positions of this labels in relation of size of the background (picture label)?

    Is there some better way to solve this problem? Does anybody have some example how to create a process indicated diagramm?

    kind regards - and thanks for any help

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      Sound like a job for a QGraphicsView, if you ask me. Perhaps you should read a bit about QGraphicsView, QGraphicsScene and the related classes.

      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