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. Mouse Operation and Painting in Qt.
Forum Updated to NodeBB v4.3 + New Features

Mouse Operation and Painting in Qt.

Scheduled Pinned Locked Moved General and Desktop
qt creator
2 Posts 2 Posters 603 Views 2 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.
  • H Offline
    H Offline
    HYSuperman
    wrote on last edited by
    #1

    I think you all know about the hardware description language (HDL) like Verilog. This kind of language decribe the hardware like the logical circuits.

    The structure of these kind of language is not very abstract like the structure of software languages.

    For example, if I want to decribe a pipeline in verilog, the pipeline is called top and is made of three stages: A, B and C.
    I can use four files: one for top and the other three for three stages to describe this pipeline.
    If I want to connect the stages, say if I want the output of A connected to the input of B, I just name a wire called AB and write it in the top file to connect these two stages.

    Actually it's a little bit complicated and boring to do the "wiring" jobs when I write this pipeline.

    SO. I want to make the connection visualized using Qt and finally make it a plugin of Qt Creator.

    Basically I want to make a module visualized (just a rectangle and it has a lot of inputs and outputs) and I can use my mouse to connect two modules by dragging a line between them. And after this operation it will generate the relevant code.

    But right now I don't now where to start, which library should I use? Is there anybody who has the relevant experience?

    Thank you in advance.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Sounds like a good candidate for either the Graphics View framework or QML. The examples from the respective modules should help you get started.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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