YATiSh
Yet Another TIme SHeet
Public Member Functions | Public Attributes | List of all members
Settings Struct Reference

As its names implies: the class holding YATiSh settings. More...

#include <yatishSettings.h>

Public Member Functions

 Settings ()
 The Settings constructor retrieves itself from the configuration file. More...
 
 ~Settings ()
 The Settings destructor saves itself to the configuration file. More...
 

Public Attributes

bool log2text
 If True, error/warning messages will be forwarded to the bottom of the main frame. More...
 
bool limitRow
 If True, the listing in panel #2 will be limited... More...
 
int rowLimit
 ...to rowLimit lines. More...
 
ChartLib lib
 A ChartLib enumerates the graphic libraries available for panel #3. More...
 
bool logo4pdf
 If True the company name is replaced by its logo in the PDF header. More...
 
wxString companyName_or_logoPath
 Either the company name or its logo. More...
 
bool motto4pdf
 Print the company motto in the PDF header? More...
 
wxString companyMotto
 Slogan or short description of the purpose. More...
 
bool pdfCharts
 PDF charts? More...
 

Detailed Description

As its names implies: the class holding YATiSh settings.

Definition at line 30 of file yatishSettings.h.

Constructor & Destructor Documentation

◆ Settings()

Settings::Settings ( )

The Settings constructor retrieves itself from the configuration file.

The latter is set up by yatishApp::OnInit().

Definition at line 7 of file yatishSettings.cpp.

◆ ~Settings()

Settings::~Settings ( )

The Settings destructor saves itself to the configuration file.

The latter was set up by yatishApp::OnExit().

Definition at line 27 of file yatishSettings.cpp.

Member Data Documentation

◆ companyMotto

wxString Settings::companyMotto

Slogan or short description of the purpose.

Definition at line 41 of file yatishSettings.h.

◆ companyName_or_logoPath

wxString Settings::companyName_or_logoPath

Either the company name or its logo.

Can be left empty if logo4pdf is False.

Definition at line 38 of file yatishSettings.h.

◆ lib

ChartLib Settings::lib

A ChartLib enumerates the graphic libraries available for panel #3.

Definition at line 35 of file yatishSettings.h.

◆ limitRow

bool Settings::limitRow

If True, the listing in panel #2 will be limited...

Definition at line 33 of file yatishSettings.h.

◆ log2text

bool Settings::log2text

If True, error/warning messages will be forwarded to the bottom of the main frame.

Definition at line 31 of file yatishSettings.h.

◆ logo4pdf

bool Settings::logo4pdf

If True the company name is replaced by its logo in the PDF header.

Also determines the meaning of companyName_or_logoPath.

Definition at line 36 of file yatishSettings.h.

◆ motto4pdf

bool Settings::motto4pdf

Print the company motto in the PDF header?

Definition at line 40 of file yatishSettings.h.

◆ pdfCharts

bool Settings::pdfCharts

PDF charts?

Definition at line 42 of file yatishSettings.h.

◆ rowLimit

int Settings::rowLimit

...to rowLimit lines.

Definition at line 34 of file yatishSettings.h.


The documentation for this struct was generated from the following files: