-
Notifications
You must be signed in to change notification settings - Fork 2
/
CalcAl.ini
executable file
·196 lines (180 loc) · 5.35 KB
/
CalcAl.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
##################################################
# Name ... : CalcAl.ini
# Object . : CalcAl software properties
# Author . : Thierry Maillard
# Date ... : 10/3/2016 - 21/7/2018
##################################################
[Log]
# Define recording system parameters for text messages
NameLoggingFileConfigIni = logging_config.ini
DirLog = log
BaseLogFileName = messages.log
NbFileLog = 1
MaxBytes = 100000
LoggerName = CalcAlLogger
[Version]
# Software traceability
AppName = CalcAl
Number = 0.55
Date = 28/7/2018
Author = Thierry Maillard, Perrine Maillard et Alexia Maillard
EmailSupport1 = Thierry.Maillard500@orange.fr
EmailSupport2 = Perrine.Maillard2@gmail.com
[DefaultLocale]
# Used when calcal don't manage to get locale from system
# DefaultLanguageCode : ref : https://tools.ietf.org/html/rfc1766.html
# https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
# http://www.andiamo.co.uk/resources/iso-language-codes
# Available : fr_* (fr_FR) en_* (en_GB, en_US)
DefaultLanguageCode = fr_FR
DefaultEncodingCode = UTF-8
[Resources]
# Resources localisation
AppDataDir = CalcAl_data
LocaleDir = locale
MessageNameFile = messages
ComponentsShortcuts = componants_shortcuts.txt
ReadersDir = database
ResourcesDir = resources
ImagesDir = images
DemoDatabaseName = demo2013.db
DemoDatabaseName2017 = demo.db
DatabaseDir = databases
DatabaseExt = .db
logoStartFrame = logo_calcal.gif
logoAboutBox = logo_about.gif
logoCalculator = banniere_haut_calcal.gif
logoSearchFood = search_components.gif
logoPortion=logo_portion.gif
logoPathology=logo_pathology.gif
logoPatient=logo_patient.gif
arrowDown = arrowdown.gif
arrowUp = arrowup.gif
groupSelection = group.gif
ungroupSelection = ungroup.gif
eraseSelection = eraseselection.gif
deleteSelection = deleteselection.gif
copy2clipboard = copy2clipboard.gif
info = info.gif
savePortion = btn_save.gif
btn_search = btn_search.gif
btn_start = btn_start.gif
DocumentationDir = CalcAl_doc
DocumentationIndexFile = CalcAl.html
DocumentationImportFile = CalcAl_utilisation.html
DocumentationImportSection = Import
[Ciqual]
# Ciqual specific keys
CiqualUrl = https://ciqual.anses.fr/#/cms/telechargement/node/20
CiqualSheetName = compo
fileInfo = Table Ciqual 2017 – format Excel
Cilqual2016Codes4ComponentsFilePath = ciqual_2016_constituants_Codes.txt
# Num colomn in Ciqual xls file (stat at 1 for 1st field)
fieldAlimCode = 7;alim_code
fieldAlimNomFr = 9;alim_nom_fr
fieldSousGroup = 5;alim_ssgrp_nom_fr
firstComponentField = 10
getOnlyAlimentMoyen = False
[USDA]
# USDA specific keys
USDATXTFile = ABBREV.txt
USDATXTFileDate = 2015
USDAConstituantsFilePath = usda_constituants.txt
USDAUrl = http://www.ars.usda.gov/Services/docs.htm?docid=25700
shiftCodeProduct = 100000
fileInfo = Abbreviated - ASCII (1.2Mb; ISO/IEC 8859-1)
[QualifValue]
# Rules to reduce number of qualification when adding values
# N : Number without qualification
# T : Traces
# - Undefined
# < : lower than
#Format : ABR : A=1st qualificator, B=2nd qualificator, R=Result qualificator
# If value>0 :
QRulesS=NTN;N-N
# If value near 0 :
QRules0=NTT;N--
# Other
QRulesO = N<<;T-T;T<<;-<<
[Limits]
nbMaxSelectedComponents = 5
nbMaxDigit = 1
delaymsTooltips = 4000
# First vode number for products composed with CIQUAL products
startGroupProductCodes = 0
heightBigScreenInPixel = 1000
heightSmallScreenInPixel = 700
near0 = 1e-5
nbMaxResultSearch = 100
minPluginsCodeLength = 8
maxNameLengthInPopup = 35
maxNbDays2Eat = 7
delaySeconds2ClearMessage = 5
[Colors]
# Ref : http://wiki.tcl.tk/37701
componentsListboxColor = green yellow
colorAddFoodButton = spring green
colorLabelTableFood = tomato
colorComponantTableFood = light sky blue
colorNameTableFood = light salmon
colorComponantValueTableFood = yellow
colorWaterOK = spring green
colorWaterNOK = red
colorSearchTable = green yellow
colorFamilyList = green yellow
colorPortionTable = orange
colorPathologiesList = orange
colorPathologyDesctiptionEditor = light sky blue
patientMonitoringTableColor = lavender
colorPatientEditor = light sky blue
colorParametersList = spring green
[Size]
# Number of lines in table
foodTableNumberVisibleRows = 5
energyTableNumberVisibleRows = 3
searchResultTableNumberVisibleRows = 8
portionResultTableNumberVisibleRows = 8
# Size of table colomns in pixel
foodTableFistColWidth = 200
foodTableOtherColWidth = 100
foodTableColMinWdth = 50
energyTableFirstColWidth = 120
energyTableOtherColWidth = 75
energyTableColMinWdth = 50
searchResultTableFistColWidth = 300
searchResultTableOtherColWidth = 100
searchResultTableColMinWdth = 50
portionResultTableFirstColWidth=50
portionResultTableOtherColWidth = 120
portionResultTableableColMinWdth = 50
patientMonitoringTableVisibleRows = 4
patientMonitoringTableFirstColWidth = 120
patientMonitoringTableOtherColWidth = 120
patientMonitoringTableColMinWdth = 50
patientCodeComboboxWidth = 8
[Energy]
# This section describe components that provide energy
# For energy repartition array
# Proteine;Glucides;Sucres;Lipides;Alcool
EnergeticComponentsCodes = 25000;31000;32000;40000;60000
# Energy in kcal
EnergySuppliedByComponents = 4;4;4;9;7
EnergyTotalKcalCode = 328
EnergyTotalKJCode = 327
SugarCode = 32000
CoefKcal2Kj = 4.184
[Water]
WaterCode = 400
WaterMlFor1kcal = 1.0
WaterUnknownValue = -
[Search]
numberFilter = 5
maxWidthComponent = 35
[Other]
portionListSeparatorSeparator = /
[Patient]
# codeRegex = 3 cap letters and 3 digits
codeRegex = ^[A-Z]{3}\d{3}$
oldestPatient = 100
sizeMin = 100
sizeMax = 200