Changeset 176
- Timestamp:
- Mar 13, 2018, 10:24:27 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r175 r176 538 538 Action = AManageAcronym 539 539 end 540 object MenuItemShowItemsWithoutFilter: TMenuItem 541 Caption = 'Show items without filter' 542 OnClick = MenuItemShowItemsWithoutFilterClick 543 end 540 544 end 541 545 end -
trunk/Forms/UFormMain.pas
r174 r176 48 48 MainMenu1: TMainMenu; 49 49 MenuItem1: TMenuItem; 50 MenuItemShowItemsWithoutFilter: TMenuItem; 50 51 MenuItemStatusBar: TMenuItem; 51 52 MenuItemParam: TMenuItem; … … 135 136 procedure ListViewSort1Filter(ListViewSort: TListViewSort); 136 137 procedure MenuItemParamClick(Sender: TObject); 138 procedure MenuItemShowItemsWithoutFilterClick(Sender: TObject); 137 139 procedure MenuItemStatusBarClick(Sender: TObject); 138 140 procedure MenuItemToolbarClick(Sender: TObject); … … 553 555 end; 554 556 557 procedure TFormMain.MenuItemShowItemsWithoutFilterClick(Sender: TObject); 558 begin 559 MenuItemShowItemsWithoutFilter.Checked := 560 not MenuItemShowItemsWithoutFilter.Checked; 561 UpdateAcronymsList; 562 UpdateInterface; 563 end; 564 555 565 procedure TFormMain.MenuItemStatusBarClick(Sender: TObject); 556 566 begin … … 620 630 with TAcronymMeaning(List.Items[I]) do begin 621 631 with ListViewFilter1 do 622 if Visible and (EnteredCount > 0) then begin 632 if Visible and ((EnteredCount > 0) or ((EnteredCount = 0) and 633 (MenuItemShowItemsWithoutFilter.Checked))) then begin 623 634 FoundCount := 0; 624 635 if TextEnteredColumn(0) and (FilterCell(StringGrid.Cells[0, 0], … … 726 737 MenuItemStatusBar.Checked := ReadBoolWithDefault('StatuslBarVisible', True); 727 738 MenuItemParam.Checked := ReadBoolWithDefault('FilterParamVisible', True); 739 MenuItemShowItemsWithoutFilter.Checked := 740 ReadBoolWithDefault('ShowItemsWithoutFilter', False); 728 741 finally 729 742 Free; … … 755 768 WriteBool('StatusBarVisible', MenuItemStatusBar.Checked); 756 769 WriteBool('FilterParamVisible', MenuItemParam.Checked); 770 WriteBool('ShowItemsWithoutFilter', MenuItemShowItemsWithoutFilter.Checked); 757 771 finally 758 772 Free; -
trunk/Languages/AcronymDecoder.cs.po
r175 r176 641 641 msgstr "Parametry filtru" 642 642 643 #: tformmain.menuitemshowitemswithoutfilter.caption 644 msgid "Show items without filter" 645 msgstr "Ukázat položky bez filtru" 646 643 647 #: tformmain.menuitemstatusbar.caption 644 648 msgid "Status bar" … … 922 926 msgid "Process import sources" 923 927 msgstr "Zpracovat zdroje importu" 924 -
trunk/Languages/AcronymDecoder.po
r174 r176 631 631 msgstr "" 632 632 633 #: tformmain.menuitemshowitemswithoutfilter.caption 634 msgid "Show items without filter" 635 msgstr "" 636 633 637 #: tformmain.menuitemstatusbar.caption 634 638 msgid "Status bar" -
trunk/UCore.lfm
r175 r176 3444 3444 AppName = 'Acronym Decoder' 3445 3445 Description = 'Simple tool for quick searching of meaning for various acronyms and abbreviations.' 3446 ReleaseDate = 431 573446 ReleaseDate = 43174 3447 3447 RegistryKey = '\Software\' 3448 3448 RegistryRoot = rrKeyCurrentUser
Note:
See TracChangeset
for help on using the changeset viewer.