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