add color coding of pos/neg amounts for 'posted value' column
ClosedPublic

Authored by mhubner on Mar 17 2018, 3:38 AM.

Details

Summary

add color coding of pos/neg amounts for 'posted value' column

Diff Detail

Repository
R261 KMyMoney
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
mhubner requested review of this revision.Mar 17 2018, 3:38 AM
mhubner created this revision.
mhubner updated this revision to Diff 29733.Mar 17 2018, 3:40 AM

add color coding of pos/neg amounts for 'posted value' column

mhubner added a project: KMyMoney.
wojnilowicz added inline comments.
kmymoney/models/accountsmodel.cpp
331

I would extend KMyMoneySettings::schemeColor by SchemeColor::Normal and use it as you did above with SchemeColor::Negative

tbaumgart requested changes to this revision.Mar 17 2018, 9:43 AM
tbaumgart added a subscriber: tbaumgart.
tbaumgart added inline comments.
kmymoney/models/accountsmodel.cpp
331

wojnilowicz means SchemeColor::Positive and I prefer that as well.

This revision now requires changes to proceed.Mar 17 2018, 9:43 AM
mhubner updated this revision to Diff 29756.Mar 17 2018, 3:30 PM

add color coding of pos/neg amounts for 'posted value' column

mhubner marked an inline comment as done.Mar 17 2018, 3:32 PM
tbaumgart accepted this revision.Mar 17 2018, 3:55 PM

Looks good to me. I'll take care of adding it to the repo.

This revision is now accepted and ready to land.Mar 17 2018, 3:55 PM
This revision was automatically updated to reflect the committed changes.