Changeset 167 for branches/generator/Forms
- Timestamp:
- Aug 9, 2018, 3:43:27 PM (6 years ago)
- Location:
- branches/generator/Forms
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/generator/Forms
- Property svn:ignore
-
old new 1 1 *.lrj 2 *.lrt
-
- Property svn:ignore
-
branches/generator/Forms/UFormGrammer.lfm
r136 r167 7 7 ClientHeight = 346 8 8 ClientWidth = 548 9 DesignTimePPI = 120 10 OnClose = FormClose 9 11 OnShow = FormShow 10 LCLVersion = '1.8. 0.4'12 LCLVersion = '1.8.2.0' 11 13 object Label1: TLabel 12 14 Left = 15 13 Height = 2 315 Height = 20 14 16 Top = 22 15 Width = 7517 Width = 63 16 18 Caption = 'Start rule:' 17 19 ParentColor = False … … 19 21 object ComboBoxStartRule: TComboBox 20 22 Left = 168 21 Height = 3723 Height = 28 22 24 Top = 22 23 25 Width = 272 24 ItemHeight = 026 ItemHeight = 20 25 27 Style = csDropDownList 26 28 TabOrder = 0 … … 48 50 object Label2: TLabel 49 51 Left = 16 50 Height = 2 352 Height = 20 51 53 Top = 80 52 Width = 1 3054 Width = 113 53 55 Caption = 'White space rule:' 54 56 ParentColor = False … … 56 58 object ComboBoxWhiteSpaceRule: TComboBox 57 59 Left = 168 58 Height = 3760 Height = 28 59 61 Top = 72 60 62 Width = 272 61 ItemHeight = 063 ItemHeight = 20 62 64 Style = csDropDownList 63 65 TabOrder = 3 -
branches/generator/Forms/UFormGrammer.pas
r136 r167 20 20 Label1: TLabel; 21 21 Label2: TLabel; 22 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); 22 23 procedure FormShow(Sender: TObject); 23 24 private … … 36 37 {$R *.lfm} 37 38 39 uses 40 UCore; 41 38 42 { TFormGrammer } 39 43 40 44 procedure TFormGrammer.FormShow(Sender: TObject); 41 45 begin 46 Core.PersistentForm1.Load(Self); 47 end; 48 49 procedure TFormGrammer.FormClose(Sender: TObject; var CloseAction: TCloseAction 50 ); 51 begin 52 Core.PersistentForm1.Save(Self); 42 53 end; 43 54 -
branches/generator/Forms/UFormLookupTable.lfm
r137 r167 7 7 ClientHeight = 273 8 8 ClientWidth = 595 9 LCLVersion = '1.8.0.4' 9 DesignTimePPI = 120 10 OnClose = FormClose 11 OnShow = FormShow 12 LCLVersion = '1.8.2.0' 10 13 object Label1: TLabel 11 14 Left = 15 12 Height = 2 315 Height = 20 13 16 Top = 17 14 Width = 4 917 Width = 43 15 18 Caption = 'Name:' 16 19 ParentColor = False … … 18 21 object EditName: TEdit 19 22 Left = 120 20 Height = 3323 Height = 28 21 24 Top = 8 22 25 Width = 160 -
branches/generator/Forms/UFormLookupTable.pas
r137 r167 18 18 EditName: TEdit; 19 19 Label1: TLabel; 20 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); 21 procedure FormShow(Sender: TObject); 20 22 private 21 23 … … 32 34 {$R *.lfm} 33 35 36 uses 37 UCore; 38 34 39 { TFormLookupTable } 40 41 procedure TFormLookupTable.FormClose(Sender: TObject; 42 var CloseAction: TCloseAction); 43 begin 44 Core.PersistentForm1.Save(Self); 45 end; 46 47 procedure TFormLookupTable.FormShow(Sender: TObject); 48 begin 49 Core.PersistentForm1.Load(Self); 50 end; 35 51 36 52 procedure TFormLookupTable.LoadData(LookupTable: TLookupTable); -
branches/generator/Forms/UFormMain.lfm
r137 r167 5 5 Width = 1050 6 6 Caption = 'Language generator' 7 ClientHeight = 6 477 ClientHeight = 653 8 8 ClientWidth = 1050 9 DesignTimePPI = 120 9 10 Menu = MainMenu1 10 11 OnClose = FormClose 11 12 OnCloseQuery = FormCloseQuery 12 13 OnShow = FormShow 13 LCLVersion = '1.8.0.4' 14 LCLVersion = '1.8.2.0' 15 WindowState = wsMaximized 14 16 object CoolBar1: TCoolBar 15 17 Left = 0 … … 83 85 object PageControl1: TPageControl 84 86 Left = 0 85 Height = 61 287 Height = 618 86 88 Top = 35 87 89 Width = 1050 … … 110 112 object TabSheetEbnf: TTabSheet 111 113 Caption = 'EBNF' 112 ClientHeight = 5 71113 ClientWidth = 104 4114 ClientHeight = 585 115 ClientWidth = 1042 114 116 object MemoEbnf: TMemo 115 117 Left = 0 116 Height = 5 71117 Top = 0 118 Width = 104 4118 Height = 585 119 Top = 0 120 Width = 1042 119 121 Align = alClient 120 122 ReadOnly = True -
branches/generator/Forms/UFormMain.pas
r162 r167 152 152 procedure TFormMain.FormShow(Sender: TObject); 153 153 begin 154 Core.PersistentForm1.Load(Self, True);155 154 Core.Initialize; 155 Core.PersistentForm1.Load(Self); 156 156 PageControl1.TabIndex := 0; 157 157 ReloadMemo; -
branches/generator/Forms/UFormRule.lfm
r131 r167 8 8 ClientHeight = 514 9 9 ClientWidth = 663 10 DesignTimePPI = 120 11 OnClose = FormClose 10 12 OnCreate = FormCreate 11 13 OnDestroy = FormDestroy 12 14 OnShow = FormShow 13 LCLVersion = '1.8. 0.4'15 LCLVersion = '1.8.2.0' 14 16 object ButtonOk: TButton 15 17 Left = 376 … … 34 36 object Label1: TLabel 35 37 Left = 16 36 Height = 2 338 Height = 20 37 39 Top = 16 38 Width = 4 940 Width = 43 39 41 Caption = 'Name:' 40 42 ParentColor = False … … 81 83 object EditName: TEdit 82 84 Left = 135 83 Height = 3385 Height = 28 84 86 Top = 11 85 87 Width = 433 … … 88 90 object CheckBoxCreateNode: TCheckBox 89 91 Left = 16 90 Height = 2 792 Height = 24 91 93 Top = 48 92 Width = 1 7394 Width = 152 93 95 Caption = 'Create source node' 94 96 TabOrder = 4 … … 96 98 object Label2: TLabel 97 99 Left = 312 98 Height = 2 3100 Height = 20 99 101 Top = 52 100 Width = 42102 Width = 37 101 103 Caption = 'Level:' 102 104 ParentColor = False … … 104 106 object ComboBoxLevel: TComboBox 105 107 Left = 376 106 Height = 37108 Height = 28 107 109 Top = 48 108 110 Width = 125 109 ItemHeight = 0111 ItemHeight = 20 110 112 Style = csDropDownList 111 113 TabOrder = 5 -
branches/generator/Forms/UFormRule.pas
r129 r167 26 26 TabSheet2: TTabSheet; 27 27 TabSheetUsedBy: TTabSheet; 28 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); 28 29 procedure FormCreate(Sender: TObject); 29 30 procedure FormDestroy(Sender: TObject); … … 48 49 {$R *.lfm} 49 50 51 uses 52 UCore; 53 50 54 { TFormRule } 51 55 … … 54 58 EditName.SetFocus; 55 59 PageControl1.TabIndex := 0; // Select first tab by default 60 Core.PersistentForm1.Load(Self); 56 61 end; 57 62 … … 85 90 end; 86 91 92 procedure TFormRule.FormClose(Sender: TObject; var CloseAction: TCloseAction); 93 begin 94 Core.PersistentForm1.Save(Self); 95 end; 96 87 97 procedure TFormRule.FormDestroy(Sender: TObject); 88 98 begin -
branches/generator/Forms/UFormRuleItem.lfm
r137 r167 1 1 object FormRuleItem: TFormRuleItem 2 2 Left = 474 3 Height = 4003 Height = 517 4 4 Top = 386 5 Width = 6565 Width = 719 6 6 Caption = 'Rule item' 7 ClientHeight = 400 8 ClientWidth = 656 7 ClientHeight = 517 8 ClientWidth = 719 9 DesignTimePPI = 120 9 10 OnClose = FormClose 10 11 OnCreate = FormCreate 11 12 OnDestroy = FormDestroy 12 13 OnShow = FormShow 13 LCLVersion = '1.8. 0.4'14 LCLVersion = '1.8.2.0' 14 15 object ButtonCancel: TButton 15 16 Left = 176 16 17 Height = 25 17 Top = 36218 Top = 479 18 19 Width = 75 19 20 Anchors = [akLeft, akBottom] … … 25 26 Left = 352 26 27 Height = 25 27 Top = 36228 Top = 479 28 29 Width = 75 29 30 Anchors = [akLeft, akBottom] … … 34 35 object ComboBoxType: TComboBox 35 36 Left = 160 36 Height = 3337 Height = 28 37 38 Top = 16 38 39 Width = 400 39 ItemHeight = 040 ItemHeight = 20 40 41 Items.Strings = ( 41 42 'Terminal' … … 50 51 object Label2: TLabel 51 52 Left = 16 52 Height = 2 353 Height = 20 53 54 Top = 24 54 Width = 4055 Width = 35 55 56 Caption = 'Type:' 56 57 ParentColor = False … … 58 59 object PageControl1: TPageControl 59 60 Left = 16 60 Height = 26661 Height = 383 61 62 Top = 88 62 Width = 6 3263 Width = 695 63 64 ActivePage = TabSheetNonTerminal 64 65 Anchors = [akTop, akLeft, akRight, akBottom] … … 89 90 object TabSheetNonTerminal: TTabSheet 90 91 Caption = 'NonTerminal' 91 ClientHeight = 26092 ClientWidth = 6 2692 ClientHeight = 375 93 ClientWidth = 687 93 94 object LabelNonTerminal: TLabel 94 95 Left = 8 95 Height = 2 396 Height = 20 96 97 Top = 8 97 Width = 10598 Width = 92 98 99 Caption = 'Non-terminal:' 99 100 ParentColor = False … … 101 102 object ListBoxNonTerminals: TListBox 102 103 Left = 8 103 Height = 210104 Height = 325 104 105 Top = 40 105 Width = 3 04106 Anchors = [akTop, akLeft, ak Right, akBottom]106 Width = 328 107 Anchors = [akTop, akLeft, akBottom] 107 108 ItemHeight = 0 108 109 ScrollWidth = 302 109 110 TabOrder = 0 110 TopIndex = -1111 111 end 112 112 object CheckBoxLookupTable: TCheckBox 113 113 Left = 352 114 Height = 2 7114 Height = 24 115 115 Top = 8 116 Width = 1 52116 Width = 136 117 117 Caption = 'Use lookup table' 118 118 OnChange = CheckBoxLookupTableChange … … 121 121 object ListBoxLookupTable: TListBox 122 122 Left = 352 123 Height = 176123 Height = 291 124 124 Top = 40 125 Width = 248125 Width = 309 126 126 Anchors = [akTop, akLeft, akRight, akBottom] 127 127 ItemHeight = 0 128 128 ScrollWidth = 246 129 129 TabOrder = 2 130 TopIndex = -1131 130 end 132 131 object Label1: TLabel 133 132 Left = 352 134 Height = 23 135 Top = 224 136 Width = 90 133 Height = 20 134 Top = 341 135 Width = 78 136 Anchors = [akLeft, akBottom] 137 137 Caption = 'Item action:' 138 138 ParentColor = False … … 140 140 object ComboBoxLookupTableAction: TComboBox 141 141 Left = 464 142 Height = 35143 Top = 224142 Height = 28 143 Top = 341 144 144 Width = 134 145 ItemHeight = 0 145 Anchors = [akLeft, akBottom] 146 ItemHeight = 20 146 147 ItemIndex = 0 147 148 Items.Strings = ( … … 197 198 object CheckBoxOptional: TCheckBox 198 199 Left = 16 199 Height = 2 7200 Top = 56 201 Width = 90200 Height = 24 201 Top = 56 202 Width = 82 202 203 Caption = 'Optional' 203 204 TabOrder = 4 … … 205 206 object CheckBoxRepetitive: TCheckBox 206 207 Left = 184 207 Height = 2 7208 Top = 56 209 Width = 9 9208 Height = 24 209 Top = 56 210 Width = 91 210 211 Caption = 'Repetitive' 211 212 TabOrder = 5 … … 213 214 object CheckBoxAnyExcept: TCheckBox 214 215 Left = 344 215 Height = 2 7216 Top = 56 217 Width = 106216 Height = 24 217 Top = 56 218 Width = 97 218 219 Caption = 'Any except' 219 220 TabOrder = 6 … … 221 222 object CheckBoxEscapedString: TCheckBox 222 223 Left = 488 223 Height = 2 7224 Top = 56 225 Width = 1 44224 Height = 24 225 Top = 56 226 Width = 126 226 227 Caption = 'Escaped strings' 227 228 TabOrder = 7
Note:
See TracChangeset
for help on using the changeset viewer.