Closed giwon2004 closed 1 year ago
Here, I want to take advantage of QListView.Movement = QListView.Free to enable changing the priority of experiments in the scheduler GUI. But if this does not work, then I would try hardcoding the drag & drop property later.
It looks so cool property! However, I'm worried that changing the priority looks difficult, and I think you should cancel the experiment and re-sumbit it. If you think it would become a big implementation, you can separate into several issues!
Oh, I did not know that changing priorities is a big deal.
If it is, I guess I can implement everything except this drag & drop feature first, and then try it.
Feature you want to implement
Implement a scheduler that shows the list of experiments and their status
How the feature is implemented
In
iquip/apps
, make a new file namedscheduler.py
to implement the GUI, usingqiwis
, according to the python code artiq/artiq/dashboard/schedule.py.It adds a layout that has
QListView
for listing pending experiments. (ClassScheduleDock
in artiq/artiq/dashboard/schedule.py usedQTableView
to show information likeexpid
andstatus
in a table, but I want to customize the items inside the list.)QListView.Movement = QListView.Free
to enable changing the priority of experiments in the scheduler GUI. But if this does not work, then I would try hardcoding the drag & drop property later.An isolated frame (for displaying the current experiment) and this
QListView
will contain instances of the classExperimentView
, which will be later implemented (mentioned in Discussion#62 and will be implemented through Issue#64).