mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 02:09:21 +02:00
IDE: about dlg: added platform information
git-svn-id: trunk@10179 -
This commit is contained in:
parent
921f2b2e64
commit
dc4e0a9c65
@ -1,47 +1,57 @@
|
|||||||
object AboutForm: TAboutForm
|
object AboutForm: TAboutForm
|
||||||
ActiveControl = AboutMemo
|
|
||||||
Caption = 'About Lazarus'
|
|
||||||
ClientHeight = 270
|
|
||||||
ClientWidth = 608
|
|
||||||
OnCreate = AboutFormCreate
|
|
||||||
PixelsPerInch = 96
|
|
||||||
Position = poScreenCenter
|
|
||||||
HorzScrollBar.Page = 607
|
|
||||||
VertScrollBar.Page = 269
|
|
||||||
Left = 351
|
Left = 351
|
||||||
Height = 270
|
Height = 270
|
||||||
Top = 389
|
Top = 389
|
||||||
Width = 608
|
Width = 608
|
||||||
|
HorzScrollBar.Page = 607
|
||||||
|
VertScrollBar.Page = 269
|
||||||
|
ActiveControl = AboutMemo
|
||||||
|
Caption = 'About Lazarus'
|
||||||
|
OnCreate = AboutFormCreate
|
||||||
|
Position = poScreenCenter
|
||||||
object VersionLabel: TLabel
|
object VersionLabel: TLabel
|
||||||
|
Left = 14
|
||||||
|
Height = 13
|
||||||
|
Top = 6
|
||||||
|
Width = 58
|
||||||
Alignment = taCenter
|
Alignment = taCenter
|
||||||
Caption = 'Version #:'
|
Caption = 'Version #:'
|
||||||
Color = clNone
|
Color = clNone
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
Left = 14
|
|
||||||
Height = 14
|
|
||||||
Top = 6
|
|
||||||
Width = 51
|
|
||||||
end
|
end
|
||||||
object BuildDateLabel: TLabel
|
object BuildDateLabel: TLabel
|
||||||
|
Left = 14
|
||||||
|
Height = 13
|
||||||
|
Top = 23
|
||||||
|
Width = 30
|
||||||
Alignment = taCenter
|
Alignment = taCenter
|
||||||
Caption = 'Date:'
|
Caption = 'Date:'
|
||||||
Color = clNone
|
Color = clNone
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
Left = 14
|
|
||||||
Height = 14
|
|
||||||
Top = 23
|
|
||||||
Width = 28
|
|
||||||
end
|
end
|
||||||
object RevisionLabel: TLabel
|
object RevisionLabel: TLabel
|
||||||
|
Left = 14
|
||||||
|
Height = 13
|
||||||
|
Top = 40
|
||||||
|
Width = 80
|
||||||
Caption = 'RevisionLabel'
|
Caption = 'RevisionLabel'
|
||||||
Color = clNone
|
Color = clNone
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
|
end
|
||||||
|
object PlatformLabel: TLabel
|
||||||
Left = 14
|
Left = 14
|
||||||
Height = 14
|
Height = 13
|
||||||
Top = 40
|
Top = 61
|
||||||
Width = 66
|
Width = 76
|
||||||
|
Caption = 'PlatformLabel'
|
||||||
|
Color = clNone
|
||||||
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object CloseButton: TBitBtn
|
object CloseButton: TBitBtn
|
||||||
|
Left = 70
|
||||||
|
Height = 34
|
||||||
|
Top = 225
|
||||||
|
Width = 73
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
Cancel = True
|
Cancel = True
|
||||||
Caption = 'Close'
|
Caption = 'Close'
|
||||||
@ -74,46 +84,34 @@ object AboutForm: TAboutForm
|
|||||||
ModalResult = 1
|
ModalResult = 1
|
||||||
NumGlyphs = 0
|
NumGlyphs = 0
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
Left = 70
|
|
||||||
Height = 44
|
|
||||||
Top = 225
|
|
||||||
Width = 81
|
|
||||||
end
|
end
|
||||||
object Notebook1: TNotebook
|
object Notebook1: TNotebook
|
||||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
|
||||||
PageIndex = 0
|
|
||||||
Left = 215
|
Left = 215
|
||||||
Height = 261
|
Height = 261
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 389
|
Width = 389
|
||||||
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||||
|
PageIndex = 0
|
||||||
object AboutPage: TPage
|
object AboutPage: TPage
|
||||||
Caption = 'About'
|
Caption = 'About'
|
||||||
ClientWidth = 381
|
|
||||||
ClientHeight = 235
|
|
||||||
Height = 235
|
|
||||||
Width = 381
|
|
||||||
object AboutMemo: TMemo
|
object AboutMemo: TMemo
|
||||||
|
Height = 231
|
||||||
|
Width = 385
|
||||||
Align = alClient
|
Align = alClient
|
||||||
ReadOnly = True
|
ReadOnly = True
|
||||||
ScrollBars = ssAutoBoth
|
ScrollBars = ssAutoBoth
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Height = 235
|
|
||||||
Width = 381
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object ContributorsPage: TPage
|
object ContributorsPage: TPage
|
||||||
Caption = 'Contributors'
|
Caption = 'Contributors'
|
||||||
ClientWidth = 381
|
|
||||||
ClientHeight = 235
|
|
||||||
Height = 235
|
|
||||||
Width = 381
|
|
||||||
object ContributorsMemo: TMemo
|
object ContributorsMemo: TMemo
|
||||||
|
Height = 231
|
||||||
|
Width = 385
|
||||||
Align = alClient
|
Align = alClient
|
||||||
ReadOnly = True
|
ReadOnly = True
|
||||||
ScrollBars = ssAutoBoth
|
ScrollBars = ssAutoBoth
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Height = 235
|
|
||||||
Width = 381
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,40 +1,39 @@
|
|||||||
{ This is an automatically generated lazarus resource file }
|
{ This is an automatically generated lazarus resource file }
|
||||||
|
|
||||||
LazarusResources.Add('TAboutForm','FORMDATA',[
|
LazarusResources.Add('TAboutForm','FORMDATA',[
|
||||||
'TPF0'#10'TAboutForm'#9'AboutForm'#13'ActiveControl'#7#9'AboutMemo'#7'Caption'
|
'TPF0'#10'TAboutForm'#9'AboutForm'#4'Left'#3'_'#1#6'Height'#3#14#1#3'Top'#3
|
||||||
+#6#13'About Lazarus'#12'ClientHeight'#3#14#1#11'ClientWidth'#3'`'#2#8'OnCrea'
|
+#133#1#5'Width'#3'`'#2#18'HorzScrollBar.Page'#3'_'#2#18'VertScrollBar.Page'#3
|
||||||
+'te'#7#15'AboutFormCreate'#13'PixelsPerInch'#2'`'#8'Position'#7#14'poScreenC'
|
+#13#1#13'ActiveControl'#7#9'AboutMemo'#7'Caption'#6#13'About Lazarus'#8'OnCr'
|
||||||
+'enter'#18'HorzScrollBar.Page'#3'_'#2#18'VertScrollBar.Page'#3#13#1#4'Left'#3
|
+'eate'#7#15'AboutFormCreate'#8'Position'#7#14'poScreenCenter'#0#6'TLabel'#12
|
||||||
+'_'#1#6'Height'#3#14#1#3'Top'#3#133#1#5'Width'#3'`'#2#0#6'TLabel'#12'Version'
|
+'VersionLabel'#4'Left'#2#14#6'Height'#2#13#3'Top'#2#6#5'Width'#2':'#9'Alignm'
|
||||||
+'Label'#9'Alignment'#7#8'taCenter'#7'Caption'#6#10'Version #:'#5'Color'#7#6
|
+'ent'#7#8'taCenter'#7'Caption'#6#10'Version #:'#5'Color'#7#6'clNone'#11'Pare'
|
||||||
+'clNone'#11'ParentColor'#8#4'Left'#2#14#6'Height'#2#14#3'Top'#2#6#5'Width'#2
|
+'ntColor'#8#0#0#6'TLabel'#14'BuildDateLabel'#4'Left'#2#14#6'Height'#2#13#3'T'
|
||||||
+'3'#0#0#6'TLabel'#14'BuildDateLabel'#9'Alignment'#7#8'taCenter'#7'Caption'#6
|
+'op'#2#23#5'Width'#2#30#9'Alignment'#7#8'taCenter'#7'Caption'#6#5'Date:'#5'C'
|
||||||
+#5'Date:'#5'Color'#7#6'clNone'#11'ParentColor'#8#4'Left'#2#14#6'Height'#2#14
|
+'olor'#7#6'clNone'#11'ParentColor'#8#0#0#6'TLabel'#13'RevisionLabel'#4'Left'
|
||||||
+#3'Top'#2#23#5'Width'#2#28#0#0#6'TLabel'#13'RevisionLabel'#7'Caption'#6#13'R'
|
+#2#14#6'Height'#2#13#3'Top'#2'('#5'Width'#2'P'#7'Caption'#6#13'RevisionLabel'
|
||||||
+'evisionLabel'#5'Color'#7#6'clNone'#11'ParentColor'#8#4'Left'#2#14#6'Height'
|
+#5'Color'#7#6'clNone'#11'ParentColor'#8#0#0#6'TLabel'#13'PlatformLabel'#4'Le'
|
||||||
+#2#14#3'Top'#2'('#5'Width'#2'B'#0#0#7'TBitBtn'#11'CloseButton'#8'AutoSize'#9
|
+'ft'#2#14#6'Height'#2#13#3'Top'#2'='#5'Width'#2'L'#7'Caption'#6#13'PlatformL'
|
||||||
+#6'Cancel'#9#7'Caption'#6#5'Close'#10'Glyph.Data'#10#251#2#0#0#247#2#0#0'/* '
|
+'abel'#5'Color'#7#6'clNone'#11'ParentColor'#8#0#0#7'TBitBtn'#11'CloseButton'
|
||||||
+'XPM */'#10'static char * botaoFechar_xpm[] = {'#10'"24 24 2 1",'#10'" '#9'c'
|
+#4'Left'#2'F'#6'Height'#2'"'#3'Top'#3#225#0#5'Width'#2'I'#8'AutoSize'#9#6'Ca'
|
||||||
+' None",'#10'".'#9'c #000000",'#10'" ",'#10'" '
|
+'ncel'#9#7'Caption'#6#5'Close'#10'Glyph.Data'#10#251#2#0#0#247#2#0#0'/* XPM '
|
||||||
+' ",'#10'" ",'#10'" '
|
+'*/'#10'static char * botaoFechar_xpm[] = {'#10'"24 24 2 1",'#10'" '#9'c Non'
|
||||||
+' ",'#10'" ",'#10'" ",'#10
|
+'e",'#10'".'#9'c #000000",'#10'" ",'#10'" '
|
||||||
+'" . . ",'#10'" . ... ",'#10'" ..'
|
+' ",'#10'" ",'#10'" '
|
||||||
+' .... ",'#10'" .. ... ",'#10'" ..... '
|
+' ",'#10'" ",'#10'" ",'#10'" '
|
||||||
+' ",'#10'" ... ",'#10'" ..... ",'#10'"'
|
+' . . ",'#10'" . ... ",'#10'" .. .'
|
||||||
+' ....... ",'#10'" ... .... ",'#10'" ... '
|
+'... ",'#10'" .. ... ",'#10'" ..... '
|
||||||
+' .... ",'#10'" ... .. ",'#10'" '
|
+'",'#10'" ... ",'#10'" ..... ",'#10'" '
|
||||||
+' ",'#10'" ",'#10'" ",'#10'" '
|
+' ....... ",'#10'" ... .... ",'#10'" ... .'
|
||||||
+' ",'#10'" ",'#10'" '
|
+'... ",'#10'" ... .. ",'#10'" "'
|
||||||
+' ",'#10'" "};'#10#11'ModalResult'#2#1#9'N'
|
+','#10'" ",'#10'" ",'#10'" '
|
||||||
+'umGlyphs'#2#0#8'TabOrder'#2#1#4'Left'#2'F'#6'Height'#2','#3'Top'#3#225#0#5
|
+' ",'#10'" ",'#10'" '
|
||||||
+'Width'#2'Q'#0#0#9'TNotebook'#9'Notebook1'#7'Anchors'#11#5'akTop'#6'akLeft'#7
|
+' ",'#10'" "};'#10#11'ModalResult'#2#1#9'NumG'
|
||||||
+'akRight'#8'akBottom'#0#9'PageIndex'#2#0#4'Left'#3#215#0#6'Height'#3#5#1#3'T'
|
+'lyphs'#2#0#8'TabOrder'#2#1#0#0#9'TNotebook'#9'Notebook1'#4'Left'#3#215#0#6
|
||||||
+'op'#2#6#5'Width'#3#133#1#0#5'TPage'#9'AboutPage'#7'Caption'#6#5'About'#11'C'
|
+'Height'#3#5#1#3'Top'#2#6#5'Width'#3#133#1#7'Anchors'#11#5'akTop'#6'akLeft'#7
|
||||||
+'lientWidth'#3'}'#1#12'ClientHeight'#3#235#0#6'Height'#3#235#0#5'Width'#3'}'
|
+'akRight'#8'akBottom'#0#9'PageIndex'#2#0#0#5'TPage'#9'AboutPage'#7'Caption'#6
|
||||||
+#1#0#5'TMemo'#9'AboutMemo'#5'Align'#7#8'alClient'#8'ReadOnly'#9#10'ScrollBar'
|
+#5'About'#0#5'TMemo'#9'AboutMemo'#6'Height'#3#231#0#5'Width'#3#129#1#5'Align'
|
||||||
+'s'#7#10'ssAutoBoth'#8'TabOrder'#2#0#6'Height'#3#235#0#5'Width'#3'}'#1#0#0#0
|
+#7#8'alClient'#8'ReadOnly'#9#10'ScrollBars'#7#10'ssAutoBoth'#8'TabOrder'#2#0
|
||||||
+#5'TPage'#16'ContributorsPage'#7'Caption'#6#12'Contributors'#11'ClientWidth'
|
+#0#0#0#5'TPage'#16'ContributorsPage'#7'Caption'#6#12'Contributors'#0#5'TMemo'
|
||||||
+#3'}'#1#12'ClientHeight'#3#235#0#6'Height'#3#235#0#5'Width'#3'}'#1#0#5'TMemo'
|
+#16'ContributorsMemo'#6'Height'#3#231#0#5'Width'#3#129#1#5'Align'#7#8'alClie'
|
||||||
+#16'ContributorsMemo'#5'Align'#7#8'alClient'#8'ReadOnly'#9#10'ScrollBars'#7
|
+'nt'#8'ReadOnly'#9#10'ScrollBars'#7#10'ssAutoBoth'#8'TabOrder'#2#0#0#0#0#0#0
|
||||||
+#10'ssAutoBoth'#8'TabOrder'#2#0#6'Height'#3#235#0#5'Width'#3'}'#1#0#0#0#0#0
|
|
||||||
]);
|
]);
|
||||||
|
@ -37,6 +37,7 @@ type
|
|||||||
CloseButton: TBitBtn;
|
CloseButton: TBitBtn;
|
||||||
BuildDateLabel: TLABEL;
|
BuildDateLabel: TLABEL;
|
||||||
AboutMemo: TMEMO;
|
AboutMemo: TMEMO;
|
||||||
|
PlatformLabel: TLabel;
|
||||||
VersionLabel: TLABEL;
|
VersionLabel: TLABEL;
|
||||||
ContributorsMemo:TMemo;
|
ContributorsMemo:TMemo;
|
||||||
RevisionLabel: TLabel;
|
RevisionLabel: TLabel;
|
||||||
@ -122,8 +123,11 @@ begin
|
|||||||
Caption:=lisAboutLazarus;
|
Caption:=lisAboutLazarus;
|
||||||
VersionLabel.Caption := lisVersion+' #: '+ GetLazarusVersionString;
|
VersionLabel.Caption := lisVersion+' #: '+ GetLazarusVersionString;
|
||||||
RevisionLabel.Caption := lisSVNRevision+LazarusRevisionStr;
|
RevisionLabel.Caption := lisSVNRevision+LazarusRevisionStr;
|
||||||
|
|
||||||
BuildDateLabel.Caption := lisDate+': '+GetLocalizedBuildDate;
|
BuildDateLabel.Caption := lisDate+': '+GetLocalizedBuildDate;
|
||||||
|
PlatformLabel.Caption:=GetDefaultTargetCPU+'-'+GetDefaultTargetOS
|
||||||
|
+'-'+GetDefaultLCLWidgetType;
|
||||||
|
|
||||||
|
|
||||||
AboutPage.Caption:=lisMenuTemplateAbout;
|
AboutPage.Caption:=lisMenuTemplateAbout;
|
||||||
ContributorsPage.Caption:=lisContributors;
|
ContributorsPage.Caption:=lisContributors;
|
||||||
Constraints.MinWidth:= 600;
|
Constraints.MinWidth:= 600;
|
||||||
@ -156,7 +160,8 @@ procedure TAboutForm.Paint;
|
|||||||
begin
|
begin
|
||||||
inherited Paint;
|
inherited Paint;
|
||||||
if FPixmap <>nil
|
if FPixmap <>nil
|
||||||
then Canvas.Copyrect(Bounds(12, 70, Width, Height)
|
then Canvas.Copyrect(
|
||||||
|
Bounds(12, PlatformLabel.Top+PlatformLabel.Height+6, Width, Height)
|
||||||
,FPixmap.Canvas, Rect(0,0, Width, Height));
|
,FPixmap.Canvas, Rect(0,0, Width, Height));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
// Created by Svn2RevisionInc
|
// Created by Svn2RevisionInc
|
||||||
const RevisionStr = '';
|
const RevisionStr = '10177:10178M';
|
||||||
|
Loading…
Reference in New Issue
Block a user