MainWindow#

class metabeeai.llm_review_software.MainWindow[source]#

Bases: QMainWindow

Methods Summary

auto_save()

computeAnnotation(ann_data, img_width, ...)

compute_progress_for_current_paper()

Compute the progress percentage for the current paper using in‑memory data.

create_question_panel()

decreaseFontSize()

handle_hover_annotations(annotations)

handle_wheel_zoom(delta)

increaseFontSize()

keyPressEvent(self, a0)

log_field_change(field_name, new_value)

Append a log line to beegui.log under the current paper folder.

on_chunk_selected(item)

on_next_page()

on_next_paper()

on_paper_selected(item)

on_prev_page()

on_prev_paper()

on_question_selected(item)

on_star_rating_changed(rating)

on_zoom_changed(value)

open_folder([initial])

populate_questions()

render_current_page()

resizeEvent(self, a0)

setTheme(theme)

set_annotation_mode(mode)

show_about()

toggleFullScreen()

updateAnnotations()

updateFontSize()

update_modification_label()

update_progress_display()

Refresh the paper list item's text for the current paper, showing the updated progress percentage.

Methods Documentation

auto_save()[source]#
computeAnnotation(ann_data, img_width, img_height, x_offset, y_offset, padding=2)[source]#
compute_progress_for_current_paper()[source]#

Compute the progress percentage for the current paper using in‑memory data. Checks five fields per question: - user_answer_positive - user_answer_negative - user_reason_positive - user_reason_negative - user_rating (non‑zero) Uses the union of question keys from both the system answers and the extended (user) answers.

create_question_panel()[source]#
decreaseFontSize()[source]#
handle_hover_annotations(annotations)[source]#
handle_wheel_zoom(delta)[source]#
increaseFontSize()[source]#
keyPressEvent(self, a0: QKeyEvent | None)[source]#
log_field_change(field_name, new_value)[source]#

Append a log line to beegui.log under the current paper folder. Format: [timestamp] field_name changed to: new_value

on_chunk_selected(item)[source]#
on_next_page()[source]#
on_next_paper()[source]#
on_paper_selected(item)[source]#
on_prev_page()[source]#
on_prev_paper()[source]#
on_question_selected(item)[source]#
on_star_rating_changed(rating)[source]#
on_zoom_changed(value)[source]#
open_folder(initial=False)[source]#
populate_questions()[source]#
render_current_page()[source]#
resizeEvent(self, a0: QResizeEvent | None)[source]#
setTheme(theme)[source]#
set_annotation_mode(mode)[source]#
show_about()[source]#
toggleFullScreen()[source]#
updateAnnotations()[source]#
updateFontSize()[source]#
update_modification_label()[source]#
update_progress_display()[source]#

Refresh the paper list item’s text for the current paper, showing the updated progress percentage.