KAssistantDialog proposal

Matthias Lechner matthias at lmme.de
Thu Aug 24 15:13:42 BST 2006


Hi,

based on the KStepList widget I proposed before I have created a 
KAssistantDialog class which extends the existing class by the following 
features:
- an intuitive step list which displays the assistant's steps and allows to 
easily jump back to already configured steps
- a customizable image on the left side
- support for hierarchical page design for more complex scenarios
- a unified way of displaying help texts (though this part still needs some 
work)

This proposal differs a bit from the one I imagined before I started coding 
(http://www.lmme.de/kassistant/mockup.png) as it is not possible to set a 
margin of 0 to the top layout in a KDialog so I cannot colorize the steplist 
background.

One problem I am still faced is the QGridLayout. Whatever I do I cannot get 
rid of the space between the horizontal lines and the vertical one. So if you 
have any idea...

Regarding the image on the left: I think there should be a default image, 
currently I am using the one from kpersonalizer. But I think there are better 
chooses.

If this is ok, I will apply for a svn account and commit ;-)

Best regards
Matthias

The classes:
http://www.lmme.de/kassistant/kassistantdialog.cpp
http://www.lmme.de/kassistant/kassistantdialog.h
http://www.lmme.de/kassistant/ksteplist.cpp
http://www.lmme.de/kassistant/ksteplist.h

A screenshot of KAssistantDialog in action:
http://www.lmme.de/kassistant/screenshot.png




More information about the kde-core-devel mailing list