quicknxs.ui package

Submodules

quicknxs.ui.compare_plots module

Widget to compare different reflectivities.

class quicknxs.ui.compare_plots.CompareDialog(*args, **kwargs)[source]

Bases: QDialog

A simple dialog window with a CompareWidget.

class quicknxs.ui.compare_plots.CompareWidget(parent)[source]

Bases: QWidget

changing_table = False
clear_item()[source]

Remove all current plotted data

clear_plot()[source]

Remove all current plotted data

draw()[source]

Draw data

edit_cell(row, column)[source]

Cell editing call-back. Deal with color picking.

open_file()[source]

Show Open-File dialog

read_file(file_path)[source]

Read data file :param str file_path: file to load

refl_preview(checked=True)[source]

Call-back method for when the user toggles the preview check box

update_preview()[source]

Update the preview data