[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    kmfolder::properties
From:       "Aaron J. Seigo" <aseigo () olympusproject ! org>
Date:       2002-09-17 22:30:14
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hey all...

as i mention in the crypto ui email, that whole adventurel started as a quick 
"let's redesign the folder properties dialog"... heh...

the plans on that end was to give KMFolder a virtual properties() method, with 
each KMFolder subclass handling the properties dialog itself. the properties 
dialog will have a basic UI that each folder class can use and extend, or 
ignore if they are just that whacky.

this should make future folder type additions easier/possible and keep the 
code paths for each type of properties dialog clean. e.g. no more "== imap" 
... i've checked in a .ui file for this into make_it_cool. it isn't used 
anywhere yet, but KMFolder::properties exists and works (using the old 
properties box still)...

besides the individual folder classes handling their properties, the new UI is 
being built with the expectation of folder DnD, making the "Belongs to" 
widgets irrelevant.

what's really nice is that this helps pry apart the tight coupling between the 
tree view, the main widget/window and the folders themselves a bit more and 
exposes the code paths more plainly.

i've got to do some testing and then i will commit to make_it_cool ...

- --
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

"Everything should be made as simple as possible, but not simpler"
    - Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9h6z21rcusafx20MRAvDoAJ4h25QPcijvjDQP3byvoAcv+bP8ogCgg/TW
yUf1qJqaQbb7QjaxMBjYihQ=
=pCKY
-----END PGP SIGNATURE-----

_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic