Changeset 362 for trunk/Packages
- Timestamp:
- Dec 31, 2024, 1:15:01 PM (3 weeks ago)
- Location:
- trunk/Packages/Common
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/Forms/FormKeyShortcuts.lfm
r332 r362 1 1 object FormKeyShortcuts: TFormKeyShortcuts 2 2 Left = 839 3 Height = 3293 Height = 274 4 4 Top = 609 5 Width = 7045 Width = 587 6 6 Caption = 'Key shortcuts' 7 ClientHeight = 3298 ClientWidth = 7049 DesignTimePPI = 1 447 ClientHeight = 274 8 ClientWidth = 587 9 DesignTimePPI = 120 10 10 OnCreate = FormCreate 11 11 OnDestroy = FormDestroy 12 12 OnShow = FormShow 13 LCLVersion = '3. 4.0.0'13 LCLVersion = '3.6.0.0' 14 14 object ListView1: TListView 15 Left = 5 16 Height = 319 17 Top = 5 18 Width = 694 19 Align = alClient 20 BorderSpacing.Around = 5 15 Left = 8 16 Height = 212 17 Top = 8 18 Width = 571 19 Align = alTop 20 Anchors = [akTop, akLeft, akRight, akBottom] 21 BorderSpacing.Around = 8 21 22 Columns = < 22 23 item 23 24 Caption = 'Action' 24 Width = 2 4025 Width = 200 25 26 end 26 27 item 27 28 Caption = 'Window' 28 Width = 2 4029 Width = 200 29 30 end 30 31 item 31 32 Caption = 'Shortcut' 32 Width = 1 9933 Width = 166 33 34 end> 34 35 OwnerData = True … … 42 43 OnKeyPress = ListView1KeyPress 43 44 end 45 object ButtonClose: TButton 46 Left = 485 47 Height = 31 48 Top = 232 49 Width = 94 50 Anchors = [akRight, akBottom] 51 Caption = 'Close' 52 ModalResult = 11 53 TabOrder = 1 54 OnClick = ButtonCloseClick 55 end 44 56 object PopupMenu1: TPopupMenu 45 Left = 40846 Top = 1 4457 Left = 340 58 Top = 120 47 59 object MenuItem1: TMenuItem 48 60 Caption = 'Execute' … … 55 67 Column = 0 56 68 Order = soNone 57 Left = 20058 Top = 1 6069 Left = 184 70 Top = 120 59 71 end 60 72 end -
trunk/Packages/Common/Forms/FormKeyShortcuts.lrj
r332 r362 4 4 {"hash":98585447,"name":"tformkeyshortcuts.listview1.columns[1].caption","sourcebytes":[87,105,110,100,111,119],"value":"Window"}, 5 5 {"hash":258584404,"name":"tformkeyshortcuts.listview1.columns[2].caption","sourcebytes":[83,104,111,114,116,99,117,116],"value":"Shortcut"}, 6 {"hash":4863637,"name":"tformkeyshortcuts.buttonclose.caption","sourcebytes":[67,108,111,115,101],"value":"Close"}, 6 7 {"hash":216771813,"name":"tformkeyshortcuts.menuitem1.caption","sourcebytes":[69,120,101,99,117,116,101],"value":"Execute"} 7 8 ]} -
trunk/Packages/Common/Forms/FormKeyShortcuts.pas
r332 r362 13 13 14 14 TFormKeyShortcuts = class(TFormEx) 15 ButtonClose: TButton; 15 16 ListView1: TListView; 16 17 ListViewSort1: TListViewSort; 17 18 MenuItem1: TMenuItem; 18 19 PopupMenu1: TPopupMenu; 20 procedure ButtonCloseClick(Sender: TObject); 19 21 procedure FormCreate(Sender: TObject); 20 22 procedure FormDestroy(Sender: TObject); … … 25 27 procedure MenuItem1Click(Sender: TObject); 26 28 private 27 function GetImage List: TCustomImageList;28 procedure SetImage List(AValue: TCustomImageList);29 function GetImages: TCustomImageList; 30 procedure SetImages(AValue: TCustomImageList); 29 31 public 30 32 SourceComponents: TObjectList<TComponent>; 31 33 MainForm: TForm; 32 34 procedure LoadFromComponent(C: TComponent); 33 property Image List: TCustomImageList read GetImageList write SetImageList;35 property Images: TCustomImageList read GetImages write SetImages; 34 36 end; 35 37 … … 49 51 SShortcut = 'Shortcut'; 50 52 SKeyShortcuts = 'Key shortcuts'; 53 SClose = 'Close'; 51 54 52 55 { TFormKeyShortcuts } … … 105 108 end; 106 109 110 procedure TFormKeyShortcuts.ButtonCloseClick(Sender: TObject); 111 begin 112 Close; 113 end; 114 107 115 procedure TFormKeyShortcuts.FormDestroy(Sender: TObject); 108 116 begin … … 116 124 end; 117 125 118 function TFormKeyShortcuts.GetImage List: TCustomImageList;126 function TFormKeyShortcuts.GetImages: TCustomImageList; 119 127 begin 120 128 Result := ListView1.SmallImages; 121 129 end; 122 130 123 procedure TFormKeyShortcuts.SetImage List(AValue: TCustomImageList);131 procedure TFormKeyShortcuts.SetImages(AValue: TCustomImageList); 124 132 begin 125 133 ListView1.SmallImages := AValue; -
trunk/Packages/Common/Languages/FormKeyShortcuts.cs.po
r355 r362 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "X-Generator: Poedit 3. 4.2\n"12 "X-Generator: Poedit 3.5\n" 13 13 14 14 #: formkeyshortcuts.saction 15 15 msgid "Action" 16 16 msgstr "Akce" 17 18 #: formkeyshortcuts.sclose 19 msgid "Close" 20 msgstr "Zavřít" 17 21 18 22 #: formkeyshortcuts.sexecute … … 40 44 msgid "Window" 41 45 msgstr "Okno" 42 -
trunk/Packages/Common/Languages/FormKeyShortcuts.pot
r332 r362 4 4 #: formkeyshortcuts.saction 5 5 msgid "Action" 6 msgstr "" 7 8 #: formkeyshortcuts.sclose 9 msgid "Close" 6 10 msgstr "" 7 11
Note:
See TracChangeset
for help on using the changeset viewer.