Build Lazarus: Replace radiogroup with combobox. Change layout.

git-svn-id: trunk@28098 -
This commit is contained in:
juha 2010-11-05 15:47:00 +00:00
parent 1364a5441f
commit b10f4d426b
3 changed files with 372 additions and 382 deletions

View File

@ -1,16 +1,16 @@
object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
Left = 333
Height = 572
Height = 547
Top = 113
Width = 611
Width = 573
VertScrollBar.Visible = False
ActiveControl = DetailsPanel
BorderIcons = [biSystemMenu]
Caption = 'ConfigureBuildLazarusDlg'
ClientHeight = 572
ClientWidth = 611
Constraints.MinHeight = 400
Constraints.MinWidth = 305
ClientHeight = 547
ClientWidth = 573
Constraints.MinHeight = 500
Constraints.MinWidth = 462
OnCreate = FormCreate
OnDestroy = FormDestroy
OnShow = FormShow
@ -18,12 +18,12 @@ object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
LCLVersion = '0.9.29'
object DetailsPanel: TPanel
Left = 0
Height = 534
Height = 503
Top = 0
Width = 611
Width = 573
Align = alClient
ClientHeight = 534
ClientWidth = 611
ClientHeight = 503
ClientWidth = 573
TabOrder = 0
object BuildProfileLabel: TLabel
AnchorSideTop.Control = DetailsPanel
@ -36,329 +36,19 @@ object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
Caption = 'Build Profile'
ParentColor = False
end
object LCLInterfaceRadioGroup: TRadioGroup
AnchorSideLeft.Control = MakeModeListHeader
AnchorSideLeft.Side = asrBottom
object MakeModeListHeader: THeaderControl
AnchorSideLeft.Control = DetailsPanel
AnchorSideTop.Control = BuildProfileComboBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = MakeModeListBox
AnchorSideBottom.Side = asrBottom
Left = 398
Height = 199
Top = 38
Width = 212
Anchors = [akTop, akLeft, akRight, akBottom]
AutoFill = True
BorderSpacing.Left = 6
BorderSpacing.Top = 5
BorderSpacing.Right = 6
Caption = 'LCLInterfaceRadioGroup'
ChildSizing.LeftRightSpacing = 6
ChildSizing.TopBottomSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1
TabOrder = 3
end
object DetailSettingPanel: TPanel
Left = 1
Height = 290
Top = 243
Width = 609
Align = alBottom
BevelOuter = bvNone
ClientHeight = 290
ClientWidth = 609
TabOrder = 4
object OptionsLabel: TLabel
AnchorSideLeft.Control = TargetDirectoryLabel
AnchorSideTop.Control = UpdateRevisionIncCheckBox
AnchorSideTop.Side = asrBottom
Left = 5
Height = 16
Top = 122
Width = 49
Alignment = taRightJustify
BorderSpacing.Top = 11
Caption = 'Options'
Layout = tlBottom
ParentColor = False
end
object TargetOSLabel: TLabel
AnchorSideLeft.Control = TargetDirectoryLabel
AnchorSideTop.Control = TargetOSComboBox
AnchorSideTop.Side = asrCenter
Left = 5
Height = 16
Top = 33
Width = 63
Alignment = taRightJustify
Caption = 'Target OS'
ParentColor = False
end
object TargetDirectoryLabel: TLabel
AnchorSideLeft.Control = DetailSettingPanel
AnchorSideTop.Control = TargetDirectoryComboBox
AnchorSideTop.Side = asrCenter
Left = 5
Height = 16
Top = 4
Width = 102
Alignment = taRightJustify
BorderSpacing.Left = 5
Caption = 'Target Directory'
ParentColor = False
end
object TargetCPULabel: TLabel
AnchorSideLeft.Control = TargetDirectoryLabel
AnchorSideTop.Control = TargetCPUComboBox
AnchorSideTop.Side = asrCenter
Left = 5
Height = 16
Top = 62
Width = 69
Alignment = taRightJustify
Caption = 'Target CPU'
ParentColor = False
end
object TargetDirectoryComboBox: TComboBox
AnchorSideTop.Control = DetailSettingPanel
Left = 127
Height = 23
Top = 1
Width = 416
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 1
ItemHeight = 0
TabOrder = 0
end
object TargetDirectoryButton: TButton
AnchorSideLeft.Control = TargetDirectoryComboBox
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = TargetDirectoryComboBox
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = DetailSettingPanel
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = TargetDirectoryComboBox
AnchorSideBottom.Side = asrBottom
Left = 555
Height = 23
Top = 1
Width = 44
BorderSpacing.Left = 12
BorderSpacing.Right = 6
Caption = '...'
OnClick = TargetDirectoryButtonClick
TabOrder = 1
end
object TargetCPUComboBox: TComboBox
AnchorSideLeft.Control = TargetOSComboBox
AnchorSideTop.Control = TargetOSComboBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 127
Height = 23
Top = 59
Width = 248
BorderSpacing.Top = 6
BorderSpacing.Right = 6
ItemHeight = 0
TabOrder = 3
end
object RestartAfterBuildCheckBox: TCheckBox
AnchorSideLeft.Control = DetailSettingPanel
AnchorSideTop.Control = CommonsDividerBevel
AnchorSideTop.Side = asrBottom
Left = 7
Height = 23
Hint = 'Restart Lazarus automatically after building the IDE. Has no effect when building other parts'
Top = 241
Width = 190
BorderSpacing.Left = 7
BorderSpacing.Top = 4
BorderSpacing.Bottom = 6
Caption = 'RestartAfterBuildCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 9
end
object ConfirmBuildCheckBox: TCheckBox
AnchorSideLeft.Control = DetailSettingPanel
AnchorSideTop.Control = RestartAfterBuildCheckBox
Left = 220
Height = 23
Hint = 'Show confirmation dialog when building directly from Tools menu'
Top = 241
Width = 160
BorderSpacing.Left = 220
Caption = 'ConfirmBuildCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 10
end
object CleanAllCheckBox: TCheckBox
AnchorSideLeft.Control = DetailSettingPanel
AnchorSideTop.Control = UpdateRevisionIncCheckBox
AnchorSideRight.Side = asrBottom
Left = 220
Height = 23
Hint = 'Like "make clean" on cmd line'
Top = 88
Width = 133
BorderSpacing.Left = 220
BorderSpacing.Bottom = 6
Caption = 'CleanAllCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 5
end
object WithStaticPackagesCheckBox: TCheckBox
AnchorSideLeft.Control = CleanAllCheckBox
AnchorSideTop.Control = CleanAllCheckBox
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Side = asrBottom
Left = 220
Height = 23
Hint = 'Compile selected static packages into Lazarus binary'
Top = 117
Width = 207
BorderSpacing.Top = 6
Caption = 'WithStaticPackagesCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 6
end
object TargetOSComboBox: TComboBox
AnchorSideLeft.Control = TargetDirectoryComboBox
AnchorSideTop.Control = TargetDirectoryComboBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 127
Height = 23
Top = 30
Width = 248
BorderSpacing.Top = 6
BorderSpacing.Right = 6
ItemHeight = 0
TabOrder = 2
end
object UpdateRevisionIncCheckBox: TCheckBox
AnchorSideLeft.Control = DetailSettingPanel
AnchorSideTop.Control = TargetCPUComboBox
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Side = asrBottom
Left = 7
Height = 23
Hint = 'Increment revision? (ToDo: get a better hint)'
Top = 88
Width = 199
BorderSpacing.Left = 7
BorderSpacing.Top = 6
Caption = 'UpdateRevisionIncCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 4
end
object CommonsDividerBevel: TDividerBevel
AnchorSideLeft.Control = DetailSettingPanel
AnchorSideTop.Control = OptionsMemo
AnchorSideTop.Side = asrBottom
Left = 7
Height = 17
Top = 220
Width = 594
Caption = 'CommonsDividerBevel'
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 7
BorderSpacing.Top = 7
Font.Style = [fsBold]
ParentFont = False
end
object OptionsMemo: TMemo
AnchorSideLeft.Control = OptionsLabel
AnchorSideTop.Control = OptionsLabel
AnchorSideTop.Side = asrBottom
Left = 5
Height = 73
Hint = 'Options passed to compiler'
Top = 140
Width = 370
BorderSpacing.Top = 2
Lines.Strings = (
''
)
PopupMenu = OptionsPopupMenu
ParentShowHint = False
ScrollBars = ssAutoBoth
ShowHint = True
TabOrder = 7
end
object DefinesListBox: TCheckListBox
AnchorSideLeft.Control = DefinesLabel
AnchorSideTop.Control = DefinesLabel
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Control = OptionsMemo
AnchorSideBottom.Side = asrBottom
Left = 399
Height = 168
Hint = 'Defines without -d'
Top = 45
Width = 202
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Top = 2
ItemHeight = 0
ParentShowHint = False
PopupMenu = OptionsPopupMenu
ShowHint = True
TabOrder = 8
TopIndex = -1
end
object DefinesLabel: TLabel
AnchorSideTop.Control = TargetDirectoryComboBox
AnchorSideTop.Side = asrBottom
Left = 399
Height = 16
Top = 27
Width = 47
BorderSpacing.Top = 3
Caption = 'Defines'
ParentColor = False
end
object DefinesButton: TButton
AnchorSideTop.Control = RestartAfterBuildCheckBox
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = DefinesListBox
AnchorSideRight.Side = asrCenter
Left = 447
Height = 25
Hint = 'Edit list of defines which can be used by any profile'
Top = 240
Width = 106
Anchors = [akTop, akRight]
BorderSpacing.Top = 2
Caption = 'Edit Defines'
OnClick = DefinesButtonClick
ParentShowHint = False
ShowHint = True
TabOrder = 11
end
end
object MakeModeListHeader: THeaderControl
AnchorSideLeft.Control = DetailSettingPanel
AnchorSideTop.Control = LCLInterfaceRadioGroup
Left = 4
Left = 6
Height = 24
Top = 39
Width = 388
Top = 37
Width = 362
DragReorder = False
Sections = <>
OnSectionClick = MakeModeListHeaderSectionClick
BorderSpacing.Left = 3
BorderSpacing.Top = 1
BorderSpacing.Left = 5
BorderSpacing.Top = 6
OnResize = MakeModeListHeaderResize
end
object MakeModeListBox: TListBox
@ -366,12 +56,11 @@ object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = MakeModeListHeader
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = DetailSettingPanel
Left = 1
Height = 174
Top = 63
Width = 391
Anchors = [akTop, akLeft, akRight, akBottom]
Left = 4
Height = 187
Top = 61
Width = 364
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Bottom = 6
ItemHeight = 25
OnDrawItem = MakeModeListBoxDrawItem
@ -381,19 +70,17 @@ object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
ShowHint = True
Style = lbOwnerDrawFixed
TabOrder = 2
TopIndex = -1
end
object BuildProfileComboBox: TComboBox
AnchorSideLeft.Control = BuildProfileLabel
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = BuildProfileLabel
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = BuildProfileButton
Left = 86
Height = 25
Left = 120
Height = 21
Hint = 'Name of the active profile.'
Top = 8
Width = 489
Top = 10
Width = 407
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 6
BorderSpacing.Right = 6
@ -410,13 +97,12 @@ object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
AnchorSideRight.Control = DetailsPanel
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Side = asrBottom
Left = 581
Left = 533
Height = 25
Hint = 'Manage profiles'
Top = 8
Width = 23
Width = 33
Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Left = 6
BorderSpacing.Right = 6
Caption = '...'
@ -425,24 +111,329 @@ object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
ShowHint = True
TabOrder = 1
end
object OptionsLabel: TLabel
AnchorSideLeft.Control = LCLWidgetTypeLabel
AnchorSideTop.Control = OptionsMemo
Left = 6
Height = 16
Top = 285
Width = 49
Alignment = taRightJustify
BorderSpacing.Top = 4
Caption = 'Options'
Layout = tlBottom
ParentColor = False
end
object OptionsMemo: TMemo
AnchorSideLeft.Control = LCLWidgetTypeComboBox
AnchorSideTop.Control = LCLWidgetTypeComboBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = BuildProfileButton
AnchorSideRight.Side = asrBottom
Left = 133
Height = 56
Hint = 'Options passed to compiler'
Top = 281
Width = 433
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 6
Lines.Strings = (
''
)
PopupMenu = OptionsPopupMenu
ParentShowHint = False
ScrollBars = ssAutoBoth
ShowHint = True
TabOrder = 4
end
object DefinesLabel: TLabel
AnchorSideLeft.Control = MakeModeListHeader
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = MakeModeListHeader
AnchorSideTop.Side = asrCenter
Left = 375
Height = 16
Top = 41
Width = 47
BorderSpacing.Left = 7
Caption = 'Defines'
ParentColor = False
end
object DefinesListBox: TCheckListBox
AnchorSideLeft.Control = DefinesLabel
AnchorSideTop.Control = DefinesLabel
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = BuildProfileButton
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = MakeModeListBox
AnchorSideBottom.Side = asrBottom
Left = 375
Height = 189
Hint = 'Defines without -d'
Top = 59
Width = 191
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Top = 2
ItemHeight = 0
ParentShowHint = False
PopupMenu = OptionsPopupMenu
ShowHint = True
TabOrder = 5
end
object LCLWidgetTypeLabel: TLabel
AnchorSideLeft.Control = DetailsPanel
AnchorSideTop.Control = LCLWidgetTypeComboBox
AnchorSideTop.Side = asrCenter
Left = 6
Height = 16
Top = 256
Width = 102
BorderSpacing.Left = 5
Caption = 'LCL Widget Type'
ParentColor = False
end
object LCLWidgetTypeComboBox: TComboBox
AnchorSideLeft.Control = BuildProfileComboBox
AnchorSideTop.Control = MakeModeListBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 133
Height = 21
Top = 254
Width = 201
BorderSpacing.Left = 13
BorderSpacing.Top = 6
ItemHeight = 0
Style = csDropDownList
TabOrder = 6
end
object TargetDirectoryLabel: TLabel
AnchorSideLeft.Control = LCLWidgetTypeLabel
AnchorSideTop.Control = TargetDirectoryComboBox
AnchorSideTop.Side = asrCenter
Left = 6
Height = 16
Top = 345
Width = 102
Alignment = taRightJustify
Caption = 'Target Directory'
ParentColor = False
end
object TargetDirectoryComboBox: TComboBox
AnchorSideLeft.Control = OptionsMemo
AnchorSideTop.Control = OptionsMemo
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = TargetDirectoryButton
Left = 133
Height = 21
Top = 343
Width = 394
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 6
BorderSpacing.Right = 6
ItemHeight = 0
TabOrder = 7
end
object TargetOSLabel: TLabel
AnchorSideLeft.Control = TargetDirectoryLabel
AnchorSideTop.Control = TargetOSComboBox
AnchorSideTop.Side = asrCenter
Left = 6
Height = 16
Top = 372
Width = 63
Alignment = taRightJustify
Caption = 'Target OS'
ParentColor = False
end
object TargetCPULabel: TLabel
AnchorSideLeft.Control = TargetOSLabel
AnchorSideTop.Control = TargetCPUComboBox
AnchorSideTop.Side = asrCenter
Left = 6
Height = 16
Top = 399
Width = 69
Alignment = taRightJustify
Caption = 'Target CPU'
ParentColor = False
end
object UpdateRevisionIncCheckBox: TCheckBox
AnchorSideLeft.Control = WithStaticPackagesCheckBox
AnchorSideTop.Control = WithStaticPackagesCheckBox
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Side = asrBottom
Left = 375
Height = 20
Hint = 'Increment revision? (ToDo: get a better hint)'
Top = 422
Width = 198
BorderSpacing.Top = 6
Caption = 'UpdateRevisionIncCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 8
end
object CleanAllCheckBox: TCheckBox
AnchorSideLeft.Control = DefinesListBox
AnchorSideTop.Control = TargetOSComboBox
AnchorSideTop.Side = asrCenter
AnchorSideRight.Side = asrBottom
Left = 375
Height = 20
Hint = 'Like "make clean" on cmd line'
Top = 370
Width = 132
BorderSpacing.Bottom = 6
Caption = 'CleanAllCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 9
end
object TargetCPUComboBox: TComboBox
AnchorSideLeft.Control = TargetOSComboBox
AnchorSideTop.Control = TargetOSComboBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = TargetOSComboBox
AnchorSideRight.Side = asrBottom
Left = 133
Height = 21
Top = 397
Width = 201
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 6
ItemHeight = 0
TabOrder = 10
end
object WithStaticPackagesCheckBox: TCheckBox
AnchorSideLeft.Control = CleanAllCheckBox
AnchorSideTop.Control = CleanAllCheckBox
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Side = asrBottom
Left = 375
Height = 20
Hint = 'Compile selected static packages into Lazarus binary'
Top = 396
Width = 206
BorderSpacing.Top = 6
Caption = 'WithStaticPackagesCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 11
end
object CommonsDividerBevel: TDividerBevel
AnchorSideLeft.Control = DetailsPanel
AnchorSideTop.Control = TargetCPUComboBox
AnchorSideTop.Side = asrBottom
Left = 8
Height = 17
Top = 439
Width = 559
Caption = 'CommonsDividerBevel'
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 7
BorderSpacing.Top = 21
Font.Style = [fsBold]
ParentFont = False
end
object RestartAfterBuildCheckBox: TCheckBox
AnchorSideTop.Control = CommonsDividerBevel
AnchorSideTop.Side = asrBottom
Left = 8
Height = 20
Hint = 'Restart Lazarus automatically after building the IDE. Has no effect when building other parts'
Top = 460
Width = 189
BorderSpacing.Left = 7
BorderSpacing.Top = 4
BorderSpacing.Bottom = 6
Caption = 'RestartAfterBuildCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 12
end
object ConfirmBuildCheckBox: TCheckBox
AnchorSideTop.Control = RestartAfterBuildCheckBox
Left = 255
Height = 20
Hint = 'Show confirmation dialog when building directly from Tools menu'
Top = 460
Width = 159
BorderSpacing.Left = 220
Caption = 'ConfirmBuildCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 13
end
object DefinesButton: TButton
AnchorSideTop.Control = RestartAfterBuildCheckBox
AnchorSideTop.Side = asrCenter
AnchorSideRight.Side = asrCenter
Left = 707
Height = 25
Hint = 'Edit list of defines which can be used by any profile'
Top = 458
Width = 106
Anchors = [akTop, akRight]
BorderSpacing.Top = 2
Caption = 'Edit Defines'
OnClick = DefinesButtonClick
ParentShowHint = False
ShowHint = True
TabOrder = 14
end
object TargetDirectoryButton: TButton
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = TargetDirectoryComboBox
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = DetailsPanel
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = TargetDirectoryComboBox
AnchorSideBottom.Side = asrBottom
Left = 533
Height = 23
Top = 342
Width = 33
Anchors = [akTop, akRight]
BorderSpacing.Left = 6
BorderSpacing.Right = 6
Caption = '...'
OnClick = TargetDirectoryButtonClick
TabOrder = 15
end
object TargetOSComboBox: TComboBox
AnchorSideLeft.Control = TargetDirectoryComboBox
AnchorSideTop.Control = TargetDirectoryComboBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = LCLWidgetTypeComboBox
AnchorSideRight.Side = asrBottom
Left = 133
Height = 21
Top = 370
Width = 201
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 6
ItemHeight = 0
TabOrder = 16
end
end
object CBLDBtnPanel: TPanel
AnchorSideTop.Side = asrBottom
Left = 0
Height = 38
Top = 534
Width = 611
Height = 44
Top = 503
Width = 573
Align = alBottom
AutoSize = True
BevelOuter = bvNone
ClientHeight = 38
ClientWidth = 611
ClientHeight = 44
ClientWidth = 573
TabOrder = 1
object CancelButton: TBitBtn
Left = 531
Height = 26
Left = 490
Height = 32
Top = 6
Width = 74
Width = 77
Align = alRight
AutoSize = True
BorderSpacing.Around = 6
@ -454,10 +445,10 @@ object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
TabOrder = 4
end
object SaveSettingsButton: TBitBtn
Left = 423
Height = 26
Left = 389
Height = 32
Top = 6
Width = 102
Width = 95
Align = alRight
AutoSize = True
BorderSpacing.Around = 6
@ -467,10 +458,10 @@ object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
TabOrder = 3
end
object CompileButton: TBitBtn
Left = 214
Height = 26
Left = 178
Height = 32
Top = 6
Width = 66
Width = 75
Align = alRight
AutoSize = True
BorderSpacing.Around = 6
@ -481,9 +472,9 @@ object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
end
object HelpButton: TBitBtn
Left = 6
Height = 26
Height = 32
Top = 6
Width = 61
Width = 75
Align = alLeft
AutoSize = True
BorderSpacing.Around = 6
@ -494,10 +485,10 @@ object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
TabOrder = 0
end
object CompileAdvancedButton: TBitBtn
Left = 286
Height = 26
Left = 259
Height = 32
Top = 6
Width = 131
Width = 124
Align = alRight
AutoSize = True
BorderSpacing.Around = 6
@ -508,8 +499,8 @@ object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
end
end
object OptionsPopupMenu: TPopupMenu
left = 376
top = 424
left = 320
top = 592
object ShowOptsMenuItem: TMenuItem
Caption = 'Show options and defines for cmd line'
OnClick = ShowOptsMenuItemClick

