GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
GCW::Gui::AccountRegister Namespace Reference

Classes

class  DelegateAccount
 
class  DelegateBalance
 
class  DelegateBase
 Base Delegate. More...
 
class  DelegateDate
 Date Delegate. More...
 
class  DelegateHeader
 
class  DelegateReconcile
 
class  DelegateSuggestion
 
class  DelegateValue
 
class  Editor
 Account Register Editor. More...
 
class  Model
 Account Register Model. More...
 
class  StatusBar
 
class  SuggestionEdit
 
class  SuggestionPopup
 
class  ToolBar
 
class  Widget
 AccountRegister. More...
 

Enumerations

enum class  ViewMode { BASIC_LEDGER , AUTOSPLIT_LEDGER , TRANSACTION_JOURNAL , GENERAL_JOURNAL }
 View Mode. More...
 
enum class  Col : int {
  DATE = 0 , ACTION = 1 , DESCRIPTION = 2 , TRANSFER = 3 ,
  RECONCILE = 4 , DEBIT = 5 , CREDIT = 6 , BALANCE = 7 ,
  NOTES = 2
}
 

Functions

constexpr int asInt (Col col) noexcept
 

Enumeration Type Documentation

◆ Col

enum class GCW::Gui::AccountRegister::Col : int
strong
Enumerator
DATE 
ACTION 
DESCRIPTION 
TRANSFER 
RECONCILE 
DEBIT 
CREDIT 
BALANCE 
NOTES 

Definition at line 53 of file ViewMode.h.

◆ ViewMode

View Mode.

The View Mode defines how the data in the model is assembled. The simplest form is the one-line register, which is also the most compact. The next mode is the Auto-Split ledger. The auto-split ledger looks just like the one-line register except for the line that is currently selected, which is formatted as a transaction-journal, but just for that one selected line. The final format is the transaction-journal, which is like the auto-split register but every row is already split out. The General Journal is the same as the Transaction Journal but it shows every account, and does not compute balances.

Enumerator
BASIC_LEDGER 

basic one-line per transaction

AUTOSPLIT_LEDGER 

one-line ledger that auto-opens to multi-line for each selected row

TRANSACTION_JOURNAL 

multi-line ledger for every row

GENERAL_JOURNAL 

multi-line ledger that shows all accounts and no balances

Definition at line 25 of file ViewMode.h.

Function Documentation

◆ asInt()

constexpr int GCW::Gui::AccountRegister::asInt ( Col  col)
constexprnoexcept