KAssistantDialog proposal

Michel Hermier michel.hermier at gmail.com
Thu Aug 24 17:33:48 BST 2006


2006/8/24, Matthias Lechner <matthias at lmme.de>:
> 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
>

I don't like the naming of it. I would expect from ksteplist to be a
QList of KStep. For me KStepListWidget would be a better name.
Else it looks like a good job (looking at the code) that requires a
little extra work for colors as allready stated Zander.

Michel




More information about the kde-core-devel mailing list