Skip to content

API Class FrameNavigationCommand

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

API Class: FrameNavigationCommand

Frame Navigation Command class.

Source

Inheritance

  • Bases: QUndoCommand

Purpose

Frame Navigation Command class.

Instance Attributes

Attribute First assigned in Line Explanation
_first_redo __init__ 137 Stores first redo.
after_index __init__ 136 Zero-based index for after index.
before_index __init__ 135 Zero-based index for before index.
main_window __init__ 134 Stores main window.

Methods

General

Method Line Explanation
__init__(main_window, text, before_index, after_index) 132 Initializes the instance.
undo() 139 Implements undo.
redo() 142 Implements redo.

Clone this wiki locally