View File

@ -72,38 +72,38 @@ type
{ TConfigureBuildLazarusDlg }
TConfigureBuildLazarusDlg = class(TForm)
CleanAllCheckBox: TCheckBox;
CommonsDividerBevel: TDividerBevel;
ConfirmBuildCheckBox: TCheckBox;
DefinesButton: TButton;
DefinesLabel: TLabel;
DefinesListBox: TCheckListBox;
CancelButton: TBitBtn;
CBLDBtnPanel: TPanel;
DefinesListBox: TCheckListBox;
CleanAllCheckBox: TCheckBox;
BuildProfileComboBox: TComboBox;
CompileButton: TBitBtn;
CompileAdvancedButton: TBitBtn;
ConfirmBuildCheckBox: TCheckBox;
DefinesLabel: TLabel;
ShowOptsMenuItem: TMenuItem;
LCLWidgetTypeLabel: TLabel;
LCLWidgetTypeComboBox: TComboBox;
OptionsLabel: TLabel;
OptionsMemo: TMemo;
RestartAfterBuildCheckBox: TCheckBox;
ShowOptsMenuItem: TMenuItem;
DetailsPanel: TPanel;
CommonsDividerBevel: TDividerBevel;
HelpButton: TBitBtn;
BuildProfileLabel: TLabel;
MakeModeListBox: TListBox;
MakeModeListHeader: THeaderControl;
LCLInterfaceRadioGroup: TRadioGroup;
OptionsLabel: TLabel;
DetailSettingPanel: TPanel;
OptionsPopupMenu: TPopupMenu;
RestartAfterBuildCheckBox: TCheckBox;
Panel2: TPanel;
SaveSettingsButton: TBitBtn;
TargetCPUComboBox: TComboBox;
BuildProfileButton: TButton;
TargetOSComboBox: TComboBox;
TargetCPUComboBox: TComboBox;
TargetCPULabel: TLabel;
TargetDirectoryButton: TButton;
TargetDirectoryComboBox: TComboBox;
TargetDirectoryLabel: TLabel;
TargetOSComboBox: TComboBox;
TargetOSLabel: TLabel;
UpdateRevisionIncCheckBox: TCheckBox;
WithStaticPackagesCheckBox: TCheckBox;
@ -759,10 +759,10 @@ begin
Text := lisLazBuildABOAction;
end;
// Show Build target names in radiogroup.
LCLInterfaceRadioGroup.Caption := lisLazBuildLCLInterface;
for LCLInterface := Low(TLCLPlatform) to High(TLCLPlatform) do
LCLInterfaceRadioGroup.Items.Add(LCLPlatformDisplayNames[LCLInterface]);
// Show Build target names in combobox.
LCLWidgetTypeLabel.Caption := lisLCLWidgetType;
for LCLInterface:=Low(TLCLPlatform) to High(TLCLPlatform) do
LCLWidgetTypeComboBox.Items.Add(LCLPlatformDisplayNames[LCLInterface]);
BuildProfileLabel.Caption:=lisLazBuildProfile;
OptionsLabel.Caption := lisLazBuildOptions;
@ -1009,7 +1009,7 @@ var
i: Integer;
begin
CleanAllCheckBox.Checked :=AProfile.CleanAll;
LCLInterfaceRadioGroup.ItemIndex :=ord(AProfile.TargetPlatform);
LCLWidgetTypeComboBox.ItemIndex :=ord(AProfile.TargetPlatform);
WithStaticPackagesCheckBox.Checked:=AProfile.WithStaticPackages;
UpdateRevisionIncCheckBox.Checked :=AProfile.UpdateRevisionInc;
TargetOSComboBox.Text :=AProfile.TargetOS;
@ -1025,7 +1025,7 @@ var
i: Integer;
begin
AProfile.CleanAll :=CleanAllCheckBox.Checked;
AProfile.TargetPlatform :=TLCLPlatform(LCLInterfaceRadioGroup.ItemIndex);
AProfile.TargetPlatform :=TLCLPlatform(LCLWidgetTypeComboBox.ItemIndex);
AProfile.WithStaticPackages:=WithStaticPackagesCheckBox.Checked;
AProfile.UpdateRevisionInc :=UpdateRevisionIncCheckBox.Checked;
AProfile.TargetOS :=TargetOSComboBox.Text;

View File

@ -2777,7 +2777,6 @@ resourcestring
lisLazBuildTargetOS = 'Target OS:';
lisLazBuildTargetCPU = 'Target CPU:';
lisLazBuildTargetDirectory = 'Target directory:';
lisLazBuildLCLInterface = 'Widgetset';
lisLazBuildBuildJITForm = 'Build JITForm';
lisLazBuildWithStaticPackages = 'With packages';
lisLazBuildRestartAfterBuild = 'Restart after building IDE';