KAssistantDialog proposal

Matthias Lechner matthias at lmme.de
Thu Aug 24 17:22:19 BST 2006


Hi Thomas,

the square color is actually hard coded but I would like to get rid of this. 
The only thing I need to know is the place where to pick the color from.

Well, maybe not everybody likes this step graphic but I think they are at 
least usable ;-) I don't want to see funky graphics and themes cause they 
would make it impossible keepings things consistent.

I think adding subpages and allowing them to be set appropriate is a better 
way. It's even more powerful. Imagine the following use case:
You want to create an assistant for setting up mail accounts. In the first 
step you will ask the user for the type of account (pop/imap/exchange...). 
Depending on this selection you will want different pages for the second step 
where the user is asked to enter the connection data.
Now, using setAppropriate without using subpages, you can't show the user what 
will happen next as the app doesn't know yet what page to show next. With 
using subpages you can populate a top pages and many sub pages for the 
account configuration step and set on runtime which page to show (set the 
unwanted pages unappropriate).

What exactly do you mean by making the steplist a decorator one? Using QStyle 
for the drawing?

Best regards
Matthias

Am Donnerstag, 24. August 2006 17:03 schrieb Thomas Zander:
> Where did you get the color for the colored square?  I'm asking since we
> should make sure all colors are coming from the color palette, no
> invented colors allowed :)
>
> I'm no artist, but I still don't like the step-graphics a lot, did you
> consider making it an svg art ?  See the blogs from zack for info.
>
> Hierarchical wizards are possible, but adding sub-pages is the wrong way,
> too complex and not powerfull enough. The isAppropriate is meant for that
> it would be bad to have 2 ways to do the same thing.
>
> Maybe you can look into altering the steplist to be a decorator one?
> Meaning that no extra code has to be written in the assistant to use it.




More information about the kde-core-devel mailing list