kdelibs/kdeui

Thomas Zander zander at planescape.com
Sat Jun 22 16:06:27 BST 2002


On Sat, Jun 22, 2002 at 04:08:19PM +0200, Matthias Kretz wrote:
> On Saturday 22 June 2002 15:09, Simon Hausmann wrote:
> > Just one minor comment: I think it's a bad idea to use the singleton
> > pattern with KPreferencesDialog. For example imagine kword and
> > kspread both using KPreferencesDialog. Now imagine a kword document
> > with an embeddesd spreadsheet. You activate the spreadsheet,
> > kspread's GUI appears, you select 'Configure KSpread' . Trouble
> > ahead :)
> 
> Why? You would get a dialog where the modules from KWord and KSpread would 
> appear. That was the idea... OK, for KOffice it's probably not the best, but 
> imagine KView: The app provides some modules, the part provides some and 
> probably a few plugins do. How would they now the Dialog where they should 
> add their modules?

Simon has a good point, I don't think this is a good idea from a usability
POV, since this makes lazy loading of config modules a lot easier, which then
makes for an inconsistent GUI.
Plus that is makes the design of the dialogs a lot harder since the naming can 
'conflict'. Two parts that configure 'general' seems a bit stupid...

-- 
Thomas Zander                                           zander at planescape.com
                                                 We are what we pretend to be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020622/f0fa2702/attachment.sig>


More information about the kde-core-devel mailing list