Skip to content

API Class SessionLoadedImagesCommand

Bo Chen edited this page Apr 23, 2026 · 1 revision

API Class: SessionLoadedImagesCommand

Session Loaded Images Command class.

Source

Inheritance

  • Bases: QUndoCommand

Purpose

Session Loaded Images Command class.

Instance Attributes

Attribute First assigned in Line Explanation
_first_redo __init__ 83 Stores first redo.
after_state __init__ 82 State bundle for after state.
before_state __init__ 81 State bundle for before state.
main_window __init__ 80 Stores main window.

Methods

General

Method Line Explanation
__init__(main_window, text, before_state, after_state) 78 Initializes the instance.
undo() 85 Implements undo.
redo() 88 Implements redo.

Clone this wiki locally