atomiq.frontend.atomiq_dashboard ================================ .. py:module:: atomiq.frontend.atomiq_dashboard Attributes ---------- .. autoapisummary:: atomiq.frontend.atomiq_dashboard._OldArgumentEditor atomiq.frontend.atomiq_dashboard._OldExperimentDock atomiq.frontend.atomiq_dashboard._OldScanEntry atomiq.frontend.atomiq_dashboard._OldNoScan atomiq.frontend.atomiq_dashboard.cls_name Classes ------- .. autoapisummary:: atomiq.frontend.atomiq_dashboard._ArgumentEditor atomiq.frontend.atomiq_dashboard._ExperimentDock atomiq.frontend.atomiq_dashboard._NoScan atomiq.frontend.atomiq_dashboard.ScanEntry atomiq.frontend.atomiq_dashboard.ScanOrderListItem Functions --------- .. autoapisummary:: atomiq.frontend.atomiq_dashboard.main Module Contents --------------- .. py:data:: _OldArgumentEditor .. py:data:: _OldExperimentDock .. py:data:: _OldScanEntry .. py:data:: _OldNoScan .. py:data:: cls_name :value: '' .. py:class:: _ArgumentEditor(*args, **kwargs) Bases: :py:obj:`_OldArgumentEditor` Patches the ARTIQ argument editor table (`artiq.dashboard.experiments._ArgumentEditor`) to add alternating row colors, reduce the mouse wheel scroll speed and implement an argument search. .. py:method:: search(keyword) .. py:class:: _ExperimentDock(*args, **kwargs) Bases: :py:obj:`_OldExperimentDock` Patches the experiment dock (`artiq.dashboard._ExperimentDock`) to add a search bar and a list to choose the scan order. .. py:attribute:: searchbar .. py:attribute:: scan_order_list .. py:method:: on_scan_order_rows_moved(item) .. py:method:: _recompute_arguments_task(*args, **kwargs) :async: .. py:class:: _NoScan(*args, **kwargs) Bases: :py:obj:`_OldNoScan` Patches the no scan dialog (`artiq.gui.entries._NoScan`) to take up less space in the arguments table. .. py:class:: ScanEntry(*args, **kwargs) Bases: :py:obj:`_OldScanEntry` Patches the scan entry argument widget (`artiq.gui.entries.ScanEntry`) to add automatic resizing when switching between the scan modes. .. py:attribute:: scan_order_item :value: None .. py:method:: _scan_type_toggled() .. py:method:: _update_scan_order() Updates the 'scan_priority' field of the selected scan mode, based on the position in the scan order list. .. py:method:: _delegate_size_change() .. py:method:: changeEvent(e) .. py:class:: ScanOrderListItem(scan_entry, *args, **kwargs) Bases: :py:obj:`PyQt6.QtWidgets.QListWidgetItem` Patches the list item widget to include a callback for changing the scan order. .. py:attribute:: scan_entry .. py:method:: change_scan_order() Called on every element when the parent QListWidget is reordered .. py:function:: main()