msl.qt.widgets.comments module

A QtWidgets.QDialog to prompt the user to enter comments.

class msl.qt.widgets.comments.Comments(json_path, title, even_row_color, odd_row_color)[source]

Bases: QDialog

A QtWidgets.QDialog to prompt the user to enter comments.

Do not instantiate directly. Use msl.qt.prompt.comments() instead.

append_to_history_table(timestamp, comment)[source]
apply_filter()[source]
clear_filter()[source]
clear_history()[source]
create_widgets()[source]
load_json()[source]
prepend_and_close()[source]
save_json()[source]
table_double_click(row, col)[source]
table_key_press(event)[source]
text()[source]

str: The text in the comment editor

update_table_row_colors_and_resize()[source]