r18939 - gnucash/trunk/src/gnc - Enable editing of the "other" account of a transaction.

Christian Stimming cstim at code.gnucash.org
Sat Mar 20 18:33:59 EDT 2010


Author: cstim
Date: 2010-03-20 18:33:59 -0400 (Sat, 20 Mar 2010)
New Revision: 18939
Trac: http://svn.gnucash.org/trac/changeset/18939

Added:
   gnucash/trunk/src/gnc/AccountSelectionDelegate.cpp
   gnucash/trunk/src/gnc/AccountSelectionDelegate.hpp
Modified:
   gnucash/trunk/src/gnc/Account.hpp
   gnucash/trunk/src/gnc/AccountItemModel.cpp
   gnucash/trunk/src/gnc/AccountItemModel.hpp
   gnucash/trunk/src/gnc/CMakeLists.txt
   gnucash/trunk/src/gnc/Cmd.cpp
   gnucash/trunk/src/gnc/Cmd.hpp
   gnucash/trunk/src/gnc/Commodity.hpp
   gnucash/trunk/src/gnc/Numeric.hpp
   gnucash/trunk/src/gnc/Split.cpp
   gnucash/trunk/src/gnc/Split.hpp
   gnucash/trunk/src/gnc/SplitListModel.cpp
   gnucash/trunk/src/gnc/SplitListModel.hpp
   gnucash/trunk/src/gnc/SplitListView.cpp
   gnucash/trunk/src/gnc/Transaction.hpp
   gnucash/trunk/src/gnc/mainwindow-file.cpp
Log:
Enable editing of the "other" account of a transaction.

Register Account and our other types in the QMetaType system
so that QVariant can hold it and pass it between the model,
view, and delegate. Implement AccountSelectionDelegate that
presents a QComboBox editor widget for account selection.



More information about the gnucash-patches mailing list