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

List:       kmail-devel
Subject:    Re: feature idea: recent address
From:       Don Sanders <don () sanders ! org>
Date:       2000-04-27 23:37:54
[Download RAW message or body]

Daniel update your kmcomposewin and have a look at the new fields Identity and
Mail Transport. Identity is a drop down combo box for selecting an identity to
use and Mail Transport is an editable drop down combo box for selecting a
method of sending mail (eg you can specify an smtp server). The Mail Transport
editable combox box shows a list of the last ten (by default) entries used.

(Mail Transport isn't finished yet but the GUI part of it is).

BFN,
Don.

On Fri, 28 Apr 2000, Daniel Naber wrote:
> 
> Hi,
> 
> I had this idea but implementing it didn't work: Why not replace the To: and 
> Cc: QLineEdits in the composer window with an editable KComboBox. This
> would start with an empty field but also offer the 5 (or so) most recent used 
> To/Cc addreses. i.e. it's just an additional feature an everyone can still 
> type in an address like now.

There are problems with this.

1) Currently up/down arrows can be used to traverse the fields in the composer
window. But up/down is used by combo boxes to traverse the list of items in the
combo box. So you have a clash there.

2) You will have to do some work to keep the address book stuff working. eg
Ctrl-T email address autocompletion functionality, (including the drop down
list when multiple completions are possible).

> But when I use addWidget() in an adapted rethinkHeaderLine(), I get this:
> 
> Warning: adding KComboBox/unnamed (child of KMComposeWin/kmail-mainwindow#2) 
> to layout for QWidget/unnamed

This is because you made mEdtTo a child of this instead of mMainWidget. I know
this because I spend 4 hours trying to work out why the list of attachments
wasn't shown in the right place when I ported it to QListView.

> ...and the widget will always be at position y=0, i.e. it won't get inserted 
> iinto the right row.

Right.

> 
> I'm attaching a patch (it's not clean, it's the file I'm working on).
> 
> TIA
>  Daniel
> 

BFN,
Don.

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

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