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. Input dependant contents of window

Input dependant contents of window

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

    So i am trying to make a Desktop application about CPU Scheduling Techniques , and i am having a hard time to decide what to do and how to do it in QT As i am new to it ,I will try To Describe it, i want to Make The Main Window Where The User Enter Number of Processes to be Scheduled into the CPU and He chooses the method of Scheduling via a button Which will open another window the problem here that i want the opened window to have like a block (Each block have a process number and it's info like burst time ,arrival time) and i want this number of blocks to be as the number the user entered in the past window , How Can this be made ?! and How to pass Each Block(Process )parameters to the function of Scheduling to Schedule that ,Also i will use Graphviz to draw That As Gantt chart is there a more Suitable way to do that ?

    jsulmJ 1 Reply Last reply
    0
    • M mazen

      So i am trying to make a Desktop application about CPU Scheduling Techniques , and i am having a hard time to decide what to do and how to do it in QT As i am new to it ,I will try To Describe it, i want to Make The Main Window Where The User Enter Number of Processes to be Scheduled into the CPU and He chooses the method of Scheduling via a button Which will open another window the problem here that i want the opened window to have like a block (Each block have a process number and it's info like burst time ,arrival time) and i want this number of blocks to be as the number the user entered in the past window , How Can this be made ?! and How to pass Each Block(Process )parameters to the function of Scheduling to Schedule that ,Also i will use Graphviz to draw That As Gantt chart is there a more Suitable way to do that ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @mazen said in Input dependant contents of window:

      How Can this be made ?!

      Simply add additional parameters to the constructor of the second window class to pass all the needed data from first window to the second one.

      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