Small guided tours for Python Qt applications.
from qt_tour import GuidedTour, TourAnchor, TourStep
GuidedTour(
[
TourStep(lambda: button, "Load data", "Load your dataset here."),
TourStep(
lambda: results_widget,
"Results",
"Results appear here.",
anchor=TourAnchor.ABOVE,
),
],
window,
).start()uv add qt-tour
uv add PyQt6 # or PySide6qt-tour depends on qtpy; you provide the Qt binding.
- ordinary
QWidgettargets - lazy targets for widgets created later
- left, right, above, below, and center anchors
- overlay with target spotlight
- Previous / Next / Finish / Skip navigation
- Escape to close
- conditional steps with
skip - hidden-widget reveal hooks with
ensure_visible finishedsignal
Use Qt stylesheets:
app.setStyleSheet("""
#qt_tour_tooltip { background: #2b2b2b; color: white; border-radius: 8px; }
#qt_tour_title { font-weight: bold; }
#qt_tour_counter { color: #aaa; }
""")just help
just check
just docs-serve