- Timestamp:
- Jun 13, 2011, 8:25:31 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 1 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 4 4 heaptrclog.trc 5 5 chronis.exe 6 DebugLog.txt
-
- Property svn:ignore
-
trunk/Application/UDataTypes.pas
r14 r15 16 16 function CreateControl(Owner: TComponent): TWinControl; virtual; 17 17 procedure SetupControl(Control: TWinControl); virtual; 18 function GetControlValue(Control: TWinControl): string; virtual; 18 19 procedure Load(CellValue: string); virtual; 19 20 procedure LoadDef(CustomType: Integer); virtual; … … 30 31 function CreateControl(Owner: TComponent): TWinControl; override; 31 32 procedure SetupControl(Control: TWinControl); override; 33 function GetControlValue(Control: TWinControl): string; override; 32 34 procedure Load(CellValue: string); override; 33 35 procedure LoadDef(CustomType: Integer); override; … … 42 44 function CreateControl(Owner: TComponent): TWinControl; override; 43 45 procedure SetupControl(Control: TWinControl); override; 46 function GetControlValue(Control: TWinControl): string; override; 44 47 procedure Load(CellValue: string); override; 45 48 end; … … 62 65 Default: Boolean; 63 66 function CreateControl(Owner: TComponent): TWinControl; override; 67 function GetControlValue(Control: TWinControl): string; override; 64 68 procedure SetupControl(Control: TWinControl); override; 65 69 procedure Load(CellValue: string); override; … … 83 87 Max: TDateTime; 84 88 function CreateControl(Owner: TComponent): TWinControl; override; 89 function GetControlValue(Control: TWinControl): string; override; 85 90 procedure SetupControl(Control: TWinControl); override; 86 91 procedure Load(CellValue: string); override; … … 95 100 Max: Double; 96 101 function CreateControl(Owner: TComponent): TWinControl; override; 102 function GetControlValue(Control: TWinControl): string; override; 97 103 procedure SetupControl(Control: TWinControl); override; 98 104 procedure Load(CellValue: string); override; … … 185 191 end; 186 192 193 function TDataTypeFloat.GetControlValue(Control: TWinControl): string; 194 begin 195 Result := MySQLFloatToStr(TFloatSpinEdit(Control).Value); 196 end; 197 187 198 procedure TDataTypeFloat.SetupControl(Control: TWinControl); 188 199 begin … … 202 213 end; 203 214 215 function TDataTypeDate.GetControlValue(Control: TWinControl): string; 216 begin 217 Result := DateTimeToSQL(TDateEdit(Control).Date); 218 end; 219 204 220 procedure TDataTypeDate.SetupControl(Control: TWinControl); 205 221 begin … … 217 233 begin 218 234 Result := TCheckBox.Create(Owner); 235 end; 236 237 function TDataTypeBoolean.GetControlValue(Control: TWinControl): string; 238 begin 239 Result := IntToStr(Integer(TCheckBox(Control).Checked)); 219 240 end; 220 241 … … 242 263 end; 243 264 265 function TDataTypeNumber.GetControlValue(Control: TWinControl): string; 266 begin 267 Result := IntToStr(TSpinEdit(Control).Value); 268 end; 269 244 270 procedure TDataTypeNumber.Load(CellValue: string); 245 271 begin … … 265 291 end; 266 292 293 function TDataTypeString.GetControlValue(Control: TWinControl): string; 294 begin 295 Result := TEdit(Control).Text; 296 end; 297 267 298 procedure TDataTypeString.Load(CellValue: string); 268 299 begin … … 282 313 end; 283 314 315 function TDataType.GetControlValue(Control: TWinControl): string; 316 begin 317 318 end; 319 284 320 procedure TDataType.Load(CellValue: string); 285 321 begin -
trunk/Forms/UItemAdd.pas
r14 r15 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, 9 StdCtrls, Spin, EditBtn, MaskEdit, USqlDatabase, USystem; 9 StdCtrls, Spin, EditBtn, MaskEdit, USqlDatabase, USystem, 10 SpecializedDictionary, SpecializedList; 10 11 11 12 type … … 28 29 public 29 30 Report: TReport; 31 ControlList: TListObject; 30 32 end; 31 33 … … 48 50 49 51 procedure TItemAddForm.ButtonSaveClick(Sender: TObject); 52 var 53 Data: TDictionaryStringString; 54 I: Integer; 55 DataType: TDataType; 50 56 begin 57 with Core.System do 58 try 59 Data := TDictionaryStringString.Create; 60 for I := 0 to Report.Columns.Count - 1 do 61 if TReportColumn(Report.Columns[I]).ColumnName <> 'Id' then begin 62 DataType := TReportColumn(Report.Columns[I]).CustomType; 63 Data.Add(TReportColumn(Report.Columns[I]).ColumnName, DataType.GetControlValue(TWinControl(ControlList[I]))); 64 end; 65 Database.Insert(MainForm.SelectedObject.Table, Data, MainForm.SelectedObject.Schema); 66 finally 67 Data.Free; 68 end; 69 MainForm.LoadItemList; 51 70 Close; 52 71 end; … … 62 81 Report := TReport.Create; 63 82 Report.Base := Core.System; 83 ControlList := TListObject.Create; 84 ControlList.OwnsObjects := False; 64 85 end; 65 86 … … 67 88 begin 68 89 Report.Free; 90 ControlList.Free; 69 91 end; 70 92 … … 97 119 98 120 // Load column names 121 ControlList.Clear; 99 122 for I := 0 to Report.Columns.Count - 1 do 100 123 if TReportColumn(Report.Columns[I]).ColumnName <> 'Id' then begin … … 113 136 NewControl.Left := Column * Width div ColumnCount + (Width div ColumnCount) div 2; 114 137 NewControl.Width := (Width div ColumnCount) div 2 - 20; 138 ControlList.Add(NewControl); 115 139 116 140 Column := (Column + 1) mod 2; 117 141 if Column = 0 then LastTop := LastTop + NewControl.Height + 4; 118 end ;142 end else ControlList.Add(nil); 119 143 end; 120 144 -
trunk/Forms/UItemEdit.pas
r14 r15 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, 9 StdCtrls, Spin, EditBtn, USqlDatabase, MaskEdit, USystem; 9 StdCtrls, Spin, EditBtn, USqlDatabase, MaskEdit, USystem, 10 SpecializedList, SpecializedDictionary; 10 11 11 12 type … … 27 28 public 28 29 Report: TReport; 30 ControlList: TListObject; 29 31 procedure BuildControls; 30 32 end; … … 48 50 49 51 procedure TItemEditForm.ButtonSaveClick(Sender: TObject); 52 var 53 Data: TDictionaryStringString; 54 I: Integer; 55 DataType: TDataType; 50 56 begin 51 57 with Core.System do 58 try 59 Data := TDictionaryStringString.Create; 60 for I := 0 to Report.Columns.Count - 1 do 61 if TReportColumn(Report.Columns[I]).ColumnName <> 'Id' then begin 62 DataType := TReportColumn(Report.Columns[I]).CustomType; 63 Data.Add(TReportColumn(Report.Columns[I]).ColumnName, DataType.GetControlValue(TWinControl(ControlList[I]))); 64 end; 65 Database.Update(MainForm.SelectedObject.Table, Data, 66 '`Id` = ' + IntToStr(MainForm.SelectedItem), MainForm.SelectedObject.Schema); 67 finally 68 Data.Free; 69 end; 70 if (MainForm.SelectedObject.Table = ObjectGroupTable) or 71 (MainForm.SelectedObject.Table = ObjectTable) then 72 MainForm.LoadTree; 52 73 MainForm.LoadItemList; 53 74 Close; … … 64 85 Report := TReport.Create; 65 86 Report.Base := Core.System; 87 ControlList := TListObject.Create; 88 ControlList.OwnsObjects := False; 66 89 end; 67 90 68 91 procedure TItemEditForm.FormDestroy(Sender: TObject); 69 92 begin 93 ControlList.Free; 70 94 Report.Free; 71 95 end; … … 115 139 NewControl.Left := Column * Width div ColumnCount + (Width div ColumnCount) div 2; 116 140 NewControl.Width := (Width div ColumnCount) div 2 - 20; 141 ControlList.Add(NewControl); 117 142 118 143 Column := (Column + 1) mod 2; 119 144 if Column = 0 then LastTop := LastTop + NewControl.Height + 4; 120 end ;145 end else ControlList.Add(nil); 121 146 end; 122 147 -
trunk/Forms/UMainForm.pas
r14 r15 407 407 ObjectId := AddObject('Object groups', 'ObjectGroup', Core.System.Database.Database, GroupId); 408 408 AddPropertyString(ObjectId, 'Name', 'Name'); 409 AddPropertyNumber(ObjectId, 'Parent', 'Parent'); 409 410 ObjectId := AddObject('Objects', 'Object', Core.System.Database.Database, GroupId); 410 411 AddPropertyString(ObjectId, 'Name', 'Name'); … … 417 418 AddPropertyString(ObjectId, 'Name', 'Name'); 418 419 AddPropertyString(ObjectId, 'Type', 'DbType'); 419 AddPropertyNumber(ObjectId, 'Parent', 'Parent');420 //AddPropertyNumber(ObjectId, 'Parent', 'Parent'); 420 421 ObjectId := AddObject('Property groups', 'PropertyGroup', Core.System.Database.Database, GroupId); 421 422 ObjectId := AddObject('Properties', 'Property', Core.System.Database.Database, GroupId); -
trunk/UCore.lfm
r14 r15 12 12 top = 55 13 13 end 14 object SqlDatabase1: TSqlDatabase 15 Connected = False 16 Encoding = 'utf8' 17 OnLogQuery = SqlDatabase1LogQuery 18 left = 200 19 top = 55 20 end 21 object DebugLog1: TDebugLog 22 WriteToFileEnable = False 23 FileName = 'DebugLog.txt' 24 MaxCount = 100 25 left = 176 26 top = 121 27 end 14 28 end -
trunk/UCore.pas
r14 r15 6 6 7 7 uses 8 Classes, SysUtils, FileUtil, UCoolTranslator, USystem, USqlDatabase; 8 Classes, SysUtils, FileUtil, UCoolTranslator, UDebugLog, USystem, 9 USqlDatabase; 9 10 10 11 type … … 14 15 TCore = class(TDataModule) 15 16 CoolTranslator1: TCoolTranslator; 17 DebugLog1: TDebugLog; 18 SqlDatabase1: TSqlDatabase; 16 19 procedure DataModuleCreate(Sender: TObject); 17 20 procedure DataModuleDestroy(Sender: TObject); 21 procedure SqlDatabase1LogQuery(Sender: TObject; Text: string); 18 22 private 19 23 { private declarations } … … 34 38 begin 35 39 System := TChronisBase.Create; 36 System.Database := TSqlDatabase.Create; 40 System.Database := SqlDatabase1; 41 {$IFDEF DEBUG} 42 DebugLog1.WriteToFileEnable := True; 43 {$ENDIF} 37 44 end; 38 45 … … 42 49 end; 43 50 51 procedure TCore.SqlDatabase1LogQuery(Sender: TObject; Text: string); 52 begin 53 DebugLog1.Add('', Text); 54 end; 55 44 56 end. 45 57 -
trunk/USystem.pas
r14 r15 184 184 Columns.Add(NewColumn); 185 185 NewColumn.Caption := Properties[I].Values['Name']; 186 NewColumn.ColumnName := Properties[I].Values['ColumnName']; ;186 NewColumn.ColumnName := Properties[I].Values['ColumnName']; 187 187 NewColumn.CustomType := GetDataType(StrToInt(Properties[I].Values['CustomType'])); 188 188 end; … … 298 298 Data.Add('Default', IntToStr(Default)); 299 299 Database.Insert(TypeNumber, Data); 300 CustomTypeId := Database.LastInsertId;300 //CustomTypeId := Database.LastInsertId; 301 301 302 302 Result := AddProperty(ObjectId, Name, ColumnName, CustomTypeId); … … 414 414 constructor TChronisBase.Create; 415 415 begin 416 Database := TSqlDatabase.Create;417 416 Types := TChronisTypeList.Create; 418 417 end; … … 421 420 begin 422 421 Types.Free; 423 Database.Free;424 422 inherited Destroy; 425 423 end; -
trunk/chronis.lpi
r14 r15 81 81 </local> 82 82 </RunParams> 83 <RequiredPackages Count=" 4">83 <RequiredPackages Count="6"> 84 84 <Item1> 85 <PackageName Value="CoolTranslator"/> 86 <MinVersion Valid="True"/> 85 <PackageName Value="Common"/> 87 86 </Item1> 88 87 <Item2> 89 <PackageName Value=" LCLBase"/>88 <PackageName Value="CoolWeb"/> 90 89 <MinVersion Valid="True"/> 91 90 </Item2> 92 91 <Item3> 93 <PackageName Value="TemplateGenerics"/> 92 <PackageName Value="CoolTranslator"/> 93 <MinVersion Valid="True"/> 94 94 </Item3> 95 95 <Item4> 96 <PackageName Value="LCLBase"/> 97 <MinVersion Valid="True"/> 98 </Item4> 99 <Item5> 100 <PackageName Value="TemplateGenerics"/> 101 </Item5> 102 <Item6> 96 103 <PackageName Value="LCL"/> 97 </Item 4>104 </Item6> 98 105 </RequiredPackages> 99 <Units Count=" 40">106 <Units Count="57"> 100 107 <Unit0> 101 108 <Filename Value="chronis.lpr"/> … … 106 113 <CursorPos X="1" Y="33"/> 107 114 <UsageCount Value="274"/> 108 <LoadedDesigner Value="True"/>109 115 <DefaultSyntaxHighlighter Value="Delphi"/> 110 116 </Unit0> … … 154 160 <Unit5> 155 161 <Filename Value="Common/USqlDatabase.pas"/> 156 <IsPartOfProject Value="True"/>157 162 <UnitName Value="USqlDatabase"/> 158 <EditorIndex Value="9"/> 159 <WindowIndex Value="0"/> 160 <TopLine Value="410"/> 161 <CursorPos X="1" Y="424"/> 163 <WindowIndex Value="0"/> 164 <TopLine Value="58"/> 165 <CursorPos X="73" Y="232"/> 162 166 <UsageCount Value="264"/> 163 <Loaded Value="True"/>164 167 <DefaultSyntaxHighlighter Value="Delphi"/> 165 168 </Unit5> … … 168 171 <IsPartOfProject Value="True"/> 169 172 <UnitName Value="URegistry"/> 173 <EditorIndex Value="14"/> 170 174 <WindowIndex Value="0"/> 171 175 <TopLine Value="19"/> 172 176 <CursorPos X="1" Y="31"/> 173 177 <UsageCount Value="264"/> 178 <Loaded Value="True"/> 174 179 <DefaultSyntaxHighlighter Value="Delphi"/> 175 180 </Unit6> … … 182 187 <EditorIndex Value="0"/> 183 188 <WindowIndex Value="0"/> 184 <TopLine Value=" 99"/>185 <CursorPos X=" 42" Y="112"/>189 <TopLine Value="1"/> 190 <CursorPos X="36" Y="14"/> 186 191 <UsageCount Value="327"/> 187 192 <Loaded Value="True"/> … … 195 200 <ResourceBaseClass Value="Form"/> 196 201 <UnitName Value="UItemEdit"/> 197 <IsVisibleTab Value="True"/>198 202 <EditorIndex Value="1"/> 199 203 <WindowIndex Value="0"/> 200 <TopLine Value=" 93"/>201 <CursorPos X=" 1" Y="111"/>204 <TopLine Value="51"/> 205 <CursorPos X="47" Y="71"/> 202 206 <UsageCount Value="318"/> 203 207 <Loaded Value="True"/> … … 212 216 <ResourceBaseClass Value="Form"/> 213 217 <UnitName Value="ULoginForm"/> 214 <EditorIndex Value="1 1"/>218 <EditorIndex Value="16"/> 215 219 <WindowIndex Value="0"/> 216 220 <TopLine Value="14"/> … … 228 232 <ResourceBaseClass Value="Form"/> 229 233 <UnitName Value="UMainForm"/> 230 <EditorIndex Value=" 3"/>231 <WindowIndex Value="0"/> 232 <TopLine Value=" 405"/>233 <CursorPos X=" 22" Y="412"/>234 <EditorIndex Value="2"/> 235 <WindowIndex Value="0"/> 236 <TopLine Value="95"/> 237 <CursorPos X="15" Y="98"/> 234 238 <UsageCount Value="317"/> 235 239 <Loaded Value="True"/> … … 241 245 <IsPartOfProject Value="True"/> 242 246 <UnitName Value="UTreeState"/> 247 <EditorIndex Value="13"/> 248 <WindowIndex Value="0"/> 249 <TopLine Value="1"/> 250 <CursorPos X="1" Y="1"/> 243 251 <UsageCount Value="314"/> 252 <Loaded Value="True"/> 244 253 <DefaultSyntaxHighlighter Value="Delphi"/> 245 254 </Unit11> … … 250 259 <ResourceBaseClass Value="Form"/> 251 260 <UnitName Value="UItemAdd"/> 252 <EditorIndex Value="1 0"/>253 <WindowIndex Value="0"/> 254 <TopLine Value=" 73"/>255 <CursorPos X="1 7" Y="85"/>261 <EditorIndex Value="15"/> 262 <WindowIndex Value="0"/> 263 <TopLine Value="13"/> 264 <CursorPos X="1" Y="32"/> 256 265 <UsageCount Value="313"/> 257 266 <Loaded Value="True"/> … … 273 282 <CursorPos X="1" Y="60"/> 274 283 <UsageCount Value="10"/> 284 <DefaultSyntaxHighlighter Value="Delphi"/> 275 285 </Unit14> 276 286 <Unit15> … … 280 290 <CursorPos X="1" Y="85"/> 281 291 <UsageCount Value="7"/> 292 <DefaultSyntaxHighlighter Value="Delphi"/> 282 293 </Unit15> 283 294 <Unit16> … … 288 299 <CursorPos X="15" Y="606"/> 289 300 <UsageCount Value="2"/> 301 <DefaultSyntaxHighlighter Value="Delphi"/> 290 302 </Unit16> 291 303 <Unit17> … … 295 307 <CursorPos X="3" Y="2109"/> 296 308 <UsageCount Value="2"/> 309 <DefaultSyntaxHighlighter Value="Delphi"/> 297 310 </Unit17> 298 311 <Unit18> … … 317 330 <IsPartOfProject Value="True"/> 318 331 <UnitName Value="USystem"/> 319 <EditorIndex Value=" 6"/>320 <WindowIndex Value="0"/> 321 <TopLine Value=" 169"/>322 <CursorPos X=" 1" Y="181"/>323 <UsageCount Value="9 5"/>332 <EditorIndex Value="11"/> 333 <WindowIndex Value="0"/> 334 <TopLine Value="305"/> 335 <CursorPos X="28" Y="424"/> 336 <UsageCount Value="98"/> 324 337 <Loaded Value="True"/> 325 338 <DefaultSyntaxHighlighter Value="Delphi"/> … … 332 345 <CursorPos X="14" Y="929"/> 333 346 <UsageCount Value="10"/> 347 <DefaultSyntaxHighlighter Value="Delphi"/> 334 348 </Unit21> 335 349 <Unit22> … … 339 353 <CursorPos X="15" Y="18"/> 340 354 <UsageCount Value="8"/> 355 <DefaultSyntaxHighlighter Value="Delphi"/> 341 356 </Unit22> 342 357 <Unit23> … … 354 369 <ResourceBaseClass Value="DataModule"/> 355 370 <UnitName Value="UCore"/> 356 <EditorIndex Value="5"/> 357 <WindowIndex Value="0"/> 358 <TopLine Value="1"/> 359 <CursorPos X="70" Y="8"/> 360 <UsageCount Value="79"/> 371 <IsVisibleTab Value="True"/> 372 <EditorIndex Value="9"/> 373 <WindowIndex Value="0"/> 374 <TopLine Value="31"/> 375 <CursorPos X="31" Y="42"/> 376 <UsageCount Value="82"/> 361 377 <Loaded Value="True"/> 362 378 <LoadedDesigner Value="True"/> … … 369 385 <ResourceBaseClass Value="Form"/> 370 386 <UnitName Value="USettingForm"/> 371 <EditorIndex Value=" 4"/>387 <EditorIndex Value="8"/> 372 388 <WindowIndex Value="0"/> 373 389 <TopLine Value="40"/> 374 390 <CursorPos X="45" Y="15"/> 375 <UsageCount Value=" 78"/>391 <UsageCount Value="81"/> 376 392 <Loaded Value="True"/> 377 393 <LoadedDesigner Value="True"/> … … 385 401 <TopLine Value="37"/> 386 402 <CursorPos X="21" Y="52"/> 387 <UsageCount Value=" 78"/>403 <UsageCount Value="81"/> 388 404 <DefaultSyntaxHighlighter Value="Delphi"/> 389 405 </Unit26> … … 395 411 <CursorPos X="26" Y="109"/> 396 412 <UsageCount Value="8"/> 413 <DefaultSyntaxHighlighter Value="Delphi"/> 397 414 </Unit27> 398 415 <Unit28> … … 402 419 <CursorPos X="14" Y="58"/> 403 420 <UsageCount Value="8"/> 421 <DefaultSyntaxHighlighter Value="Delphi"/> 404 422 </Unit28> 405 423 <Unit29> … … 409 427 <CursorPos X="6" Y="103"/> 410 428 <UsageCount Value="8"/> 429 <DefaultSyntaxHighlighter Value="Delphi"/> 411 430 </Unit29> 412 431 <Unit30> … … 416 435 <CursorPos X="7" Y="384"/> 417 436 <UsageCount Value="5"/> 437 <DefaultSyntaxHighlighter Value="Delphi"/> 418 438 </Unit30> 419 439 <Unit31> … … 423 443 <CursorPos X="40" Y="94"/> 424 444 <UsageCount Value="5"/> 445 <DefaultSyntaxHighlighter Value="Delphi"/> 425 446 </Unit31> 426 447 <Unit32> … … 431 452 <CursorPos X="3" Y="305"/> 432 453 <UsageCount Value="5"/> 454 <DefaultSyntaxHighlighter Value="Delphi"/> 433 455 </Unit32> 434 456 <Unit33> … … 439 461 <CursorPos X="44" Y="500"/> 440 462 <UsageCount Value="28"/> 463 <DefaultSyntaxHighlighter Value="Delphi"/> 441 464 </Unit33> 442 465 <Unit34> … … 447 470 <CursorPos X="24" Y="1673"/> 448 471 <UsageCount Value="28"/> 472 <DefaultSyntaxHighlighter Value="Delphi"/> 449 473 </Unit34> 450 474 <Unit35> 451 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericDictionary.inc"/> 452 <WindowIndex Value="0"/> 453 <TopLine Value="50"/> 454 <CursorPos X="1" Y="63"/> 455 <UsageCount Value="10"/> 475 <Filename Value="Application/UDataTypes.pas"/> 476 <IsPartOfProject Value="True"/> 477 <UnitName Value="UDataTypes"/> 478 <EditorIndex Value="12"/> 479 <WindowIndex Value="0"/> 480 <TopLine Value="193"/> 481 <CursorPos X="28" Y="195"/> 482 <UsageCount Value="35"/> 483 <Loaded Value="True"/> 484 <DefaultSyntaxHighlighter Value="Delphi"/> 456 485 </Unit35> 457 486 <Unit36> 458 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/>459 <EditorIndex Value="8"/>460 <WindowIndex Value="0"/>461 <TopLine Value="120"/>462 <CursorPos X="1" Y="134"/>463 <UsageCount Value="15"/>464 <Loaded Value="True"/>465 </Unit36>466 <Unit37>467 <Filename Value="Application/UDataTypes.pas"/>468 <IsPartOfProject Value="True"/>469 <UnitName Value="UDataTypes"/>470 <EditorIndex Value="7"/>471 <WindowIndex Value="0"/>472 <TopLine Value="233"/>473 <CursorPos X="1" Y="247"/>474 <UsageCount Value="32"/>475 <Loaded Value="True"/>476 <DefaultSyntaxHighlighter Value="Delphi"/>477 </Unit37>478 <Unit38>479 487 <Filename Value="H:/Lazarus/0.9.31_2.5.1/lcl/stdctrls.pp"/> 480 488 <UnitName Value="StdCtrls"/> … … 483 491 <CursorPos X="26" Y="1458"/> 484 492 <UsageCount Value="9"/> 485 </Unit38> 486 <Unit39> 493 <DefaultSyntaxHighlighter Value="Delphi"/> 494 </Unit36> 495 <Unit37> 487 496 <Filename Value="H:/Lazarus/0.9.31_2.5.1/fpc/2.5.1/source/rtl/win32/system.pp"/> 488 497 <UnitName Value="System"/> 489 <EditorIndex Value="2"/>490 498 <WindowIndex Value="0"/> 491 499 <TopLine Value="4"/> 492 500 <CursorPos X="1" Y="16"/> 493 501 <UsageCount Value="14"/> 494 <Loaded Value="True"/> 502 <DefaultSyntaxHighlighter Value="Delphi"/> 503 </Unit37> 504 <Unit38> 505 <Filename Value="H:/PascalClassLibrary/Network/CoolWeb/Persistence/USqlDatabase.pas"/> 506 <UnitName Value="USqlDatabase"/> 507 <WindowIndex Value="0"/> 508 <TopLine Value="1"/> 509 <CursorPos X="1" Y="1"/> 510 <UsageCount Value="10"/> 511 </Unit38> 512 <Unit39> 513 <Filename Value="H:/PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPServer.pas"/> 514 <UnitName Value="UHTTPServer"/> 515 <WindowIndex Value="0"/> 516 <TopLine Value="1"/> 517 <CursorPos X="1" Y="1"/> 518 <UsageCount Value="10"/> 495 519 </Unit39> 520 <Unit40> 521 <Filename Value="H:/PascalClassLibrary/Network/CoolWeb/CoolWeb.pas"/> 522 <UnitName Value="CoolWeb"/> 523 <WindowIndex Value="0"/> 524 <TopLine Value="5"/> 525 <CursorPos X="50" Y="15"/> 526 <UsageCount Value="10"/> 527 </Unit40> 528 <Unit41> 529 <Filename Value="H:/PascalClassLibrary/Common/UDebugLog.pas"/> 530 <UnitName Value="UDebugLog"/> 531 <WindowIndex Value="0"/> 532 <TopLine Value="88"/> 533 <CursorPos X="1" Y="109"/> 534 <UsageCount Value="10"/> 535 </Unit41> 536 <Unit42> 537 <Filename Value="H:/Lazarus/0.9.31_2.5.1/fpc/2.5.1/source/rtl/objpas/classes/classesh.inc"/> 538 <WindowIndex Value="0"/> 539 <TopLine Value="1639"/> 540 <CursorPos X="17" Y="1651"/> 541 <UsageCount Value="10"/> 542 </Unit42> 543 <Unit43> 544 <Filename Value="H:/PascalClassLibrary/Network/CoolWeb/Common/UCommon.pas"/> 545 <UnitName Value="UCommon"/> 546 <WindowIndex Value="0"/> 547 <TopLine Value="28"/> 548 <CursorPos X="1" Y="1"/> 549 <UsageCount Value="10"/> 550 </Unit43> 551 <Unit44> 552 <Filename Value="H:/PascalClassLibrary/Common/UCommon.pas"/> 553 <UnitName Value="UCommon"/> 554 <WindowIndex Value="0"/> 555 <TopLine Value="37"/> 556 <CursorPos X="1" Y="1"/> 557 <UsageCount Value="10"/> 558 </Unit44> 559 <Unit45> 560 <Filename Value="H:/PascalClassLibrary/Common/Common.pas"/> 561 <UnitName Value="Common"/> 562 <WindowIndex Value="0"/> 563 <TopLine Value="1"/> 564 <CursorPos X="36" Y="13"/> 565 <UsageCount Value="10"/> 566 </Unit45> 567 <Unit46> 568 <Filename Value="H:/PascalClassLibrary/Network/CoolWeb/WebServer/UHTTPSessionFile.pas"/> 569 <UnitName Value="UHTTPSessionFile"/> 570 <WindowIndex Value="0"/> 571 <TopLine Value="15"/> 572 <CursorPos X="19" Y="27"/> 573 <UsageCount Value="10"/> 574 </Unit46> 575 <Unit47> 576 <Filename Value="H:/PascalClassLibrary/Common/StopWatch.pas"/> 577 <UnitName Value="StopWatch"/> 578 <WindowIndex Value="0"/> 579 <TopLine Value="19"/> 580 <CursorPos X="1" Y="1"/> 581 <UsageCount Value="10"/> 582 </Unit47> 583 <Unit48> 584 <Filename Value="H:/PascalClassLibrary/Common/UThreading.pas"/> 585 <UnitName Value="UThreading"/> 586 <WindowIndex Value="0"/> 587 <TopLine Value="28"/> 588 <CursorPos X="1" Y="1"/> 589 <UsageCount Value="10"/> 590 </Unit48> 591 <Unit49> 592 <Filename Value="H:/PascalClassLibrary/Common/UPrefixMultiplier.pas"/> 593 <UnitName Value="UPrefixMultiplier"/> 594 <WindowIndex Value="0"/> 595 <TopLine Value="1"/> 596 <CursorPos X="1" Y="1"/> 597 <UsageCount Value="10"/> 598 </Unit49> 599 <Unit50> 600 <Filename Value="H:/PascalClassLibrary/Common/UDelay.pas"/> 601 <UnitName Value="UDelay"/> 602 <WindowIndex Value="0"/> 603 <TopLine Value="16"/> 604 <CursorPos X="1" Y="1"/> 605 <UsageCount Value="10"/> 606 </Unit50> 607 <Unit51> 608 <Filename Value="H:/PascalClassLibrary/Common/UDebugLog.pas"/> 609 <UnitName Value="UDebugLog"/> 610 <EditorIndex Value="10"/> 611 <WindowIndex Value="0"/> 612 <TopLine Value="77"/> 613 <CursorPos X="38" Y="90"/> 614 <UsageCount Value="10"/> 615 <Loaded Value="True"/> 616 </Unit51> 617 <Unit52> 618 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/> 619 <EditorIndex Value="3"/> 620 <WindowIndex Value="0"/> 621 <TopLine Value="33"/> 622 <CursorPos X="14" Y="45"/> 623 <UsageCount Value="10"/> 624 <Loaded Value="True"/> 625 </Unit52> 626 <Unit53> 627 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericListString.inc"/> 628 <EditorIndex Value="7"/> 629 <WindowIndex Value="0"/> 630 <TopLine Value="8"/> 631 <CursorPos X="62" Y="20"/> 632 <UsageCount Value="10"/> 633 <Loaded Value="True"/> 634 </Unit53> 635 <Unit54> 636 <Filename Value="H:/Lazarus/0.9.31_2.5.1/fpc/2.5.1/source/rtl/objpas/sysutils/sysstrh.inc"/> 637 <EditorIndex Value="5"/> 638 <WindowIndex Value="0"/> 639 <TopLine Value="70"/> 640 <CursorPos X="10" Y="82"/> 641 <UsageCount Value="10"/> 642 <Loaded Value="True"/> 643 </Unit54> 644 <Unit55> 645 <Filename Value="H:/Lazarus/0.9.31_2.5.1/fpc/2.5.1/source/rtl/objpas/sysutils/sysstr.inc"/> 646 <EditorIndex Value="6"/> 647 <WindowIndex Value="0"/> 648 <TopLine Value="141"/> 649 <CursorPos X="3" Y="144"/> 650 <UsageCount Value="10"/> 651 <Loaded Value="True"/> 652 </Unit55> 653 <Unit56> 654 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericDictionary.inc"/> 655 <EditorIndex Value="4"/> 656 <WindowIndex Value="0"/> 657 <TopLine Value="33"/> 658 <CursorPos X="25" Y="45"/> 659 <UsageCount Value="10"/> 660 <Loaded Value="True"/> 661 </Unit56> 496 662 </Units> 497 663 <JumpHistory Count="30" HistoryIndex="29"> 498 664 <Position1> 499 <Filename Value=" H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/>500 <Caret Line="1 33" Column="1" TopLine="120"/>665 <Filename Value="Forms/UMainForm.pas"/> 666 <Caret Line="189" Column="1" TopLine="176"/> 501 667 </Position1> 502 668 <Position2> 503 <Filename Value=" H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/>504 <Caret Line="1 34" Column="1" TopLine="120"/>669 <Filename Value="Forms/UMainForm.pas"/> 670 <Caret Line="190" Column="1" TopLine="179"/> 505 671 </Position2> 506 672 <Position3> 507 <Filename Value="Forms/U ItemEdit.pas"/>508 <Caret Line="1 12" Column="1" TopLine="93"/>673 <Filename Value="Forms/UMainForm.pas"/> 674 <Caret Line="193" Column="1" TopLine="179"/> 509 675 </Position3> 510 676 <Position4> 511 <Filename Value="Forms/U ItemEdit.pas"/>512 <Caret Line="1 11" Column="1" TopLine="93"/>677 <Filename Value="Forms/UMainForm.pas"/> 678 <Caret Line="194" Column="1" TopLine="179"/> 513 679 </Position4> 514 680 <Position5> 515 <Filename Value=" H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/>516 <Caret Line="1 31" Column="1" TopLine="120"/>681 <Filename Value="Forms/UMainForm.pas"/> 682 <Caret Line="195" Column="1" TopLine="179"/> 517 683 </Position5> 518 684 <Position6> 519 <Filename Value=" H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/>520 <Caret Line="1 33" Column="1" TopLine="120"/>685 <Filename Value="Forms/UMainForm.pas"/> 686 <Caret Line="197" Column="1" TopLine="179"/> 521 687 </Position6> 522 688 <Position7> 523 <Filename Value=" H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/>524 <Caret Line="1 34" Column="1" TopLine="120"/>689 <Filename Value="Forms/UMainForm.pas"/> 690 <Caret Line="198" Column="1" TopLine="191"/> 525 691 </Position7> 526 692 <Position8> 527 <Filename Value=" H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/>528 <Caret Line=" 131" Column="1" TopLine="120"/>693 <Filename Value="Forms/UMainForm.pas"/> 694 <Caret Line="200" Column="1" TopLine="191"/> 529 695 </Position8> 530 696 <Position9> 531 697 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/> 532 <Caret Line=" 133" Column="1" TopLine="120"/>698 <Caret Line="234" Column="1" TopLine="222"/> 533 699 </Position9> 534 700 <Position10> 535 701 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/> 536 <Caret Line=" 134" Column="1" TopLine="120"/>702 <Caret Line="236" Column="1" TopLine="222"/> 537 703 </Position10> 538 704 <Position11> 539 <Filename Value=" Application/UDataTypes.pas"/>540 <Caret Line="2 68" Column="27" TopLine="256"/>705 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/> 706 <Caret Line="241" Column="9" TopLine="233"/> 541 707 </Position11> 542 708 <Position12> 543 <Filename Value=" Application/UDataTypes.pas"/>544 <Caret Line="2 70" Column="1" TopLine="256"/>709 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/> 710 <Caret Line="240" Column="9" TopLine="233"/> 545 711 </Position12> 546 712 <Position13> 547 <Filename Value=" Forms/UItemEdit.pas"/>548 <Caret Line=" 112" Column="1" TopLine="93"/>713 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/> 714 <Caret Line="241" Column="9" TopLine="233"/> 549 715 </Position13> 550 716 <Position14> 551 <Filename Value=" Forms/UItemEdit.pas"/>552 <Caret Line=" 111" Column="1" TopLine="93"/>717 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericListString.inc"/> 718 <Caret Line="20" Column="1" TopLine="16"/> 553 719 </Position14> 554 720 <Position15> 555 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList .inc"/>556 <Caret Line=" 131" Column="1" TopLine="120"/>721 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericListString.inc"/> 722 <Caret Line="77" Column="19" TopLine="65"/> 557 723 </Position15> 558 724 <Position16> 559 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList .inc"/>560 <Caret Line=" 133" Column="1" TopLine="120"/>725 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericListString.inc"/> 726 <Caret Line="78" Column="14" TopLine="65"/> 561 727 </Position16> 562 728 <Position17> 563 <Filename Value=" H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/>564 <Caret Line=" 134" Column="1" TopLine="120"/>729 <Filename Value="Forms/UMainForm.pas"/> 730 <Caret Line="200" Column="1" TopLine="191"/> 565 731 </Position17> 566 732 <Position18> 567 <Filename Value=" H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/>568 <Caret Line="1 31" Column="1" TopLine="120"/>733 <Filename Value="Forms/UMainForm.pas"/> 734 <Caret Line="189" Column="21" TopLine="177"/> 569 735 </Position18> 570 736 <Position19> 571 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList .inc"/>572 <Caret Line=" 133" Column="1" TopLine="120"/>737 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericListString.inc"/> 738 <Caret Line="20" Column="62" TopLine="8"/> 573 739 </Position19> 574 740 <Position20> 575 <Filename Value=" H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/>576 <Caret Line="1 34" Column="1" TopLine="120"/>741 <Filename Value="Forms/UMainForm.pas"/> 742 <Caret Line="185" Column="1" TopLine="177"/> 577 743 </Position20> 578 744 <Position21> 579 <Filename Value=" Application/UDataTypes.pas"/>580 <Caret Line=" 251" Column="39" TopLine="233"/>745 <Filename Value="Forms/UMainForm.pas"/> 746 <Caret Line="186" Column="1" TopLine="177"/> 581 747 </Position21> 582 748 <Position22> 583 <Filename Value=" Application/UDataTypes.pas"/>584 <Caret Line=" 246" Column="1" TopLine="233"/>749 <Filename Value="Forms/UMainForm.pas"/> 750 <Caret Line="187" Column="1" TopLine="177"/> 585 751 </Position22> 586 752 <Position23> 587 <Filename Value=" USystem.pas"/>588 <Caret Line=" 323" Column="31" TopLine="309"/>753 <Filename Value="Forms/UMainForm.pas"/> 754 <Caret Line="189" Column="1" TopLine="177"/> 589 755 </Position23> 590 756 <Position24> 591 <Filename Value=" USystem.pas"/>592 <Caret Line=" 325" Column="1" TopLine="309"/>757 <Filename Value="Forms/UMainForm.pas"/> 758 <Caret Line="197" Column="1" TopLine="177"/> 593 759 </Position24> 594 760 <Position25> 595 <Filename Value=" USystem.pas"/>596 <Caret Line=" 326" Column="1" TopLine="309"/>761 <Filename Value="Forms/UMainForm.pas"/> 762 <Caret Line="198" Column="1" TopLine="184"/> 597 763 </Position25> 598 764 <Position26> 599 <Filename Value=" USystem.pas"/>600 <Caret Line=" 327" Column="1" TopLine="309"/>765 <Filename Value="Forms/UMainForm.pas"/> 766 <Caret Line="200" Column="1" TopLine="184"/> 601 767 </Position26> 602 768 <Position27> 603 <Filename Value=" USystem.pas"/>604 <Caret Line=" 328" Column="1" TopLine="309"/>769 <Filename Value="Forms/UMainForm.pas"/> 770 <Caret Line="215" Column="1" TopLine="203"/> 605 771 </Position27> 606 772 <Position28> 607 <Filename Value=" USystem.pas"/>608 <Caret Line=" 330" Column="7" TopLine="312"/>773 <Filename Value="Forms/UMainForm.pas"/> 774 <Caret Line="226" Column="1" TopLine="212"/> 609 775 </Position28> 610 776 <Position29> 611 <Filename Value=" USystem.pas"/>612 <Caret Line=" 325" Column="1" TopLine="312"/>777 <Filename Value="Forms/UMainForm.pas"/> 778 <Caret Line="241" Column="1" TopLine="232"/> 613 779 </Position29> 614 780 <Position30> 615 <Filename Value=" USystem.pas"/>616 <Caret Line=" 181" Column="1" TopLine="169"/>781 <Filename Value="Forms/UMainForm.pas"/> 782 <Caret Line="250" Column="1" TopLine="232"/> 617 783 </Position30> 618 784 </JumpHistory> … … 658 824 <Other> 659 825 <CompilerMessages> 826 <IgnoredMessages idx5023="True" idx5024="True" idx5025="True" idx5026="True" idx5028="True" idx5029="True" idx5031="True"/> 660 827 <UseMsgFile Value="True"/> 661 828 </CompilerMessages> -
trunk/chronis.lpr
r14 r15 8 8 {$ENDIF}{$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 Forms, UPersistentForm, URegistry, U SqlDatabase, UTreeState, SysUtils,11 U ItemView, UItemEdit, ULoginForm, UMainForm, UItemAdd, TemplateGenerics,12 Cool Translator, USystem, UCore, UApplicationInfo, USettingForm, UDataTypes10 Forms, UPersistentForm, URegistry, UTreeState, SysUtils, UItemView, UItemEdit, 11 ULoginForm, UMainForm, UItemAdd, TemplateGenerics, CoolTranslator, Common, 12 CoolWeb, USystem, UCore, UApplicationInfo, USettingForm, UDataTypes 13 13 { you can add units after this }; 14 14 -
trunk/languages/chronis.cs.po
r12 r15 227 227 msgstr "Nastavení" 228 228 229 #: TSETTINGFORM.COMBOBOXLANGUAGE.TEXT 230 msgid "ComboBoxLanguage" 231 msgstr "" 232 229 233 #: TSETTINGFORM.LABEL1.CAPTION 230 234 msgid "Server address:" 231 235 msgstr "Adresa serveru:" 232 236 237 #: TSETTINGFORM.LABEL2.CAPTION 238 msgid "Language:" 239 msgstr "Jazyk:" 240 233 241 #: umainform.sgroup 234 242 msgid "Groups" 235 243 msgstr "Skupiny" 236 244 245 #: umainform.sitemdeletion 246 msgid "Delete items" 247 msgstr "Smazat položky" 248 237 249 #: umainform.sitemnotfound 238 250 msgid "Item not found" … … 243 255 msgstr "Objekt nenalezen" 244 256 257 #: umainform.sreallywanttodelete 258 msgid "Really want to delete selected items?" 259 msgstr "Opravdu chcete smazat položky?" 260 245 261 #: usqldatabase.sdatabasequeryerror 246 262 msgid "Database query error: \"%s\"" 247 263 msgstr "Chyba databázového dotazu: \"%s\"" 248 264 265 #: usystem.sunsupportedtype 266 msgid "Unsupported property type \"%s\"" 267 msgstr "Nepodporovaný typ vlastnosti \"%s\"" 268 -
trunk/languages/chronis.po
r12 r15 200 200 msgstr "" 201 201 202 #: TSETTINGFORM.COMBOBOXLANGUAGE.TEXT 203 msgid "ComboBoxLanguage" 204 msgstr "" 205 202 206 #: TSETTINGFORM.LABEL1.CAPTION 203 207 msgid "Server address:" 204 208 msgstr "" 205 209 210 #: TSETTINGFORM.LABEL2.CAPTION 211 msgid "Language:" 212 msgstr "" 213 206 214 #: umainform.sgroup 207 215 msgid "Groups" 208 216 msgstr "" 209 217 218 #: umainform.sitemdeletion 219 msgid "Delete items" 220 msgstr "" 221 210 222 #: umainform.sitemnotfound 211 223 msgid "Item not found" … … 216 228 msgstr "" 217 229 230 #: umainform.sreallywanttodelete 231 msgid "Really want to delete selected items?" 232 msgstr "" 233 218 234 #: usqldatabase.sdatabasequeryerror 219 235 msgid "Database query error: \"%s\"" 220 236 msgstr "" 221 237 238 #: usystem.sunsupportedtype 239 msgid "Unsupported property type \"%s\"" 240 msgstr "" 241
Note:
See TracChangeset
for help on using the changeset viewer.