1 #include "FdJournalFactory.hpp"
3 #include "FdTabCoa.hpp"
17 if(
mType == DebitAccIdType ||
mType == CreditAccIdType)
18 list =
mCoa->getAccountsIds();
19 else if(
mType == DebitAccLabelType ||
mType == CreditAccLabelType)
20 list =
mCoa->getAccountsLabels();
23 QLineEdit* line =
new QLineEdit(parent);
24 QCompleter* completer =
new QCompleter(list, line);
25 line->setCompleter(completer);