EmbeddedWizardUI

Embedded Wizard UI for the Quick Select Parameters Wizard.

This module provides a wizard panel that embeds directly in the Segment Editor options frame, replacing the normal controls temporarily.

Classes

class EmbeddedWizardPanel

Embedded wizard panel that replaces normal controls in options frame.

This panel provides a step-by-step wizard interface directly in the Segment Editor options area, avoiding dialog window management issues.

Methods:

__init__()

Initialize the embedded wizard.

build_ui()

Build and return the wizard container widget.

update_sample_count()

Update sample count for display.

get_answers()

Get user answers from questions page.

set_recommendation()

Display the recommendation in results page.

get_recommendation()

Return the current recommendation.

current_step()

Return the current step index.

hide()

Hide the wizard panel.

show()

Show the wizard panel.

Functions

build_ui()

Build and return the wizard container widget.

Returns:

The container widget to add to the options frame.

update_sample_count()

Update sample count for display.

Args:

sample_type: ‘foreground’, ‘background’, or ‘boundary’ count: Number of samples collected

get_answers()

Get user answers from questions page.

set_recommendation()

Display the recommendation in results page.

get_recommendation()

Return the current recommendation.

current_step()

Return the current step index.

hide()

Hide the wizard panel.

show()

Show the wizard panel.