enthought / enthought/traitsui

Feature request: QStackedWidget-based wizard-like functionality

Open
#700 9 comments 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

There have a been a couple of projects where having some built-in wizard-like functionality would be very helpful. By wizard-like, I mean having a progression of views that get pushed onto a metaphorical stack when you click "next" (or whatever), or popped off when you click "back", in which the state of the past views are maintained and recovered when you click "back".

A critical aspect of this is that it should be possible for each view that gets pushed on to the stack to be generated dynamically when "next" (or whatever) is pushed, and that different views can be generated depending on the interactions that have occurred on the current view.

I've implemented this at the pyqt layer using QStackedWidget. It's not clear if or how such a concept could be implemented or what API would be exposed for first-class support in TraitsUI. But I do think it could be useful for many projects.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.