[Kmymoney-devel] Prices dialog
Thomas Baumgart
thb at net-bembel.de
Tue Jun 15 07:51:27 CEST 2010
Hi all,
on Tuesday 15 June 2010 02:35:19 Alvaro Soliverez wrote:
> On Mon, Jun 14, 2010 at 8:14 AM, aga <aganderson at ukonline.co.uk> wrote:
> > Hi Alvaro
> >
> > Funnily enough, I was just thinking yesterday that I should be putting in
> > a wish-list item for the prices dialog.
> >
> > There are two requests:-
> >
> > 1) I have prices entries for old securities and want to remove them,
> > Sadly,
> > this can be done only one line at a time, and what I would like is the
> > ability
> > to do a block delete.
>
> Thomas, can I iterate a list of prices, call removePrice and call
> ft.commit() when I'm done removing all items?
> Otherwise, it will emit a dataChanged() signal per removed price.
Sure. That's what KMyMoney does when operating on other multiple selections
(e.g. payees, transactions). The ft object just compounds any modification to
the engine until the commit or reject operation on it.
> > 2) Also, partly in connection with the above, but also as a separate
> > wish, would be the display of the account name alongside each entry. In
> > my prices
> > list I have more than one separate entry for a few securities. I don't
> > mean
> > different prices, but, with the 'display every entry' UN-checked, a few
> > prices
> > show more than once. This probably goes back to when I split up some
> > funds that I had bought at different times and unfortunately gave them
> > each a duplicate security instead of sharing the one. I have now
> > corrected that and
> > they do now share the one security, but the old entries remain and I want
> > to
> > remove them, but there is no indication of which prices belong to which
> > account and which are therefore redundant.
> >
> >
> > If the price entry had with it the account name it would be easy to see
> > which
> > prices list entry referred to which account. Also, though, I don't use
> > the
> > symbol on a day-so-day basis, and am much more comfortable seeing the
> > security
> > name rather than its symbol.
>
> The issue I have with this, is those prices which are associated with
> multiple accounts.
> How do we display the accounts in those cases?
> Do we display it only when there is only one account related to that price?
> If we don't display multiple accounts, how do we differentiate from the
> case when there are no accounts related to a price?
That's exactly the problem.
[...]
--
Regards
Thomas Baumgart
GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
We can't solve problems by using the same kind of thinking we
used when we created them. - Albert Einstein
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100615/5832dd53/attachment.sig
More information about the KMyMoney-devel
mailing list