Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. GUI for electric circuit simulator. General conceptions
Forum Updated to NodeBB v4.3 + New Features

GUI for electric circuit simulator. General conceptions

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 3 Posters 1.3k 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.
  • E Offline
    E Offline
    Egor_MIPT
    wrote on last edited by
    #1

    Dear colleagues,
    I am a beginner in QT development (as well as in programming). I would like to develop an application that simulates the work of electric circuits. The general idea:
    I have panel with elements (resistor, capacitor ect.). I drag and drop element to the frame and link it by wires. After that I give an input signal and simulate an output signal.

    I have no problems with simulations, all Python codes are written, but I have problems with understanding of some GUI features realization. I would be grateful if you advice me some solutions.

    1. What widget should I use for "work field", where I put my elements?
    2. How to create an object (image of electric element), which I can place at work field?
    3. How to make wires (In my case it's only horizontal lines with auxiliary length defined by user when he place it on work field)
    4. Is it possible to realize this interface using only QtDesigner?

    Thank you for attention, I would glad to get your advice.
    Sincerely, Egor

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

      Hi and welcome to devnet,

      For one to three, please take a look at the Graphics View framework.

      For number four, no you won't be able to do everything with Designer. Place the main components, yes, but you will have various custom items that you will have to code by hand.

      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
      1

      • Login

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