Changeset 45 for trunk/Forms
- Timestamp:
- Jul 15, 2016, 12:38:46 AM (8 years ago)
- Location:
- trunk/Forms
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormAcronyms.lfm
r34 r45 8 8 ClientWidth = 740 9 9 OnShow = FormShow 10 LCLVersion = '1. 6.0.4'10 LCLVersion = '1.7' 11 11 object ListViewAcronyms: TListView 12 12 Left = 8 … … 21 21 end 22 22 item 23 Caption = ' Description'23 Caption = 'Meaning' 24 24 Width = 300 25 25 end -
trunk/Forms/UFormAcronyms.lrt
r27 r45 1 1 TFORMACRONYMS.CAPTION=Acronyms 2 2 TFORMACRONYMS.LISTVIEWACRONYMS.COLUMNS[0].CAPTION=Name 3 TFORMACRONYMS.LISTVIEWACRONYMS.COLUMNS[1].CAPTION= Description3 TFORMACRONYMS.LISTVIEWACRONYMS.COLUMNS[1].CAPTION=Meaning 4 4 TFORMACRONYMS.LISTVIEWACRONYMS.COLUMNS[2].CAPTION=Categories 5 5 TFORMACRONYMS.AADD.CAPTION=Add -
trunk/Forms/UFormAcronyms.pas
r34 r45 62 62 SRemoveAcronym = 'Remove acronym'; 63 63 SRemoveAcronymQuery = 'Do you want to remove selected acronym?'; 64 STotal = 'Total'; 65 SFiltered = 'Filtered'; 64 66 65 67 … … 248 250 ListViewSort1.Refresh; 249 251 UpdateInterface; 250 StatusBar1.Panels[0].Text := 'Total: ' + IntToStr(MeaningCount);251 StatusBar1.Panels[1].Text := 'Filtered: ' + IntToStr(ListViewAcronyms.Items.Count);252 StatusBar1.Panels[0].Text := STotal + ': ' + IntToStr(MeaningCount); 253 StatusBar1.Panels[1].Text := SFiltered + ': ' + IntToStr(ListViewAcronyms.Items.Count); 252 254 end; 253 255 -
trunk/Forms/UFormImportPattern.lfm
r28 r45 9 9 OnCreate = FormCreate 10 10 OnShow = FormShow 11 LCLVersion = '1. 6.0.4'11 LCLVersion = '1.7' 12 12 object Label8: TLabel 13 13 Left = 24 14 Height = 2 014 Height = 24 15 15 Top = 13 16 Width = 7516 Width = 101 17 17 Caption = 'Start string:' 18 18 ParentColor = False … … 20 20 object Label9: TLabel 21 21 Left = 24 22 Height = 2 022 Height = 24 23 23 Top = 53 24 Width = 6924 Width = 92 25 25 Caption = 'End string:' 26 26 ParentColor = False … … 28 28 object EditBlockEnd: TEdit 29 29 Left = 183 30 Height = 2830 Height = 34 31 31 Top = 48 32 32 Width = 461 … … 36 36 object EditBlockStart: TEdit 37 37 Left = 183 38 Height = 2838 Height = 34 39 39 Top = 8 40 40 Width = 461 … … 64 64 object Label10: TLabel 65 65 Left = 24 66 Height = 2 066 Height = 24 67 67 Top = 88 68 Width = 4668 Width = 60 69 69 Caption = 'Action:' 70 70 ParentColor = False … … 72 72 object Label11: TLabel 73 73 Left = 24 74 Height = 2 074 Height = 24 75 75 Top = 120 76 Width = 5876 Width = 74 77 77 Caption = 'Variable:' 78 78 ParentColor = False … … 80 80 object ComboBoxAction: TComboBox 81 81 Left = 183 82 Height = 2882 Height = 38 83 83 Top = 87 84 84 Width = 461 85 85 Anchors = [akTop, akLeft, akRight] 86 ItemHeight = 2086 ItemHeight = 0 87 87 Style = csDropDownList 88 88 TabOrder = 4 … … 90 90 object ComboBoxVariable: TComboBox 91 91 Left = 183 92 Height = 2892 Height = 38 93 93 Top = 120 94 94 Width = 461 95 95 Anchors = [akTop, akLeft, akRight] 96 ItemHeight = 2096 ItemHeight = 0 97 97 Items.Strings = ( 98 98 '' … … 103 103 object CheckBoxRepetition: TCheckBox 104 104 Left = 24 105 Height = 2 4105 Height = 28 106 106 Top = 160 107 Width = 93107 Width = 112 108 108 Caption = 'Repetition' 109 109 TabOrder = 6 -
trunk/Forms/UFormImportPattern.pas
r28 r45 45 45 procedure TFormImportPattern.FormShow(Sender: TObject); 46 46 begin 47 InitControls; 47 48 end; 48 49 … … 56 57 I: TImportPatternFlag; 57 58 J: TImportVariable; 59 Index: Integer; 58 60 begin 61 Index := ComboBoxAction.ItemIndex; 59 62 while ComboBoxAction.Items.Count > 0 do 60 63 ComboBoxAction.Items.Delete(ComboBoxAction.Items.Count - 1); … … 63 66 for I := Low(TImportPatternFlag) to High(TImportPatternFlag) do 64 67 ComboBoxAction.Items[Integer(I)] := ImportPatternFlagString[I]; 68 ComboBoxAction.ItemIndex := Index; 65 69 70 Index := ComboBoxVariable.ItemIndex; 66 71 ComboBoxVariable.Items.Clear; 67 72 while ComboBoxVariable.Items.Count > 0 do … … 71 76 for J := Low(TImportVariable) to High(TImportVariable) do 72 77 ComboBoxVariable.Items[Integer(J)] := ImportVariableString[J]; 78 ComboBoxVariable.ItemIndex := Index; 73 79 end; 74 80 -
trunk/Forms/UFormMain.lfm
r39 r45 5 5 Width = 631 6 6 Caption = 'Acronym Decoder' 7 ClientHeight = 4 217 ClientHeight = 414 8 8 ClientWidth = 631 9 9 Menu = MainMenu1 … … 13 13 OnDestroy = FormDestroy 14 14 OnShow = FormShow 15 LCLVersion = '1. 6.0.4'15 LCLVersion = '1.7' 16 16 object Panel1: TPanel 17 17 Left = 0 18 Height = 3 9518 Height = 388 19 19 Top = 26 20 20 Width = 631 21 21 Align = alClient 22 22 BevelOuter = bvNone 23 ClientHeight = 3 9523 ClientHeight = 388 24 24 ClientWidth = 631 25 25 TabOrder = 0 26 26 object CheckBoxExactMath: TCheckBox 27 27 Left = 8 28 Height = 2 428 Height = 28 29 29 Top = 3 30 Width = 1 0430 Width = 129 31 31 Caption = 'Exact match' 32 32 OnChange = CheckBoxExactMathChange … … 43 43 object ListViewAcronyms: TListView 44 44 Left = 8 45 Height = 3 2345 Height = 316 46 46 Top = 64 47 47 Width = 616 … … 1398 1398 object CoolTranslator1: TCoolTranslator 1399 1399 POFilesFolder = 'Languages' 1400 OnTranslate = CoolTranslator1Translate 1400 1401 left = 264 1401 1402 top = 176 -
trunk/Forms/UFormMain.pas
r41 r45 99 99 procedure AShowImportSourcesExecute(Sender: TObject); 100 100 procedure CheckBoxExactMathChange(Sender: TObject); 101 procedure CoolTranslator1Translate(Sender: TObject); 101 102 procedure EditSearchChange(Sender: TObject); 102 103 procedure FormShow(Sender: TObject); … … 345 346 end; 346 347 348 procedure TFormMain.CoolTranslator1Translate(Sender: TObject); 349 begin 350 UAcronym.Translate; 351 end; 352 347 353 procedure TFormMain.FormDestroy(Sender: TObject); 348 354 begin
Note:
See TracChangeset
for help on using the changeset viewer.