dozzaqueux-3.33/ 0000755 0001750 0001750 00000000000 12262275422 014063 5 ustar georgesk georgesk dozzaqueux-3.33/unit20.lfm 0000750 0001750 0001750 00000002063 12246655014 015704 0 ustar georgesk georgesk object saisietemporisation: Tsaisietemporisation
Left = 292
Height = 105
Top = 195
Width = 569
ActiveControl = BitBtn1
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'Temporisation'
ClientHeight = 105
ClientWidth = 569
OnCreate = FormCreate
OnShow = FormShow
LCLVersion = '0.9.29'
object Label1: TLabel
Left = 7
Height = 18
Top = 16
Width = 627
Caption = 'Lors de l''exécution d''un "film" de simulation, l''affichage de chaque écran doit durer:'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Label2: TLabel
Left = 153
Height = 18
Top = 52
Width = 21
Caption = 'ms'
ParentColor = False
end
object SpinEdit1: TSpinEdit
Left = 23
Height = 25
Top = 48
Width = 122
MaxValue = 100000
TabOrder = 0
end
object BitBtn1: TBitBtn
Left = 184
Height = 41
Top = 38
Width = 288
Caption = '&OK'
Default = True
Kind = bkOK
ModalResult = 1
NumGlyphs = 0
TabOrder = 1
end
end
dozzaqueux-3.33/unit4b.lfm 0000750 0001750 0001750 00000020554 12246655014 015775 0 ustar georgesk georgesk object Form4b: TForm4b
Left = 336
Height = 498
Top = 179
Width = 668
ActiveControl = Editformulebrute
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'Recherche dans la base'
ClientHeight = 498
ClientWidth = 668
OnCreate = FormCreate
OnShow = FormShow
LCLVersion = '0.9.30'
Visible = True
object SpeedButtonC: TSpeedButton
Left = 16
Height = 25
Top = 80
Width = 25
Caption = 'C'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButtonCClick
ParentFont = False
end
object SpeedButtonO: TSpeedButton
Left = 56
Height = 25
Top = 80
Width = 25
Caption = 'O'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButtonOClick
ParentFont = False
end
object SpeedButtonH: TSpeedButton
Left = 96
Height = 25
Top = 80
Width = 25
Caption = 'H'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButtonHClick
ParentFont = False
end
object SpeedButtonN: TSpeedButton
Left = 136
Height = 25
Top = 80
Width = 25
Caption = 'N'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButtonNClick
ParentFont = False
end
object SpeedButtonP: TSpeedButton
Left = 176
Height = 25
Top = 80
Width = 25
Caption = 'P'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButtonPClick
ParentFont = False
end
object SpeedButtonS: TSpeedButton
Left = 216
Height = 25
Top = 80
Width = 25
Caption = 'S'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButtonSClick
ParentFont = False
end
object SpeedButton1plus: TSpeedButton
Left = 336
Height = 25
Top = 80
Width = 33
Caption = '[+]'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButton1plusClick
ParentFont = False
end
object SpeedButton2plus: TSpeedButton
Left = 384
Height = 25
Top = 80
Width = 33
Caption = '[2+]'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButton2plusClick
ParentFont = False
end
object SpeedButton3plus: TSpeedButton
Left = 432
Height = 25
Top = 80
Width = 33
Caption = '[3+]'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButton3plusClick
ParentFont = False
end
object SpeedButton3moins: TSpeedButton
Left = 480
Height = 25
Top = 80
Width = 33
Caption = '[3-]'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButton3moinsClick
ParentFont = False
end
object SpeedButton2moins: TSpeedButton
Left = 528
Height = 25
Top = 80
Width = 33
Caption = '[2-]'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButton2moinsClick
ParentFont = False
end
object SpeedButton1moins: TSpeedButton
Left = 576
Height = 25
Top = 80
Width = 33
Caption = '[-]'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButton1moinsClick
ParentFont = False
end
object SpeedButton2: TSpeedButton
Left = 256
Height = 25
Top = 80
Width = 25
Caption = '2'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButton2Click
ParentFont = False
end
object SpeedButton3: TSpeedButton
Left = 296
Height = 25
Top = 80
Width = 25
Caption = '3'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
NumGlyphs = 0
OnClick = SpeedButton3Click
ParentFont = False
end
object Label1: TLabel
Left = 8
Height = 13
Top = 8
Width = 484
Caption = 'Entrez la formule brute. Puis cliquez sur "OK". Puis sélectionnez le réactif dans la liste ci-dessous.'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Label2: TLabel
Left = 8
Height = 13
Top = 56
Width = 433
Caption = ' mais pas: AGSO4 (respect majuscules/minuscules) ni Cu(NH3)4 (pas de parenthéses)'
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Label3: TLabel
Left = 8
Height = 13
Top = 32
Width = 310
Caption = ' Exemples: BaSO4 Ag[+] CrO4[2-] FeO3H3[3+] '
Font.Color = clBlack
Font.Height = 12
Font.Pitch = fpVariable
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Editformulebrute: TEdit
Left = 8
Height = 21
Top = 120
Width = 617
OnChange = EditformulebruteChange
TabOrder = 0
end
object BitBtn1: TBitBtn
Left = 456
Height = 81
Top = 304
Width = 169
Caption = 'OK'
Default = True
Glyph.Data = {
DE010000424DDE01000000000000760000002800000024000000120000000100
04000000000068010000120B0000120B00001000000010000000000000000000
80000080000000808000800000008000800080800000C0C0C000808080000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
3333333333333333333333330000333333333333333333333333F33333333333
00003333344333333333333333388F3333333333000033334224333333333333
338338F3333333330000333422224333333333333833338F3333333300003342
222224333333333383333338F3333333000034222A22224333333338F338F333
8F33333300003222A3A2224333333338F3838F338F33333300003A2A333A2224
33333338F83338F338F33333000033A33333A222433333338333338F338F3333
0000333333333A222433333333333338F338F33300003333333333A222433333
333333338F338F33000033333333333A222433333333333338F338F300003333
33333333A222433333333333338F338F00003333333333333A22433333333333
3338F38F000033333333333333A223333333333333338F830000333333333333
333A333333333333333338330000333333333333333333333333333333333333
0000
}
NumGlyphs = 2
OnClick = BitBtn1Click
TabOrder = 1
end
object sgreactifs: TStringGrid
Left = 8
Height = 153
Hint = 'Pour sélectionner un réactif, cliquez sur la ligne correspondante.'
Top = 304
Width = 441
ParentShowHint = False
ShowHint = True
TabOrder = 3
OnMouseUp = sgreactifsMouseUp
end
object RadioGroup1: TRadioGroup
Left = 8
Height = 137
Top = 152
Width = 617
AutoFill = True
Caption = 'Type de comparaison'
ChildSizing.LeftRightSpacing = 6
ChildSizing.TopBottomSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1
ClientHeight = 119
ClientWidth = 613
ItemIndex = 0
Items.Strings = (
'Exacte'
'Mêmes atomes, en nombres inférieurs ou égaux'
'Mêmes atomes, en nombre supérieurs ou égaux'
'Mêmes atomes, en nombre quelconques'
)
TabOrder = 2
end
object BitBtn2: TBitBtn
Left = 456
Height = 52
Top = 404
Width = 169
Caption = '&Fermer'
Kind = bkClose
NumGlyphs = 0
TabOrder = 4
end
end
dozzaqueux-3.33/unit_imp.pas 0000750 0001750 0001750 00000006671 12246655014 016425 0 ustar georgesk georgesk unit Unit_imp;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
StdCtrls, ExtCtrls, Spin, Buttons,Printers,UChaines,UnitScaleFont;
type
{ Tconfigimpression }
tgraphehorizontal=(tgauche,tdroite,tcentreh);
tgraphevertical=(thaut,tbas,tcentrev);
Tconfigimpression = class(TForm)
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
GroupBox1: TGroupBox;
GroupBox2: TGroupBox;
GroupBox3: TGroupBox;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
RadioGrouporientation: TRadioGroup;
RadioGroupevertical: TRadioGroup;
radiogroupehorizontal: TRadioGroup;
spinpourcentagevertical: TSpinEdit;
spinpourcentagehorizontal: TSpinEdit;
Spinnombrecopies: TSpinEdit;
procedure BitBtn1Click(Sender: TObject);
procedure FormCreate(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ private declarations }
encreation:boolean;
public
{ public declarations }
end;
var
configimpression: Tconfigimpression;
abandonimpression:boolean;
graphehorizontal:tgraphehorizontal;
graphevertical:tgraphevertical;
taillegraphehorizontal,taillegraphevertical,nombrecopies:integer;
orientation_impression:tprinterorientation;
implementation
{ Tconfigimpression }
procedure Tconfigimpression.BitBtn1Click(Sender: TObject);
begin
abandonimpression:=false;
if radiogroupehorizontal.itemindex=1 then graphehorizontal:=tgauche;
if radiogroupehorizontal.itemindex=0 then graphehorizontal:=tdroite;
if radiogroupehorizontal.itemindex=2 then graphehorizontal:=tcentreh;
if radiogroupevertical.itemindex=0 then graphevertical:=thaut;
if radiogroupevertical.itemindex=1 then graphevertical:=tbas;
if radiogroupevertical.itemindex=2 then graphevertical:=tcentrev;
taillegraphehorizontal:=spinpourcentagehorizontal.value;
taillegraphevertical:=spinpourcentagevertical.value;
nombrecopies:=spinnombrecopies.value;
if radiogrouporientation.ItemIndex=0 then
orientation_impression:=poportrait else
orientation_impression:=polandscape;
end;
procedure Tconfigimpression.FormCreate(Sender: TObject);
begin
encreation:=true;
configimpression.Caption := rsConfiguratio;
GroupBox1.Caption := rsPosition;
radiogroupehorizontal.Caption := rsHorizontale;
// radiogroupehorizontal.Items.clear;
radiogroupehorizontal.Items[0]:=(rsDroite);
radiogroupehorizontal.Items[1]:=(rsGauche);
radiogroupehorizontal.Items[2]:=(rsCentr);
RadioGroupevertical.Caption := rsVerticale;
//RadioGroupevertical.Items.clear;
RadioGroupevertical.Items[0]:=(rsHaut);
RadioGroupevertical.Items[1]:=(rsBas);
RadioGroupevertical.Items[2]:=(rsCentr);
GroupBox2.Caption := rsNombreDeCopi;
Label1.Caption := rsNombre;
GroupBox3.Caption := rsTailleEnDeLa;
Label2.Caption := rsHorizontalem;
Label3.Caption := rsVerticalemen;
RadioGrouporientation.Caption := rsOrientation;
//RadioGrouporientation.Items.clear;
RadioGrouporientation.Items[0]:=(rsPortrait);
RadioGrouporientation.Items[1]:=(rsPaysage);
BitBtn2.Caption := rsAnnuler;
BitBtn1.Caption := rsOK;
end;
procedure Tconfigimpression.FormShow(Sender: TObject);
begin
if encreation then begin scalefont(self); encreation:=false; end;
end;
initialization
{$I unit_imp.lrs}
grapheHorizontal:=tcentreh;
graphevertical:=tcentrev;
taillegraphehorizontal:=90;
taillegraphevertical:=90;
nombrecopies:=1;
orientation_impression:=polandscape;
end.
dozzaqueux-3.33/indic_ph.xml 0000750 0001750 0001750 00000021527 11342553106 016363 0 ustar georgesk georgesk
254
255
246
193
252
255
255
252
255
255
252
255
207
255
255
252
255
255
254
255
255
255
254
255
255
255
255
255
252
255
252
255
252
255
255
255
0
181
0
255
255
255
255
153
252
255
0
255
255
255
255
255
0
255
255
255
/home/${USER}/MesDosages sous linux- correction d'un bug de dossier de chargement ou de sauvegarde lorsqu'on change de repertoire
Mes Documents\MesDosages sous windows
/Users/user/MesDosages sous Mac OSX
/home/${USER}/.config/dozzzaqueux sous linuxle rpertoire d'accueil des dosages perso est
%appdata%\dozzzaqueux sous windows
/Users/user/.config/dozzzaqueux sous Mac OSX
/home/${USER}/.config/dozzzaqueux/MesDosages sous linux
Mes Documents\MesDosages sous windows
/Users/user/.config/dozzzaqueux/MesDosages sous Mac OSX