Introduce KTransactionFilter
ClosedPublic

Authored by wojnilowicz on Mar 4 2018, 10:14 AM.

Details

Summary

Purpose of this patch is to make KReportConfigurationFilterDlg independent from KFindTransactionDlg. It's done by introducing KTransactionFilter which doesn't depend on KMyMoneyRegister and is a kind of frontend for setting MyMoneyTransactionFilter.
This approach will allow us to make plugin out of KReportsView and it makes interface tidier as presented on the image below.

Diff Detail

Repository
R261 KMyMoney
Lint
Lint Skipped
Unit
Unit Tests Skipped
wojnilowicz requested review of this revision.Mar 4 2018, 10:14 AM
wojnilowicz created this revision.
tbaumgart added inline comments.Mar 7 2018, 4:45 PM
kmymoney/widgets/ktransactionfilter.cpp
111

QStringLiteral(", ")

123

same here

129

and here, and a few more I don't mark

wojnilowicz updated this revision to Diff 28969.Mar 7 2018, 6:21 PM
tbaumgart accepted this revision.Mar 8 2018, 6:17 PM

Looks good to me

kmymoney/widgets/ktransactionfilter.cpp
106

Is there a reason why you don't make this a const QString?

This revision is now accepted and ready to land.Mar 8 2018, 6:17 PM
wojnilowicz closed this revision.Mar 9 2018, 6:39 PM