RFC: KWizard

Olivier Goffart ogoffart at kde.org
Fri Aug 4 00:05:26 BST 2006


Le jeudi 3 août 2006 23:17, Olivier Goffart a écrit :
> Le jeudi 3 août 2006 21:51, Thomas Zander a écrit :

> > A standard feature or two for wizards:
> > public:
> >     /// A page will only be shown when it is appropriate.
> >     bool isAppropriate(QWidget *page);
> >     /// the next page will only be shown when its verified to be correct
> >     bool isVerified(QWidget *page);
> >
> >     /// A page will only be shown when it is appropriate.
> >     void setAppropriate(QWidget *page, bool appropriate);
> >     /// Alter the next button being enabled at the argument page.
> >     void setVerified(QWidget *page, bool verified);
>
> the verified is already there under the name  "setNextEnabled"
> Anyway, "verified" is a better name, I'll change that

I've named it valid

> About appropriate, i was about to add it because it was in Q3Wizard,  but i
> don't know the sens of it.

I've added it.



I've also made Next and Finish  two separate buttons.  I seen that on QtWizard 
screenshot.
I'm not sure this is better anyway, I'll probably revert that.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kwizard.cpp
Type: text/x-c++src
Size: 4238 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060804/448e5e30/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kwizard.h
Type: text/x-c++hdr
Size: 3804 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060804/448e5e30/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060804/448e5e30/attachment.sig>


More information about the kde-core-devel mailing list