|
GnuCash c935c2f+
|
Stock Amount page. More...
Public Member Functions | |
| PageStockAmount (GtkBuilder *builder, Account *account) | |
| void | prepare (StockTransactionEntry *) |
| gnc_numeric | get_stock_amount () |
| void | set_stock_amount (std::string new_amount_str) |
| void | connect (StockTransactionEntry *entry) |
Stock Amount page.
Display and the amount entered depend on the type of the transaction. It always displays the balanance on the transaction date before the transaction. For buy and sell transactions it collects the number of units bought or sold (always as a positive number) and displays the new balance. For split and reverse-split transactions it collects the balance after the transaction and computes the change in the amount of shares and the split ratio, displaying the latter.
Definition at line 1887 of file assistant-stock-transaction.cpp.
| PageStockAmount::PageStockAmount | ( | GtkBuilder * | builder, |
| Account * | account | ||
| ) |
Definition at line 1905 of file assistant-stock-transaction.cpp.
| void PageStockAmount::connect | ( | StockTransactionEntry * | entry | ) |
Definition at line 1947 of file assistant-stock-transaction.cpp.
|
inline |
Definition at line 1900 of file assistant-stock-transaction.cpp.
| void PageStockAmount::prepare | ( | StockTransactionEntry * | entry | ) |
Definition at line 1918 of file assistant-stock-transaction.cpp.
| void PageStockAmount::set_stock_amount | ( | std::string | new_amount_str | ) |
Definition at line 1954 of file assistant-stock-transaction.cpp.