Changeset 234 for trunk/Forms
- Timestamp:
- Jan 25, 2025, 10:36:28 PM (4 weeks ago)
- Location:
- trunk/Forms
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormAcronyms.pas
r230 r234 150 150 TempEntry: TAcronymEntry; 151 151 Meaning: TAcronymMeaning; 152 I: Integer;153 152 FormAcronym: TFormAcronym; 154 153 begin … … 182 181 TempCategories: TStringList; 183 182 Meaning: TAcronymMeaning; 184 I: Integer;185 183 FormAcronym: TFormAcronym; 186 184 begin -
trunk/Forms/FormCategories.lfm
r230 r234 70 70 Action = ARemove 71 71 end 72 object ToolButton4: TToolButton 73 Left = 106 74 Top = 2 75 Action = AEnable 76 end 77 object ToolButton5: TToolButton 78 Left = 141 79 Top = 2 80 Action = ADisable 81 end 72 82 end 73 83 object ActionList1: TActionList … … 100 110 object AEnable: TAction 101 111 Caption = 'Enable' 112 ImageIndex = 24 102 113 OnExecute = AEnableExecute 103 114 end 104 115 object ADisable: TAction 105 116 Caption = 'Disable' 117 ImageIndex = 23 106 118 OnExecute = ADisableExecute 107 119 end -
trunk/Forms/FormCategories.pas
r231 r234 33 33 ToolButton2: TToolButton; 34 34 ToolButton3: TToolButton; 35 ToolButton4: TToolButton; 36 ToolButton5: TToolButton; 35 37 procedure AAddExecute(Sender: TObject); 36 38 procedure ADisableExecute(Sender: TObject); … … 178 180 for I := 0 to ToolBar1.ButtonCount - 1 do 179 181 ToolBar1.Buttons[I].Hint := ToolBar1.Buttons[I].Caption; 182 {$IFDEF LCLQt5} 183 ListViewCategories.Checkboxes := False; 184 ListViewCategories.StateImages := ActionList1.Images; 185 {$ENDIF} 180 186 end; 181 187 … … 189 195 Item.SubItems.Add(IntToStr(GetImportSourcesCount)); 190 196 Item.Checked := Enabled; 197 if Enabled then Item.StateIndex := 24 else 198 Item.StateIndex := 23; 191 199 end; 192 200 end; -
trunk/Forms/FormImportSources.lfm
r230 r234 49 49 Action = APreview 50 50 end 51 object ToolButton6: TToolButton 52 Left = 176 53 Top = 2 54 Action = AEnable 55 end 56 object ToolButton7: TToolButton 57 Left = 211 58 Top = 2 59 Action = ADisable 60 end 51 61 end 52 62 object ListView1: TListView … … 139 149 object AEnable: TAction 140 150 Caption = 'Enable' 151 ImageIndex = 24 141 152 OnExecute = AEnableExecute 142 153 end 143 154 object ADisable: TAction 144 155 Caption = 'Disable' 156 ImageIndex = 23 145 157 OnExecute = ADisableExecute 146 158 end -
trunk/Forms/FormImportSources.pas
r230 r234 40 40 ToolButton4: TToolButton; 41 41 ToolButton5: TToolButton; 42 ToolButton6: TToolButton; 43 ToolButton7: TToolButton; 42 44 procedure AAddExecute(Sender: TObject); 43 45 procedure ADisableExecute(Sender: TObject); … … 106 108 Item.SubItems.Add(Format.Name); 107 109 Item.Checked := Enabled; 110 if Enabled then Item.StateIndex := 24 else 111 Item.StateIndex := 23; 108 112 end; 109 113 end; … … 386 390 for I := 0 to ToolBar1.ButtonCount - 1 do 387 391 ToolBar1.Buttons[I].Hint := ToolBar1.Buttons[I].Caption; 392 {$IFDEF LCLQt5} 393 ListView1.Checkboxes := False; 394 ListView1.StateImages := ActionList1.Images; 395 {$ENDIF} 388 396 end; 389 397
Note:
See TracChangeset
for help on using the changeset viewer.