- Timestamp:
- Jun 9, 2011, 12:34:21 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UMainForm.lfm
r10 r11 177 177 OnExecute = ASettingsExecute 178 178 end 179 object AInitSystemValues: TAction 180 Caption = 'Init system values' 181 OnExecute = AInitSystemValuesExecute 182 end 179 183 end 180 184 object PopupMenuItem: TPopupMenu … … 322 326 end 323 327 end 328 object MenuItem18: TMenuItem 329 Caption = 'Admin' 330 object MenuItem19: TMenuItem 331 Action = AInitSystemValues 332 end 333 end 324 334 object MenuItem12: TMenuItem 325 335 Caption = 'Help' -
trunk/Forms/UMainForm.lrt
r10 r11 18 18 TMAINFORM.ASETTINGS.CAPTION=Settings 19 19 TMAINFORM.ASETTINGS.HINT=Settings 20 TMAINFORM.AINITSYSTEMVALUES.CAPTION=Init system values 20 21 TMAINFORM.MENUITEM13.CAPTION=Server 21 22 TMAINFORM.MENUITEM11.CAPTION=View 23 TMAINFORM.MENUITEM18.CAPTION=Admin 22 24 TMAINFORM.MENUITEM12.CAPTION=Help -
trunk/Forms/UMainForm.pas
r10 r11 8 8 Registry, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, 9 9 StdCtrls, ActnList, Menus, ExtCtrls, USqlDatabase, DOM, XMLRead, XMLWrite, 10 UPersistentForm, UTreeState, SpecializedList, URegistry, USystem; 11 12 const 13 ConfigFileName = 'Config.xml'; 10 UPersistentForm, UTreeState, SpecializedList, SpecializedDictionary, 11 URegistry, USystem; 14 12 15 13 type … … 18 16 TMainForm = class(TForm) 19 17 AConnect: TAction; 18 AInitSystemValues: TAction; 20 19 ASettings: TAction; 21 20 AToggleFullscreen: TAction; … … 48 47 MenuItem16: TMenuItem; 49 48 MenuItem17: TMenuItem; 49 MenuItem18: TMenuItem; 50 MenuItem19: TMenuItem; 50 51 MenuItem2: TMenuItem; 51 52 MenuItem3: TMenuItem; … … 65 66 procedure AConnectExecute(Sender: TObject); 66 67 procedure AExitExecute(Sender: TObject); 68 procedure AInitSystemValuesExecute(Sender: TObject); 67 69 procedure AItemAddExecute(Sender: TObject); 68 70 procedure AItemEditExecute(Sender: TObject); … … 94 96 procedure SaveToRegistry; 95 97 procedure InitStructure; 98 procedure InitSystemValues; 96 99 public 97 100 SelectedObjectId: Integer; … … 157 160 158 161 procedure TMainForm.InitStructure; 159 begin 160 162 var 163 DbRows: TDbRows; 164 DbRows2: TDbRows; 165 StructureVersion: string; 166 Data: TDictionaryStringString; 167 ObjectId: Integer; 168 begin 169 with System do 170 try 171 DbRows := TDbRows.Create; 172 Data := TDictionaryStringString.Create; 173 174 Database.Query(DbRows, 'SHOW TABLES LIKE "' + InformationTable + '"'); 175 if DbRows.Count = 0 then begin 176 Database.Query(DbRows, 'CREATE TABLE IF NOT EXISTS `' + InformationTable + '` ( ' + 177 '`Version` varchar(255) NOT NULL,' + 178 '`LastUpdateTime` datetime NOT NULL' + 179 ') ENGINE=InnoDB DEFAULT CHARSET=utf8;'); 180 Database.Query(DbRows, 'INSERT INTO `' + InformationTable + '` (`Version`, `LastUpdateTime`) VALUES ' + 181 '("0.1", "0000-00-00 00:00:00");'); 182 end; 183 Database.Select(DbRows, InformationTable); 184 StructureVersion := DbRows[0].Values['Version']; 185 186 Database.Query(DbRows, 'SHOW TABLES LIKE "' + ObjectTable + '"'); 187 if DbRows.Count = 0 then begin 188 Database.Query(DbRows, 'CREATE TABLE IF NOT EXISTS `' + ObjectTable + '` ( ' + 189 '`Id` int(11) NOT NULL AUTO_INCREMENT,' + 190 '`Name` varchar(255) NOT NULL,' + 191 '`Schema` varchar(255) NOT NULL,' + 192 '`Table` varchar(255) NOT NULL,' + 193 '`PrimaryKey` varchar(255) NOT NULL DEFAULT "Id", ' + 194 '`Sequence` int(11) NOT NULL,' + 195 '`Group` int(11) NOT NULL,' + 196 'PRIMARY KEY (`Id`),' + 197 'KEY `Group` (`Group`)' + 198 ') ENGINE=InnoDB DEFAULT CHARSET=utf8'); 199 200 end; 201 202 Database.Query(DbRows, 'SHOW TABLES LIKE "' + ObjectGroupTable + '"'); 203 if DbRows.Count = 0 then begin 204 Database.Query(DbRows, 'CREATE TABLE IF NOT EXISTS `' + ObjectGroupTable + '` ( ' + 205 '`Id` int(11) NOT NULL AUTO_INCREMENT,' + 206 '`Name` varchar(255) NOT NULL,' + 207 '`Parent` int(11) NOT NULL,' + 208 '`Sequence` int(11) NOT NULL,' + 209 'PRIMARY KEY (`Id`)' + 210 ') ENGINE=InnoDB DEFAULT CHARSET=utf8'); 211 end; 212 213 Database.Query(DbRows, 'SHOW TABLES LIKE "' + PropertyTable + '"'); 214 if DbRows.Count = 0 then begin 215 Database.Query(DbRows, 'CREATE TABLE IF NOT EXISTS `' + PropertyTable + '` ( ' + 216 '`Id` int(11) NOT NULL AUTO_INCREMENT,' + 217 '`Name` varchar(255) NOT NULL,' + 218 '`Object` int(11) NOT NULL,' + 219 '`PropertyGroup` int(11) NOT NULL,' + 220 '`Type` int(11) NOT NULL,' + 221 '`ColumnName` varchar(255) NOT NULL,' + 222 'KEY `Object` (`Object`),' + 223 'KEY `PropertyGroup` (`PropertyGroup`),' + 224 'KEY `Type` (`Type`),' + 225 'PRIMARY KEY (`Id`)' + 226 ') ENGINE=InnoDB DEFAULT CHARSET=utf8'); 227 end; 228 Database.Query(DbRows, 'SHOW TABLES LIKE "' + PropertyTypeTable + '"'); 229 if DbRows.Count = 0 then begin 230 Database.Query(DbRows, 'CREATE TABLE IF NOT EXISTS `' + PropertyTypeTable + '` ( ' + 231 '`Id` int(11) NOT NULL AUTO_INCREMENT,' + 232 '`Name` varchar(255) NOT NULL,' + 233 '`DbType` varchar(255) NOT NULL,' + 234 '`TypeIndex` int(11) NOT NULL,' + 235 '`Parent` int(11) NOT NULL,' + 236 '`ParameterTable` varchar(255) NOT NULL,' + 237 'PRIMARY KEY (`Id`)' + 238 ') ENGINE=InnoDB DEFAULT CHARSET=utf8'); 239 end; 240 Database.Query(DbRows, 'SHOW TABLES LIKE "' + PropertyGroupTable + '"'); 241 if DbRows.Count = 0 then begin 242 Database.Query(DbRows, 'CREATE TABLE IF NOT EXISTS `' + PropertyGroupTable + '` ( ' + 243 '`Id` int(11) NOT NULL AUTO_INCREMENT,' + 244 '`Name` varchar(255) NOT NULL,' + 245 '`Object` int(11) NOT NULL,' + 246 'KEY `Object` (`Object`),' + 247 'PRIMARY KEY (`Id`)' + 248 ') ENGINE=InnoDB DEFAULT CHARSET=utf8'); 249 end; 250 251 finally 252 Data.Free; 253 DbRows.Free; 254 end; 255 end; 256 257 procedure TMainForm.InitSystemValues; 258 var 259 ObjectId: Integer; 260 TypeNumber: Integer; 261 TypeString: Integer; 262 GroupId: Integer; 263 begin 264 with System do begin 265 TypeNumber := AddType('Number', 'INT', vtInteger); 266 TypeString := AddType('String', 'VAR(255)', vtString); 267 AddType('Text', 'TEXT', vtText); 268 AddType('Date and time', 'DATETIME', vtDateTime); 269 AddType('Floating number', 'FLOAT', vtFloat); 270 AddType('Image', 'BLOB', vtImage); 271 AddType('Boolean', 'BOOL', vtBoolean); 272 AddType('IPv4', 'BINARY(4)', vtIPv4); 273 AddType('IPv6', 'BINARY(16)', vtIPv6); 274 AddType('MAC address', 'BINARY(6)', vtMAC); 275 AddType('File', '', vtFile); 276 AddType('GPS', '', vtGPS); 277 AddType('Currency', 'FLOAT', vtCurrency); 278 AddType('Enumeration', '', vtEnumeration); 279 AddType('Time', 'TIME', vtTime); 280 AddType('Date', 'DATE', vtDate); 281 AddType('Color', 'INT', vtColor); 282 283 GroupId := AddObjectGroup('System'); 284 285 ObjectId := AddObject('Object groups', 'ObjectGroup', System.Database.Database, GroupId); 286 AddProperty(ObjectId, 'Name', 'Name', TypeString); 287 ObjectId := AddObject('Objects', 'Object', System.Database.Database, GroupId); 288 AddProperty(ObjectId, 'Name', 'Name', TypeString); 289 AddProperty(ObjectId, 'Group', 'Group', TypeNumber); 290 AddProperty(ObjectId, 'Schema', 'Schema', TypeString); 291 AddProperty(ObjectId, 'Table', 'Table', TypeString); 292 AddProperty(ObjectId, 'Primary key', 'PrimaryKey', TypeString); 293 AddProperty(ObjectId, 'Sequence', 'Sequence', TypeNumber); 294 ObjectId := AddObject('Property types', 'Type', System.Database.Database, GroupId); 295 AddProperty(ObjectId, 'Name', 'Name', TypeString); 296 AddProperty(ObjectId, 'Type', 'DbType', TypeString); 297 AddProperty(ObjectId, 'Type index', 'TypeIndex', TypeNumber); 298 AddProperty(ObjectId, 'Parent', 'Parent', TypeNumber); 299 ObjectId := AddObject('Property groups', 'PropertyGroup', System.Database.Database, GroupId); 300 ObjectId := AddObject('Properties', 'Property', System.Database.Database, GroupId); 301 AddProperty(ObjectId, 'Name', 'Name', TypeString); 302 AddProperty(ObjectId, 'Object', 'Object', TypeNumber); 303 AddProperty(ObjectId, 'PropertyGroup', 'PropertyGroup', TypeNumber); 304 AddProperty(ObjectId, 'Type', 'Type', TypeNumber); 305 AddProperty(ObjectId, 'ColumnName', 'ColumnName', TypeString); 306 end; 161 307 end; 162 308 … … 271 417 end; 272 418 419 procedure TMainForm.AInitSystemValuesExecute(Sender: TObject); 420 begin 421 InitSystemValues; 422 LoadTree; 423 end; 424 273 425 procedure TMainForm.AConnectExecute(Sender: TObject); 274 426 begin … … 360 512 try 361 513 DbRows := TDbRows.Create; 362 System.Database.Query(DbRows, 'SELECT * FROM ` ObjectGroup`');514 System.Database.Query(DbRows, 'SELECT * FROM `' + ObjectGroupTable + '`'); 363 515 for I := 0 to DbRows.Count - 1 do begin 364 516 NewNode := AddChild(TopItem, DbRows[I].Values['Name']); … … 368 520 try 369 521 ObjectDbRows := TDbRows.Create; 370 System.Database.Query(ObjectDbRows, 'SELECT * FROM ` Object` WHERE `Group`=' + DbRows[I].Values['Id']);522 System.Database.Query(ObjectDbRows, 'SELECT * FROM `' + ObjectTable + '` WHERE `Group`=' + DbRows[I].Values['Id']); 371 523 for O := 0 to ObjectDbRows.Count - 1 do begin 372 524 NewObjectNode := AddChild(NewNode, ObjectDbRows[O].Values['Name']); -
trunk/USystem.pas
r9 r11 6 6 7 7 uses 8 Classes, SysUtils, SpecializedList, USqlDatabase, Strings; 8 Classes, SysUtils, SpecializedList, SpecializedDictionary, USqlDatabase, 9 Strings; 10 11 const 12 ObjectGroupTable = 'ObjectGroup'; 13 ObjectTable = 'Object'; 14 InformationTable = 'Information'; 15 PropertyTable = 'Property'; 16 PropertyTypeTable = 'Type'; 17 PropertyGroupTable = 'PropertyGroup'; 9 18 10 19 type 11 20 TDbValueType = (vtNone, vtInteger, vtString, vtText, vtDateTime, vtFloat, vtImage, vtBoolean, 12 21 vtIPv4, vtMAC, vtIPv6, vtFile, vtGPS, vtEnumeration, vtHyperlink, vtPassword, 13 vtReference, vtDate, vtTime, vtColor );22 vtReference, vtDate, vtTime, vtColor, vtCurrency); 14 23 15 24 TChronisType = class; … … 63 72 DbType: string; 64 73 DbTable: string; 74 TypeIndex: Integer; 65 75 Parent: TChronisType; 66 76 end; … … 71 81 Types: TListObject; // TList<TChronisType> 72 82 Database: TSQLDatabase; 83 function AddType(Name, DataType: string; TypeIndex: TDbValueType): Integer; 84 function AddObject(Name, TableName, Schema: string; GroupId: Integer): Integer; 85 function AddProperty(ObjectId: Integer; Name, ColumnName: string; DataType: Integer): Integer; 86 function AddObjectGroup(Name: string): Integer; 73 87 constructor Create; 74 88 destructor Destroy; override; … … 107 121 try 108 122 Properties := TDbRows.Create; 109 Base.Database.Query(Properties, 'SELECT * FROM ` Property` WHERE `Object`='110 + IntToStr(Obj.Id));123 Base.Database.Query(Properties, 'SELECT * FROM `' + PropertyTable + 124 '` WHERE `Object`=' + IntToStr(Obj.Id)); 111 125 Columns.Clear; 112 126 NewColumn := TReportColumn.Create; … … 149 163 end; 150 164 165 function TChronisBase.AddType(Name, DataType: string; TypeIndex: TDbValueType): Integer; 166 var 167 DbRows: TDbRows; 168 Data: TDictionaryStringString; 169 begin 170 try 171 DbRows := TDbRows.Create; 172 Data := TDictionaryStringString.Create; 173 Data.Add('Name', Name); 174 Data.Add('DbType', DataType); 175 Data.Add('TypeIndex', IntToStr(Integer(TypeIndex))); 176 Database.Insert(PropertyTypeTable, Data); 177 Result := Database.LastInsertId; 178 finally 179 Data.Free; 180 DbRows.Free; 181 end; 182 end; 183 184 function TChronisBase.AddObject(Name, TableName, Schema: string; 185 GroupId: Integer): Integer; 186 var 187 DbRows: TDbRows; 188 Data: TDictionaryStringString; 189 begin 190 try 191 DbRows := TDbRows.Create; 192 Data := TDictionaryStringString.Create; 193 Data.Add('Name', Name); 194 Data.Add('Schema', Schema); 195 Data.Add('Table', TableName); 196 Data.Add('Group', IntToStr(GroupId)); 197 Database.Insert(ObjectTable, Data); 198 Result := Database.LastInsertId; 199 finally 200 Data.Free; 201 DbRows.Free; 202 end; 203 end; 204 205 function TChronisBase.AddProperty(ObjectId: Integer; Name, ColumnName: string; 206 DataType: Integer): Integer; 207 var 208 DbRows: TDbRows; 209 Data: TDictionaryStringString; 210 begin 211 try 212 DbRows := TDbRows.Create; 213 Data := TDictionaryStringString.Create; 214 Data.Add('Name', Name); 215 Data.Add('Object', IntToStr(ObjectId)); 216 Data.Add('ColumnName', ColumnName); 217 Data.Add('Type', IntToStr(DataType)); 218 Database.Insert(PropertyTable, Data); 219 Result := Database.LastInsertId; 220 finally 221 Data.Free; 222 DbRows.Free; 223 end; 224 end; 225 226 function TChronisBase.AddObjectGroup(Name: string): Integer; 227 var 228 DbRows: TDbRows; 229 Data: TDictionaryStringString; 230 begin 231 try 232 DbRows := TDbRows.Create; 233 Data := TDictionaryStringString.Create; 234 Data.Add('Name', Name); 235 Database.Insert(ObjectGroupTable, Data); 236 Result := Database.LastInsertId; 237 finally 238 Data.Free; 239 DbRows.Free; 240 end; 241 end; 242 151 243 constructor TChronisBase.Create; 152 244 begin … … 184 276 try 185 277 DbRows := TDbRows.Create; 186 Base.Database.Query(DbRows, 'SELECT * FROM `Object` WHERE `Id`=' + IntToStr(ObjectId)); 278 Base.Database.Query(DbRows, 'SELECT * FROM `' + ObjectTable + 279 '` WHERE `Id`=' + IntToStr(ObjectId)); 187 280 if DbRows.Count = 1 then begin 188 281 Id := ObjectId; -
trunk/chronis.lpi
r10 r11 93 93 </Item3> 94 94 </RequiredPackages> 95 <Units Count=" 27">95 <Units Count="31"> 96 96 <Unit0> 97 97 <Filename Value="chronis.lpr"/> 98 98 <IsPartOfProject Value="True"/> 99 99 <UnitName Value="chronis"/> 100 <EditorIndex Value=" 8"/>100 <EditorIndex Value="12"/> 101 101 <WindowIndex Value="0"/> 102 102 <TopLine Value="14"/> … … 113 113 <TopLine Value="330"/> 114 114 <CursorPos X="1" Y="347"/> 115 <UsageCount Value=" 50"/>115 <UsageCount Value="49"/> 116 116 <DefaultSyntaxHighlighter Value="Delphi"/> 117 117 </Unit1> … … 125 125 <TopLine Value="118"/> 126 126 <CursorPos X="25" Y="144"/> 127 <UsageCount Value="10 4"/>127 <UsageCount Value="103"/> 128 128 <DefaultSyntaxHighlighter Value="Delphi"/> 129 129 </Unit2> … … 137 137 <TopLine Value="1"/> 138 138 <CursorPos X="24" Y="14"/> 139 <UsageCount Value="10 4"/>139 <UsageCount Value="103"/> 140 140 <DefaultSyntaxHighlighter Value="Delphi"/> 141 141 </Unit3> … … 144 144 <IsPartOfProject Value="True"/> 145 145 <UnitName Value="UPersistentForm"/> 146 <EditorIndex Value="1 0"/>146 <EditorIndex Value="14"/> 147 147 <WindowIndex Value="0"/> 148 148 <TopLine Value="55"/> … … 156 156 <IsPartOfProject Value="True"/> 157 157 <UnitName Value="USqlDatabase"/> 158 <IsVisibleTab Value="True"/> 159 <EditorIndex Value="7"/> 158 <EditorIndex Value="10"/> 160 159 <WindowIndex Value="0"/> 161 160 <TopLine Value="209"/> 162 <CursorPos X=" 25" Y="225"/>161 <CursorPos X="36" Y="222"/> 163 162 <UsageCount Value="264"/> 164 163 <Loaded Value="True"/> … … 169 168 <IsPartOfProject Value="True"/> 170 169 <UnitName Value="URegistry"/> 171 <EditorIndex Value=" 9"/>170 <EditorIndex Value="13"/> 172 171 <WindowIndex Value="0"/> 173 172 <TopLine Value="19"/> … … 185 184 <EditorIndex Value="0"/> 186 185 <WindowIndex Value="0"/> 187 <TopLine Value=" 56"/>188 <CursorPos X=" 1" Y="60"/>186 <TopLine Value="107"/> 187 <CursorPos X="69" Y="67"/> 189 188 <UsageCount Value="327"/> 190 189 <Loaded Value="True"/> … … 200 199 <EditorIndex Value="1"/> 201 200 <WindowIndex Value="0"/> 202 <TopLine Value=" 85"/>203 <CursorPos X="5 " Y="100"/>201 <TopLine Value="91"/> 202 <CursorPos X="56" Y="108"/> 204 203 <UsageCount Value="318"/> 205 204 <Loaded Value="True"/> … … 214 213 <ResourceBaseClass Value="Form"/> 215 214 <UnitName Value="ULoginForm"/> 216 <EditorIndex Value="1 2"/>215 <EditorIndex Value="16"/> 217 216 <WindowIndex Value="0"/> 218 217 <TopLine Value="14"/> … … 230 229 <ResourceBaseClass Value="Form"/> 231 230 <UnitName Value="UMainForm"/> 231 <IsVisibleTab Value="True"/> 232 232 <EditorIndex Value="2"/> 233 233 <WindowIndex Value="0"/> 234 <TopLine Value=" 168"/>235 <CursorPos X=" 3" Y="174"/>234 <TopLine Value="285"/> 235 <CursorPos X="58" Y="292"/> 236 236 <UsageCount Value="317"/> 237 237 <Loaded Value="True"/> … … 252 252 <ResourceBaseClass Value="Form"/> 253 253 <UnitName Value="UItemAdd"/> 254 <EditorIndex Value="1 1"/>255 <WindowIndex Value="0"/> 256 <TopLine Value="1 "/>257 <CursorPos X=" 14" Y="3"/>254 <EditorIndex Value="15"/> 255 <WindowIndex Value="0"/> 256 <TopLine Value="109"/> 257 <CursorPos X="32" Y="127"/> 258 258 <UsageCount Value="313"/> 259 259 <Loaded Value="True"/> … … 266 266 <TopLine Value="963"/> 267 267 <CursorPos X="3" Y="974"/> 268 <UsageCount Value=" 9"/>268 <UsageCount Value="8"/> 269 269 <DefaultSyntaxHighlighter Value="Delphi"/> 270 270 </Unit13> … … 274 274 <TopLine Value="43"/> 275 275 <CursorPos X="1" Y="60"/> 276 <UsageCount Value="1 6"/>276 <UsageCount Value="15"/> 277 277 </Unit14> 278 278 <Unit15> … … 281 281 <TopLine Value="68"/> 282 282 <CursorPos X="1" Y="85"/> 283 <UsageCount Value="1 3"/>283 <UsageCount Value="12"/> 284 284 </Unit15> 285 285 <Unit16> … … 289 289 <TopLine Value="593"/> 290 290 <CursorPos X="15" Y="606"/> 291 <UsageCount Value=" 8"/>291 <UsageCount Value="7"/> 292 292 </Unit16> 293 293 <Unit17> … … 296 296 <TopLine Value="2104"/> 297 297 <CursorPos X="3" Y="2109"/> 298 <UsageCount Value=" 8"/>298 <UsageCount Value="7"/> 299 299 </Unit17> 300 300 <Unit18> … … 304 304 <TopLine Value="1"/> 305 305 <CursorPos X="6" Y="1"/> 306 <UsageCount Value="1 9"/>306 <UsageCount Value="18"/> 307 307 <DefaultSyntaxHighlighter Value="Delphi"/> 308 308 </Unit18> … … 312 312 <TopLine Value="1"/> 313 313 <CursorPos X="3" Y="21"/> 314 <UsageCount Value="1 9"/>314 <UsageCount Value="18"/> 315 315 <DefaultSyntaxHighlighter Value="Delphi"/> 316 316 </Unit19> … … 319 319 <IsPartOfProject Value="True"/> 320 320 <UnitName Value="USystem"/> 321 <EditorIndex Value=" 6"/>322 <WindowIndex Value="0"/> 323 <TopLine Value=" 58"/>324 <CursorPos X=" 3" Y="70"/>325 <UsageCount Value=" 37"/>321 <EditorIndex Value="9"/> 322 <WindowIndex Value="0"/> 323 <TopLine Value="231"/> 324 <CursorPos X="8" Y="251"/> 325 <UsageCount Value="43"/> 326 326 <Loaded Value="True"/> 327 327 <DefaultSyntaxHighlighter Value="Delphi"/> … … 333 333 <TopLine Value="912"/> 334 334 <CursorPos X="14" Y="929"/> 335 <UsageCount Value="1 6"/>335 <UsageCount Value="15"/> 336 336 </Unit21> 337 337 <Unit22> … … 340 340 <TopLine Value="1"/> 341 341 <CursorPos X="15" Y="18"/> 342 <UsageCount Value="1 4"/>342 <UsageCount Value="13"/> 343 343 </Unit22> 344 344 <Unit23> … … 347 347 <TopLine Value="1"/> 348 348 <CursorPos X="11" Y="30"/> 349 <UsageCount Value="1 1"/>349 <UsageCount Value="10"/> 350 350 <DefaultSyntaxHighlighter Value="Delphi"/> 351 351 </Unit23> … … 356 356 <ResourceBaseClass Value="DataModule"/> 357 357 <UnitName Value="UCore"/> 358 <EditorIndex Value=" 5"/>358 <EditorIndex Value="8"/> 359 359 <WindowIndex Value="0"/> 360 360 <TopLine Value="3"/> 361 361 <CursorPos X="28" Y="15"/> 362 <UsageCount Value="2 1"/>362 <UsageCount Value="27"/> 363 363 <Loaded Value="True"/> 364 364 <LoadedDesigner Value="True"/> … … 371 371 <ResourceBaseClass Value="Form"/> 372 372 <UnitName Value="USettingForm"/> 373 <EditorIndex Value=" 4"/>373 <EditorIndex Value="7"/> 374 374 <WindowIndex Value="0"/> 375 375 <TopLine Value="1"/> 376 376 <CursorPos X="1" Y="1"/> 377 <UsageCount Value="2 1"/>377 <UsageCount Value="27"/> 378 378 <Loaded Value="True"/> 379 379 <LoadedDesigner Value="True"/> … … 384 384 <IsPartOfProject Value="True"/> 385 385 <UnitName Value="UApplicationInfo"/> 386 <EditorIndex Value=" 3"/>386 <EditorIndex Value="6"/> 387 387 <WindowIndex Value="0"/> 388 388 <TopLine Value="37"/> 389 389 <CursorPos X="48" Y="56"/> 390 <UsageCount Value="2 0"/>390 <UsageCount Value="26"/> 391 391 <Loaded Value="True"/> 392 392 <DefaultSyntaxHighlighter Value="Delphi"/> 393 393 </Unit26> 394 <Unit27> 395 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Specialized/SpecializedList.pas"/> 396 <UnitName Value="SpecializedList"/> 397 <EditorIndex Value="11"/> 398 <WindowIndex Value="0"/> 399 <TopLine Value="97"/> 400 <CursorPos X="26" Y="109"/> 401 <UsageCount Value="13"/> 402 <Loaded Value="True"/> 403 </Unit27> 404 <Unit28> 405 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericList.inc"/> 406 <EditorIndex Value="5"/> 407 <WindowIndex Value="0"/> 408 <TopLine Value="16"/> 409 <CursorPos X="14" Y="58"/> 410 <UsageCount Value="12"/> 411 <Loaded Value="True"/> 412 </Unit28> 413 <Unit29> 414 <Filename Value="H:/PascalClassLibrary/Generics/TemplateGenerics/Generic/GenericDictionary.inc"/> 415 <EditorIndex Value="4"/> 416 <WindowIndex Value="0"/> 417 <TopLine Value="87"/> 418 <CursorPos X="6" Y="103"/> 419 <UsageCount Value="12"/> 420 <Loaded Value="True"/> 421 </Unit29> 422 <Unit30> 423 <Filename Value="H:/Lazarus/0.9.31_2.5.1/fpc/2.5.1/source/rtl/inc/objpash.inc"/> 424 <EditorIndex Value="3"/> 425 <WindowIndex Value="0"/> 426 <TopLine Value="372"/> 427 <CursorPos X="7" Y="384"/> 428 <UsageCount Value="10"/> 429 <Loaded Value="True"/> 430 </Unit30> 394 431 </Units> 395 <JumpHistory Count=" 30" HistoryIndex="29">432 <JumpHistory Count="29" HistoryIndex="28"> 396 433 <Position1> 397 <Filename Value=" Common/USqlDatabase.pas"/>398 <Caret Line=" 179" Column="40" TopLine="159"/>434 <Filename Value="USystem.pas"/> 435 <Caret Line="82" Column="44" TopLine="70"/> 399 436 </Position1> 400 437 <Position2> 401 <Filename Value=" Common/USqlDatabase.pas"/>402 <Caret Line="2 24" Column="26" TopLine="209"/>438 <Filename Value="Forms/UMainForm.pas"/> 439 <Caret Line="234" Column="23" TopLine="171"/> 403 440 </Position2> 404 441 <Position3> 405 442 <Filename Value="Forms/UMainForm.pas"/> 406 <Caret Line=" 17" Column="47" TopLine="1"/>443 <Caret Line="280" Column="32" TopLine="258"/> 407 444 </Position3> 408 445 <Position4> 409 446 <Filename Value="Forms/UMainForm.pas"/> 410 <Caret Line="2 40" Column="46" TopLine="232"/>447 <Caret Line="277" Column="37" TopLine="265"/> 411 448 </Position4> 412 449 <Position5> 413 450 <Filename Value="Forms/UMainForm.pas"/> 414 <Caret Line="2 42" Column="46" TopLine="234"/>451 <Caret Line="278" Column="36" TopLine="265"/> 415 452 </Position5> 416 453 <Position6> 417 <Filename Value=" Forms/UMainForm.pas"/>418 <Caret Line="2 87" Column="23" TopLine="285"/>454 <Filename Value="USystem.pas"/> 455 <Caret Line="26" Column="40" TopLine="9"/> 419 456 </Position6> 420 457 <Position7> 421 <Filename Value=" chronis.lpr"/>422 <Caret Line="2 6" Column="73" TopLine="15"/>458 <Filename Value="Forms/UMainForm.pas"/> 459 <Caret Line="239" Column="47" TopLine="227"/> 423 460 </Position7> 424 461 <Position8> 425 <Filename Value=" Common/USqlDatabase.pas"/>426 <Caret Line=" 218" Column="30" TopLine="209"/>462 <Filename Value="Forms/UItemEdit.pas"/> 463 <Caret Line="108" Column="56" TopLine="91"/> 427 464 </Position8> 428 465 <Position9> 429 <Filename Value=" Common/USqlDatabase.pas"/>430 <Caret Line=" 87" Column="3" TopLine="75"/>466 <Filename Value="USystem.pas"/> 467 <Caret Line="38" Column="23" TopLine="23"/> 431 468 </Position9> 432 469 <Position10> 433 <Filename Value=" Forms/ULoginForm.pas"/>434 <Caret Line=" 12" Column="43" TopLine="14"/>470 <Filename Value="USystem.pas"/> 471 <Caret Line="4" Column="65" TopLine="1"/> 435 472 </Position10> 436 473 <Position11> 437 <Filename Value=" Forms/USettingForm.pas"/>438 <Caret Line=" 1" Column="1" TopLine="1"/>474 <Filename Value="USystem.pas"/> 475 <Caret Line="24" Column="15" TopLine="4"/> 439 476 </Position11> 440 477 <Position12> 441 <Filename Value=" Forms/UMainForm.pas"/>442 <Caret Line=" 135" Column="5" TopLine="128"/>478 <Filename Value="USystem.pas"/> 479 <Caret Line="38" Column="26" TopLine="18"/> 443 480 </Position12> 444 481 <Position13> 445 <Filename Value=" Forms/UMainForm.pas"/>446 <Caret Line=" 137" Column="5" TopLine="130"/>482 <Filename Value="USystem.pas"/> 483 <Caret Line="67" Column="15" TopLine="47"/> 447 484 </Position13> 448 485 <Position14> 449 <Filename Value=" Forms/UMainForm.pas"/>450 <Caret Line=" 247" Column="25" TopLine="245"/>486 <Filename Value="USystem.pas"/> 487 <Caret Line="75" Column="25" TopLine="55"/> 451 488 </Position14> 452 489 <Position15> 453 <Filename Value=" Forms/UMainForm.pas"/>454 <Caret Line="1 22" Column="62" TopLine="113"/>490 <Filename Value="USystem.pas"/> 491 <Caret Line="1" Column="5" TopLine="1"/> 455 492 </Position15> 456 493 <Position16> 457 <Filename Value=" Forms/UMainForm.pas"/>458 <Caret Line=" 123" Column="62" TopLine="114"/>494 <Filename Value="USystem.pas"/> 495 <Caret Line="81" Column="10" TopLine="61"/> 459 496 </Position16> 460 497 <Position17> 461 <Filename Value=" Forms/UMainForm.pas"/>462 <Caret Line=" 144" Column="16" TopLine="126"/>498 <Filename Value="USystem.pas"/> 499 <Caret Line="246" Column="8" TopLine="226"/> 463 500 </Position17> 464 501 <Position18> 465 502 <Filename Value="Forms/UMainForm.pas"/> 466 <Caret Line=" 102" Column="20" TopLine="90"/>503 <Caret Line="6" Column="68" TopLine="1"/> 467 504 </Position18> 468 505 <Position19> 469 506 <Filename Value="Forms/UMainForm.pas"/> 470 <Caret Line=" 93" Column="1" TopLine="81"/>507 <Caret Line="261" Column="8" TopLine="241"/> 471 508 </Position19> 472 509 <Position20> 473 510 <Filename Value="Forms/UMainForm.pas"/> 474 <Caret Line=" 124" Column="1" TopLine="103"/>511 <Caret Line="266" Column="8" TopLine="246"/> 475 512 </Position20> 476 513 <Position21> 477 514 <Filename Value="Forms/UMainForm.pas"/> 478 <Caret Line=" 7" Column="48" TopLine="1"/>515 <Caret Line="286" Column="48" TopLine="266"/> 479 516 </Position21> 480 517 <Position22> 481 518 <Filename Value="Forms/UMainForm.pas"/> 482 <Caret Line=" 93" Column="27" TopLine="81"/>519 <Caret Line="288" Column="48" TopLine="268"/> 483 520 </Position22> 484 521 <Position23> 485 522 <Filename Value="Forms/UMainForm.pas"/> 486 <Caret Line=" 125" Column="33" TopLine="105"/>523 <Caret Line="290" Column="52" TopLine="270"/> 487 524 </Position23> 488 525 <Position24> 489 526 <Filename Value="Forms/UMainForm.pas"/> 490 <Caret Line=" 162" Column="1" TopLine="157"/>527 <Caret Line="291" Column="50" TopLine="271"/> 491 528 </Position24> 492 529 <Position25> 493 530 <Filename Value="Forms/UMainForm.pas"/> 494 <Caret Line=" 161" Column="15" TopLine="157"/>531 <Caret Line="292" Column="61" TopLine="272"/> 495 532 </Position25> 496 533 <Position26> 497 534 <Filename Value="Forms/UMainForm.pas"/> 498 <Caret Line="2 76" Column="1" TopLine="271"/>535 <Caret Line="294" Column="40" TopLine="274"/> 499 536 </Position26> 500 537 <Position27> 501 <Filename Value=" Common/USqlDatabase.pas"/>502 <Caret Line=" 172" Column="28" TopLine="159"/>538 <Filename Value="Forms/UMainForm.pas"/> 539 <Caret Line="295" Column="48" TopLine="275"/> 503 540 </Position27> 504 541 <Position28> 505 <Filename Value=" Common/USqlDatabase.pas"/>506 <Caret Line="2 21" Column="32" TopLine="209"/>542 <Filename Value="Forms/UMainForm.pas"/> 543 <Caret Line="296" Column="50" TopLine="276"/> 507 544 </Position28> 508 545 <Position29> 509 546 <Filename Value="Forms/UMainForm.pas"/> 510 <Caret Line=" 95" Column="29" TopLine="91"/>547 <Caret Line="301" Column="48" TopLine="281"/> 511 548 </Position29> 512 <Position30>513 <Filename Value="Forms/UMainForm.pas"/>514 <Caret Line="174" Column="3" TopLine="168"/>515 </Position30>516 549 </JumpHistory> 517 550 </ProjectOptions> -
trunk/languages/chronis.cs.po
r10 r11 102 102 msgstr "Ukončit" 103 103 104 #: TMAINFORM.AINITSYSTEMVALUES.CAPTION 105 msgctxt "TMAINFORM.AINITSYSTEMVALUES.CAPTION" 106 msgid "Init system values" 107 msgstr "" 108 104 109 #: TMAINFORM.AITEMADD.CAPTION 105 110 #| msgid "Přidat" … … 203 208 msgstr "Server" 204 209 210 #: TMAINFORM.MENUITEM18.CAPTION 211 msgid "Admin" 212 msgstr "" 213 205 214 #: TSETTINGFORM.BUTTONCANCEL.CAPTION 206 215 msgctxt "TSETTINGFORM.BUTTONCANCEL.CAPTION" -
trunk/languages/chronis.po
r10 r11 85 85 msgstr "" 86 86 87 #: TMAINFORM.AINITSYSTEMVALUES.CAPTION 88 msgctxt "TMAINFORM.AINITSYSTEMVALUES.CAPTION" 89 msgid "Init system values" 90 msgstr "" 91 87 92 #: TMAINFORM.AITEMADD.CAPTION 88 93 msgctxt "TMAINFORM.AITEMADD.CAPTION" … … 173 178 msgstr "" 174 179 180 #: TMAINFORM.MENUITEM18.CAPTION 181 msgid "Admin" 182 msgstr "" 183 175 184 #: TSETTINGFORM.BUTTONCANCEL.CAPTION 176 185 msgctxt "TSETTINGFORM.BUTTONCANCEL.CAPTION"
Note:
See TracChangeset
for help on using the changeset viewer.