GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
Functions
GCW::Cfg Namespace Reference

Config Namespace. More...

Functions

DECIMAL::decimal_format decimal_format ()
 Decimal Format Specifier.
 
std::string date_format ()
 Date Format Specifier.
 
std::string time_format ()
 Time Format Specifier.
 

Detailed Description

Config Namespace.

The config namespace provides access to the various configuration variables.

Function Documentation

◆ date_format()

std::string GCW::Cfg::date_format ( )

Date Format Specifier.

TODO these should be moved to a user-adjustable config file.

Definition at line 27 of file GnuCashew.cpp.

Referenced by GCW::Gui::AccountRegister::DelegateDate::createEditor(), and GCW::Gui::AccountRegister::DelegateDate::setDate().

◆ decimal_format()

DECIMAL::decimal_format GCW::Cfg::decimal_format ( )

Decimal Format Specifier.

TODO these should be moved to a user-adjustable config file.

This provides the DECIMAL<2>() library with the formatting specification for converting DECIMAL numbers to strings.

Definition at line 21 of file GnuCashew.cpp.

Referenced by GCW::Eng::Transaction::Manager::createBalance(), GCW::Dbo::Splits::Item::quantityAsString(), GCW::Gui::BillPay::SummaryWidget::setMonth(), GCW::Gui::AccountRegister::StatusBar::setText(), and GCW::Dbo::Splits::Item::valueAsString().

◆ time_format()

std::string GCW::Cfg::time_format ( )

Time Format Specifier.

TODO these should be moved to a user-adjustable config file.

Definition at line 35 of file GnuCashew.cpp.