Module sqlite_pycalcar :: Class sqlite_pycalcar
[hide private]
[frames] | no frames]

Class sqlite_pycalcar

source code

:

EXPLANATION

Allow to access to the DataBase of PYCALCAR

FUNCTIONS

ins_money

Create a new money into DataBase

ins_rate

Create a new rate between money into DataBase

upd_money

Update an existing money into DataBase

upd_rate

Update a rate between money into DataBase

del_money

Delete a money from DataBase

del_rate

Delete a rate between money from DataBase

read_money_name

DataBase

read_money_rate

DataBase

read_lang

Read the different language allowed from DataBase

read_rate

DataBase

combobox_conv

Read all the text for the CONV combobox from DataBase

text_menu

Read all the text of HMI from DataBase

TABLE

Money

Rate

Instance Methods [hide private]
 
__init__(self) source code
 
ins_money(self, name, year, nation, u0, u1, u2, u3, u4, u5, u6, u7, u8, u9, tx0, tx1, tx2, tx3, tx4, tx5, tx6, tx7, tx8, tx9)
:
source code
 
ins_rate(self, name1, year1, nation1, name2, year2, nation2, rate)
:
source code
 
upd_money(self, old_name, old_year, old_nation, name, year, nation, u0, u1, u2, u3, u4, u5, u6, u7, u8, u9, tx0, tx1, tx2, tx3, tx4, tx5, tx6, tx7, tx8)
:
source code
 
upd_rate(self, name1, year1, nation1, name2, year2, nation2, rate)
:
source code
 
del_money(self, name, year, nation)
:
source code
 
del_rate(self, name, year, nation)
:
source code
 
read_money_name(self)
:
source code
 
read_money_rate(self, name, year, nation)
:
source code
 
read_lang(self)
:
source code
 
read_rate(self, nom, annee)
:
source code
 
combobox_conv(self, name, year, nation)
:
source code
 
text_menu(self)
:
source code
Method Details [hide private]

ins_money(self, name, year, nation, u0, u1, u2, u3, u4, u5, u6, u7, u8, u9, tx0, tx1, tx2, tx3, tx4, tx5, tx6, tx7, tx8, tx9)

source code 

:

EXPLANATION

Creation of a new money

PARAMETERS

name

Money's name

year

Money's year creation

nation

Nation of the money

u0 => u9

Name of the different units of the money

tx0 => tx8

Rate between the different units of the money

RETURNS

None

ins_rate(self, name1, year1, nation1, name2, year2, nation2, rate)

source code 

:

EXPLANATION

Creation of a new rate between devise

PARAMETERS

name1

Name of the first money

year1

Year of creation of the first money

nation1

Nation of the first money

name2

Name of the second money

year2

Year of creation of the second money

nation2

Nation of the second money

rate

Rate to convert money 1 into money 2

RETURNS

None

upd_money(self, old_name, old_year, old_nation, name, year, nation, u0, u1, u2, u3, u4, u5, u6, u7, u8, u9, tx0, tx1, tx2, tx3, tx4, tx5, tx6, tx7, tx8)

source code 

:

EXPLANATION

Update of a money's DATA

PARAMETERS

old_name

Old name of the money

old_year

Old year of creation of the money

old_nation

Old nation of the money

name

New name for the money

year

New year of creation for the money

nation

New nation for the money

u0 => u9

Name of the different units of the money

tx0 => tx8

Rate between the different units of the money

RETURNS

None

upd_rate(self, name1, year1, nation1, name2, year2, nation2, rate)

source code 

:

EXPLANATION

Update of money's rate

PARAMETERS

RETURNS

None

del_money(self, name, year, nation)

source code 

:

EXPLANATION

Delete a Money

PARAMETERS

name

New name for the money

year

New year of creation for the money

nation

New nation for the money

RETURNS

None

del_rate(self, name, year, nation)

source code 

:

EXPLANATION

Delete all rate attach to a devise which has been delete

PARAMETERS

name

New name for the money

year

New year of creation for the money

nation

New nation for the money

RETURNS

None

read_money_name(self)

source code 

:

EXPLANATION

Allow to read a money's DATA

PARAMETERS

name

New name for the money

year

New year of creation for the money

nation

New nation for the money

RETURNS

A list that contains the moneys's data

name, year, nation, number of unit, unit0, unit1, unit2, unit3, unit4, unit5, unit6, unit7, unit8, unit9

read_money_rate(self, name, year, nation)

source code 

:

EXPLANATION

Allow to read a money's DATA internal rate conversion

PARAMETERS

name

New name for the money

year

New year of creation for the money

nation

New nation for the money

RETURNS

A list that contains the rate between unit of a money

unit1_to_0,unit2_to_1,unit3_to_2,unit4_to_3, unit5_to_4,unit6_to_5,unit7_to_6,unit8_to_7, unit9_to_8

read_lang(self)

source code 

:

EXPLANATION

Allow to read the different language available for Pycalcar

PARAMETERS

None

RETURNS

A list that contains the different language available

read_rate(self, nom, annee)

source code 

:

EXPLANATION

Allow to read money's rate conversion

PARAMETERS

RETURNS

combobox_conv(self, name, year, nation)

source code 

:

EXPLANATION

PARAMETERS

RETURNS

text_menu(self)

source code 

:

EXPLANATION

Allow to extract text of IHM

PARAMETERS

None

RETURNS

Different lists that contains the interface's text