[Kmymoney-devel] Review Request: Show prices in investment reports only if they exist

Bernd Gonsior bernd.gonsior at googlemail.com
Thu Sep 23 21:17:21 CEST 2010



On 2010-09-10 01:33:42, Bernd Gonsior wrote:
> > Use MyMoneyReport, which stores the report configuration, and add a flag to signal whether empty prices should be skipped or not. Then skip drawind the data altogether.
> > 
> > For that to work correctly, the LineAttributes has a MissingValuesPolicy. Calling setMissingValuesPolicy(LineAttributes::MissingValuesAreBridged) should be enough for that.

Added the flag to the report configuration and LineAttributes::MissingValuesAreBridged is set if necessary


- Bernd


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/5298/#review7509
-----------------------------------------------------------


On 2010-09-23 19:17:13, Bernd Gonsior wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/5298/
> -----------------------------------------------------------
> 
> (Updated 2010-09-23 19:17:13)
> 
> 
> Review request for kmymoney.
> 
> 
> Summary
> -------
> 
> Patch for investment reports only: prices are shown only if at least one price
> exists in a requested period.
> 
> 
> Diffs
> -----
> 
>   /trunk/extragear/office/kmymoney/kmymoney/dialogs/kreportconfigurationfilterdlg.cpp 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/mymoney/mymoneyreport.h 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/mymoney/mymoneyreport.cpp 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/reports/kreportchartview.cpp 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/reports/pivottable.cpp 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/reports/reportaccount.h 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/reports/reportaccount.cpp 1178669 
>   /trunk/extragear/office/kmymoney/kmymoney/widgets/kmymoneyreportconfigtab1decl.ui 1178669 
> 
> Diff: http://svn.reviewboard.kde.org/r/5298/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bernd
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100923/51e437a8/attachment.htm 


More information about the KMyMoney-devel mailing list