Стартовый пул
This commit is contained in:
@@ -0,0 +1,191 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectSession>
|
||||
<Version Value="10"/>
|
||||
<BuildModes Active="Default"/>
|
||||
<Units Count="12">
|
||||
<Unit0>
|
||||
<Filename Value="project1.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<EditorIndex Value="-1"/>
|
||||
<WindowIndex Value="-1"/>
|
||||
<TopLine Value="-1"/>
|
||||
<CursorPos X="-1" Y="-1"/>
|
||||
<UsageCount Value="27"/>
|
||||
</Unit0>
|
||||
<Unit1>
|
||||
<Filename Value="unit1.pas"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<ComponentName Value="Form1"/>
|
||||
<HasResources Value="True"/>
|
||||
<ResourceBaseClass Value="Form"/>
|
||||
<UnitName Value="Unit1"/>
|
||||
<TopLine Value="68"/>
|
||||
<CursorPos X="29" Y="102"/>
|
||||
<UsageCount Value="27"/>
|
||||
<Loaded Value="True"/>
|
||||
<LoadedDesigner Value="True"/>
|
||||
</Unit1>
|
||||
<Unit2>
|
||||
<Filename Value="../../rxdbgrid.pas"/>
|
||||
<EditorIndex Value="-1"/>
|
||||
<TopLine Value="4622"/>
|
||||
<CursorPos X="52" Y="4655"/>
|
||||
<UsageCount Value="13"/>
|
||||
<Bookmarks Count="1">
|
||||
<Item0 Y="5132" ID="1"/>
|
||||
</Bookmarks>
|
||||
</Unit2>
|
||||
<Unit3>
|
||||
<Filename Value="../../rxdconst.pas"/>
|
||||
<EditorIndex Value="-1"/>
|
||||
<TopLine Value="102"/>
|
||||
<CursorPos X="73" Y="118"/>
|
||||
<UsageCount Value="13"/>
|
||||
</Unit3>
|
||||
<Unit4>
|
||||
<Filename Value="../../dbutils.pas"/>
|
||||
<EditorIndex Value="-1"/>
|
||||
<TopLine Value="381"/>
|
||||
<CursorPos X="30" Y="386"/>
|
||||
<UsageCount Value="13"/>
|
||||
</Unit4>
|
||||
<Unit5>
|
||||
<Filename Value="/home/install/source/fpcsrc/packages/fcl-db/src/base/db.pas"/>
|
||||
<EditorIndex Value="-1"/>
|
||||
<TopLine Value="1358"/>
|
||||
<CursorPos X="51" Y="1372"/>
|
||||
<UsageCount Value="13"/>
|
||||
</Unit5>
|
||||
<Unit6>
|
||||
<Filename Value="../../../../lcl/grids.pas"/>
|
||||
<UnitName Value="Grids"/>
|
||||
<EditorIndex Value="-1"/>
|
||||
<TopLine Value="8595"/>
|
||||
<CursorPos X="41" Y="8597"/>
|
||||
<UsageCount Value="12"/>
|
||||
<Bookmarks Count="1">
|
||||
<Item0 X="3" Y="8601" ID="2"/>
|
||||
</Bookmarks>
|
||||
</Unit6>
|
||||
<Unit7>
|
||||
<Filename Value="../../../../lcl/dbgrids.pas"/>
|
||||
<UnitName Value="DBGrids"/>
|
||||
<EditorIndex Value="-1"/>
|
||||
<TopLine Value="41"/>
|
||||
<CursorPos X="23" Y="58"/>
|
||||
<UsageCount Value="11"/>
|
||||
</Unit7>
|
||||
<Unit8>
|
||||
<Filename Value="../../../../lcl/controls.pp"/>
|
||||
<UnitName Value="Controls"/>
|
||||
<EditorIndex Value="-1"/>
|
||||
<TopLine Value="1489"/>
|
||||
<CursorPos X="14" Y="1504"/>
|
||||
<UsageCount Value="10"/>
|
||||
</Unit8>
|
||||
<Unit9>
|
||||
<Filename Value="../../../../lcl/include/control.inc"/>
|
||||
<EditorIndex Value="-1"/>
|
||||
<TopLine Value="5274"/>
|
||||
<CursorPos X="3" Y="5282"/>
|
||||
<UsageCount Value="10"/>
|
||||
</Unit9>
|
||||
<Unit10>
|
||||
<Filename Value="../../rxdb/ex_rx_xml_datapacket.pas"/>
|
||||
<EditorIndex Value="1"/>
|
||||
<TopLine Value="68"/>
|
||||
<CursorPos X="14" Y="84"/>
|
||||
<UsageCount Value="10"/>
|
||||
<Loaded Value="True"/>
|
||||
</Unit10>
|
||||
<Unit11>
|
||||
<Filename Value="../../rxdb/ex_rx_bin_datapacket.pas"/>
|
||||
<IsVisibleTab Value="True"/>
|
||||
<EditorIndex Value="2"/>
|
||||
<TopLine Value="49"/>
|
||||
<CursorPos X="15" Y="67"/>
|
||||
<UsageCount Value="10"/>
|
||||
<Loaded Value="True"/>
|
||||
</Unit11>
|
||||
</Units>
|
||||
<JumpHistory Count="19" HistoryIndex="18">
|
||||
<Position1>
|
||||
<Filename Value="unit1.pas"/>
|
||||
<Caret Line="91" Column="22" TopLine="63"/>
|
||||
</Position1>
|
||||
<Position2>
|
||||
<Filename Value="unit1.pas"/>
|
||||
<Caret Line="92" TopLine="63"/>
|
||||
</Position2>
|
||||
<Position3>
|
||||
<Filename Value="unit1.pas"/>
|
||||
<Caret Line="68" TopLine="63"/>
|
||||
</Position3>
|
||||
<Position4>
|
||||
<Filename Value="unit1.pas"/>
|
||||
<Caret Line="69" TopLine="64"/>
|
||||
</Position4>
|
||||
<Position5>
|
||||
<Filename Value="unit1.pas"/>
|
||||
<Caret Line="94" TopLine="64"/>
|
||||
</Position5>
|
||||
<Position6>
|
||||
<Filename Value="unit1.pas"/>
|
||||
<Caret Line="93" TopLine="67"/>
|
||||
</Position6>
|
||||
<Position7>
|
||||
<Filename Value="unit1.pas"/>
|
||||
<Caret Line="98" Column="57" TopLine="72"/>
|
||||
</Position7>
|
||||
<Position8>
|
||||
<Filename Value="unit1.pas"/>
|
||||
<Caret Line="53" Column="43" TopLine="38"/>
|
||||
</Position8>
|
||||
<Position9>
|
||||
<Filename Value="unit1.pas"/>
|
||||
<Caret Line="46" Column="42" TopLine="31"/>
|
||||
</Position9>
|
||||
<Position10>
|
||||
<Filename Value="unit1.pas"/>
|
||||
<Caret Line="103" TopLine="73"/>
|
||||
</Position10>
|
||||
<Position11>
|
||||
<Filename Value="unit1.pas"/>
|
||||
<Caret Line="99" Column="60" TopLine="73"/>
|
||||
</Position11>
|
||||
<Position12>
|
||||
<Filename Value="../../rxdb/ex_rx_xml_datapacket.pas"/>
|
||||
<Caret Line="85" Column="35" TopLine="68"/>
|
||||
</Position12>
|
||||
<Position13>
|
||||
<Filename Value="../../rxdb/ex_rx_xml_datapacket.pas"/>
|
||||
<Caret Line="370" Column="3" TopLine="366"/>
|
||||
</Position13>
|
||||
<Position14>
|
||||
<Filename Value="../../rxdb/ex_rx_xml_datapacket.pas"/>
|
||||
<Caret Line="86" Column="15" TopLine="69"/>
|
||||
</Position14>
|
||||
<Position15>
|
||||
<Filename Value="../../rxdb/ex_rx_xml_datapacket.pas"/>
|
||||
<Caret Line="425" Column="3" TopLine="402"/>
|
||||
</Position15>
|
||||
<Position16>
|
||||
<Filename Value="../../rxdb/ex_rx_xml_datapacket.pas"/>
|
||||
<Caret Line="84" Column="15" TopLine="70"/>
|
||||
</Position16>
|
||||
<Position17>
|
||||
<Filename Value="../../rxdb/ex_rx_xml_datapacket.pas"/>
|
||||
<Caret Line="301" Column="3" TopLine="295"/>
|
||||
</Position17>
|
||||
<Position18>
|
||||
<Filename Value="../../rxdb/ex_rx_bin_datapacket.pas"/>
|
||||
<Caret Line="67" Column="14" TopLine="49"/>
|
||||
</Position18>
|
||||
<Position19>
|
||||
<Filename Value="../../rxdb/ex_rx_bin_datapacket.pas"/>
|
||||
<Caret Line="94" Column="3" TopLine="89"/>
|
||||
</Position19>
|
||||
</JumpHistory>
|
||||
</ProjectSession>
|
||||
</CONFIG>
|
@@ -0,0 +1,107 @@
|
||||
{ RxAboutForm
|
||||
|
||||
Copyright (C) 2005-2017 Lagunov Aleksey alexs75@yandex.ru and Lazarus team
|
||||
original conception from rx library for Delphi (c)
|
||||
|
||||
This library is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU Library General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or (at your
|
||||
option) any later version with the following modification:
|
||||
|
||||
As a special exception, the copyright holders of this library give you
|
||||
permission to link this library with independent modules to produce an
|
||||
executable, regardless of the license terms of these independent modules,and
|
||||
to copy and distribute the resulting executable under terms of your choice,
|
||||
provided that you also meet, for each linked independent module, the terms
|
||||
and conditions of the license of that module. An independent module is a
|
||||
module which is not derived from or based on this library. If you modify
|
||||
this library, you may extend this exception to your version of the library,
|
||||
but you are not obligated to do so. If you do not wish to do so, delete this
|
||||
exception statement from your version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License
|
||||
for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public License
|
||||
along with this library; if not, write to the Free Software Foundation,
|
||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
}
|
||||
|
||||
unit rxAboutFormUnit;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
|
||||
ComCtrls, StdCtrls, ExtCtrls, ButtonPanel, RxVersInfo;
|
||||
|
||||
type
|
||||
|
||||
{ TrxAboutFormForm }
|
||||
|
||||
TrxAboutFormForm = class(TForm)
|
||||
ButtonPanel1: TButtonPanel;
|
||||
Image1: TImage;
|
||||
lblAppTitle: TLabel;
|
||||
lblBuildDate: TLabel;
|
||||
lblFPCVersion: TLabel;
|
||||
lblLCLVersion: TLabel;
|
||||
lblTargCPU: TLabel;
|
||||
lblTargetOS: TLabel;
|
||||
lblVersion: TLabel;
|
||||
lblWidgetName: TLabel;
|
||||
Memo1: TMemo;
|
||||
Memo2: TMemo;
|
||||
PageControl1: TPageControl;
|
||||
RxVersionInfo1: TRxVersionInfo;
|
||||
TabSheet1: TTabSheet;
|
||||
TabSheet2: TTabSheet;
|
||||
TabSheet3: TTabSheet;
|
||||
procedure FormCreate(Sender: TObject);
|
||||
private
|
||||
{ private declarations }
|
||||
public
|
||||
procedure LoadLicense(AFileName:string);
|
||||
end;
|
||||
|
||||
implementation
|
||||
uses rxconst, LazFileUtils, LazUTF8;
|
||||
|
||||
{$R *.lfm}
|
||||
|
||||
{ TrxAboutFormForm }
|
||||
|
||||
procedure TrxAboutFormForm.FormCreate(Sender: TObject);
|
||||
begin
|
||||
lblAppTitle.Caption:=RxVersionInfo1.ProductName;
|
||||
if lblAppTitle.Caption = '' then
|
||||
lblAppTitle.Caption:=Application.Title;
|
||||
|
||||
PageControl1.ActivePageIndex:=0;
|
||||
Memo1.Text:='';
|
||||
lblWidgetName.Caption:=RxVersionInfo1.WidgetName;
|
||||
lblVersion.Caption:=sAppVersion + RxVersionInfo1.FileLongVersion;
|
||||
lblLCLVersion.Caption:=sLCLVersion + LCLVersion;
|
||||
lblFPCVersion.Caption:=sFpcVersion + {$I %FPCVERSION%};
|
||||
lblTargCPU.Caption:=sTargetCPU + {$I %FPCTARGETCPU%};
|
||||
lblTargetOS.Caption:=sTargetOS + {$I %FPCTARGETOS%};
|
||||
lblBuildDate.Caption:=sBuildDate + {$I %DATE%};
|
||||
TabSheet1.Caption:=sGeneral;
|
||||
TabSheet2.Caption:=sDetails;
|
||||
TabSheet3.Caption:=sLicense;
|
||||
Memo2.Color:=TabSheet1.Color;
|
||||
end;
|
||||
|
||||
|
||||
procedure TrxAboutFormForm.LoadLicense(AFileName: string);
|
||||
begin
|
||||
if FileExistsUTF8(AFileName) then
|
||||
Memo1.Lines.LoadFromFile(UTF8ToSys(AFileName));
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Reference in New Issue
Block a user