Permalink
Browse files

Issue #448: Use better fitting icons for some buttons: "clear edit bo…

…x", "close query tab", "close filter panel"
  • Loading branch information...
ansgarbecker committed Jan 27, 2019
1 parent da3ad90 commit 2c254a0fe8e13a9e402409eefd30a0e99fb73500
Showing with 112 additions and 27 deletions.
  1. +1 −1 source/column_selection.dfm
  2. +109 −24 source/main.dfm
  3. +1 −1 source/main.pas
  4. +1 −1 source/sqlhelp.dfm
@@ -82,7 +82,7 @@ object ColumnSelectionForm: TColumnSelectionForm
Images = MainForm.VirtualImageListMain
LeftButton.ImageIndex = 146
LeftButton.Visible = True
RightButton.ImageIndex = 26
RightButton.ImageIndex = 193
TabOrder = 5
TextHint = 'Filter'
OnChange = PopulateList
@@ -291,7 +291,7 @@ object MainForm: TMainForm
Images = VirtualImageListMain
LeftButton.ImageIndex = 191
LeftButton.Visible = True
RightButton.ImageIndex = 26
RightButton.ImageIndex = 193
TabOrder = 0
TextHint = 'Database filter'
OnChange = editDatabaseTableFilterChange
@@ -309,7 +309,7 @@ object MainForm: TMainForm
Images = VirtualImageListMain
LeftButton.ImageIndex = 192
LeftButton.Visible = True
RightButton.ImageIndex = 26
RightButton.ImageIndex = 193
TabOrder = 1
TextHint = 'Table filter'
OnChange = editDatabaseTableFilterChange
@@ -372,7 +372,7 @@ object MainForm: TMainForm
Height = 21
Images = VirtualImageListMain
RightButton.Hint = 'Clear filter'
RightButton.ImageIndex = 26
RightButton.ImageIndex = 193
RightButton.Visible = True
TabOrder = 0
TextHint = 'Regular expression'
end>
end
item
Name = 'icons8-close-button-other'
Name = 'icons8-close-button-small-centered'
SourceImages = <
item
Image.Data = {
89504E470D0A1A0A0000000D49484452000000440000004408030000000FCD63
8000000036504C5445FFFFFF000000F5443AF04638F03C3CF44732F44236F343
35F44336EF3F2FF34236F34336F34236F34334F34235EE4433F54238F4433684
7803470000001174524E5300001A121018D9CDD910CBCFCFD1D10E1AD05032DD
000000097048597300000EC400000EC401952B0E1B000001B0494441545885AD
D8DD7284200C05E0D555D4B5ED2EEFFFB20501F93B09C9B4B972BCF846423833
F278FC4B4DA1E6E7A4AC658D0F37329B4DA92CDBBED6C86CACD529CB66ED3E97
8837748A379212906068946044E5429221579211148F6443AA64C35A337BA434
9CB2E80CAF38E478599D521BEEE3FD72944A6784C6AA94DE885BAC508091864D
AC20E31EFB631329D0C80750A46023231285300A64AC5046898C14D2A8105EA1
8D1AE114C668105AE18C16A114D6E810ACF0468F20656000A4574606425AE5FC
1A18106915D8EA21C228F06062A46D256F5008A11031432150A1A28A44804286
268D4CCB591BDF64F072483D1FF63CF408580EA5E81A4B28CA2DC68A76D8A082
11CA201488D0065610D2183FE74801489B415D28754A8F7446F7EAD52A1D028C
A1D222D018290D421803A5464883572A843158A5445883530A6460304A468606
ADDC88C0209584880C4A8988D0E8957746C406562E446140C5232A03290E511A
D3F46C1587ACBBCE6815F3F1CB291589512BE6131A9B1599512ACE885B9C14A9
91156FA4610B8ADC488A297EF383A2318262AA0B07AFE80CAF44A38882556938
251AD39FEF81AEFA0534FD70EA78ECA4AF0000000049454E44AE426082}
89504E470D0A1A0A0000000D4948445200000078000000780806000000396436
D20000000467414D410000B18F0BFC6105000000097048597300000EC200000E
C20115284A800000001874455874536F667477617265007061696E742E6E6574
20342E312E35644758520000049049444154785EED9D516A1B6910067302B3B2
F51072FFDB8410F2B8A771DC426D646D591ECDFC359AE9ED8222F833119E2E62
6C429C6FAFAFAF6D61716CEB88635B471CDB3AE2D8D611C7B68E38B675C4B1AD
238E6D1D716CEB88635B471CDB3AE2D8D611C7B68E38B675C4B1AD238E6D1D71
6CEB88635B471CDB3AE2D8D611C7B68E38B675C4B1AD238E6D1D716CEB88635B
471C2D6F713C1E7FBCBCBC3C9FDFDC2D4F4F4FFFBC3DCBF7F39B08DDC61247CB
CF88B8CFCFCFFFBEF96BCF91236E3C433CCBADC8741B4B1C2D898BB8AF677719
F9226E3E4744FE717EF707E83696385A5E0371D35D4586B82946A6DB58E26879
C98DB8E92E22DF889BFE2732DDC61247CB6442DC74D39127C44D3F44A6DB58E2
6819DC1137DD64E43BE2A6EF91E93696385ACE889BFE8A839E2EBB0166C44D4F
91E93696385A9E0FF3F3EAA1A7BA89C80BE286A7CF46741B4B1C2D2F0EB4CBC8
23E2C6EBD06D2C71B44CF6187954DC806E6389A3E5257B8A3C326E40B7B1C4D1
F29A3D441E1D37A0DB58E268492C3DA019D9881BD06D2C71B4FC8C2D46B6E206
741B4B1C2D6FB1A5C866DC806E6389A3E5576C21B21D37A0DB58E26839854746
5E236E40B7B1C4D1722A8F88BC56DC806E6389A3E53DAC1979CDB801DDC61247
CB7B5923F2DA7103BA8D258E967330233F226E40B7B1C4D1722E46E447C50DE8
3696385A2E6164E447C60DE83696385A2E6544E447C70DE83696385A8E6061A0
DF67E97D5F39246E40B7B1C4D172140B23CF71D257E453A1DB58E26839921523
0F8D1BD06D2C71B41CCD0A9187C70DE83696385A1A889195B801DDC612474B0B
21B21637A0DB58E268693230B21A37A0DB58E26869738E3CF7DBA0F08F1D37A0
DB58E268693320F0EF0EBC409373DCFE147D258E961603E3A6FD45D61C0D84B8
697F9B74AFA311E3A64A64BA8D258E962359216E3A3C32DDC61247CB51AC1837
1D1A996E6389A3E50896C43D1C0E7FDE7E9DFDD785A322D36D2C71B45CCAC23F
B9A740235EE3FCE1CC866E6389A3E512468659F85A3F9746A6DB58E268399791
71934746A6DB58E2683907236EF2A8C8741B4B1C2DEFC58C9B3C2232DDC61247
CB7B58236EB27664BA8D258E965359336EB26664BA8D258E96537844DC64ADC8
741B4B1C2DBFE29171933522D36D2C71B4BCC516E2267664BA8D258E969FB1A5
B88919996E6389A325B1C5B88915996E6389A3E5355B8E9B2C8D7C381C9ECE2F
F50EDDC61247CB4BF61037191D996E6389A365B2A7B8C9C8C8741B4B1C2D833D
C64D4645A6DB58E268B9E7B849FC1BE1F8582E3EAE7B3C45A6DB58E268793C1E
BFBF3DE4EE7FA4FF82C8F1EC757FA47F3023F2A6E22633229FE2C6EFA5DB58E2
6899DC11799371933B22BFC70DE83696385A5E3221F2A6E32613227F881BD06D
2C71B4BCE646E45DC44D6E44FEFFFED7760944DE55DC042263DC806E6389A3E5
675C44DE65DCE422F2A77103BA8D258E96B788C87B8E9B44E45B7103BA8D258E
6D1D716CEB88635B471CDB3AE2D8D611C7B68E38B675C4B1AD238E6D1D716CEB
88635B471CDB3AE2D8D611C7B68E38B675C4B1AD238E6D1D716CEB88635B471C
DB3AE2D8D611C7B68E38B675C4B1AD238E6D1D716CEB88635BC5D76F7F01F0B4
EE45E8B496E70000000049454E44AE426082}
end>
end
item
83AA0755B8C794FFB3F58CFC031F05324D2D9FCF8A0000000049454E44AE4260
82}
end>
end
item
Name = 'icons8-clear-symbol'
SourceImages = <
item
Image.Data = {
89504E470D0A1A0A0000000D49484452000000660000006608030000000E0114
50000000C0504C5445FFFFFF000000FE3C00FE3D00FE3D00FE3C00FE3D00FE3C
00FF3D00FF3C00FE4800FE3D00FE3D00FE3E00FE3D00FE3D00FE3C00FE3D00FE
3D00FE3E00FE3C00FE3D00FE3F00FE3C00FE3C00FE3C00FF3300FE3D00FF2A00
FE3D00FF0000FE3C00FF3D00FE3D00FE3C00FE3C00FF3D00FF3B00FE3D00FE3D
00FF5500FE3C00FE3D00FE3C00FF3C00FF8F6CFF9B7BFFAD93FF4E16FFF8F6FF
521CFFFFFFFFC8B7FFFEFEFF8E6BFFDED4FFF9F7FF7448FF4308FF794FFF4D15
FF6E41FE3D00FF3D000A610D690000002D74524E53000087EFEDD7A33E78A106
5AA14EFB4636F5AF2CEBE91CE314D30AC906B300A589EBB1E7AB3C918F02EDD5
9B325FB62DAA000000097048597300000EC400000EC401952B0E1B0000016649
4441546881EDD8D752C3301085E124F45E4227D8F4DE8513AAF7FDDF0A6C26C6
9616B46294BD3AFFA527E36F2671D6925A2D84104208218450586DA6CE58A4C6
2726A7BEEEC733D314B399599E99CBA33234CF320B8B7115A22586595E89ADD0
AACB74D7A22BB4EE301B9BF115CA6D666B7B040A91C5ECEC7A3EFFF1CE5C7C7B
0D637A7B9E8FBF3C0F5CA79F3DF99C0693A45EC518C7E967C6F89C06B32F501C
A750BC4E9DF18D98C7075336B8771463EEA48C7FC40C6F5973AA4BDCA3C13192
11E33842E587918D18CB912A15D33D9028962356868C7CC4D41CE6A7FA9B0919
31D5CD6FE5CA37E31D31AC63E44AC9F40E4314CB11290593A4614AC3912905D3
0955886EB230459149D250E55F5F9AD223A0F5406BFD3DB5868DD6E8D47A1168
BDD6B45ED25A4B0EAD0594D672506971ABB554D7DA78686DA346B3293CD2D9E2
1EEB6CD84F548E1F4E350E53F2B3F35F98784743179757D7EDF2680821841042
082114D227617AB9E7DED5FF830000000049454E44AE426082}
end>
end>
Left = 593
Top = 339
end
item
CollectionIndex = 134
CollectionName = 'icons8-close-button-other'
CollectionName = 'icons8-close-button-small-centered'
Disabled = False
Name = 'icons8-close-button-other'
end
CollectionName = 'icons8-filter-table'
Disabled = False
Name = 'icons8-filter-table'
end
item
CollectionIndex = 193
CollectionName = 'icons8-clear-symbol'
Disabled = False
Name = 'icons8-clear-symbol'
end>
ImageCollection = ImageCollectionIcons8
Left = 593
9F2BE4FE6E6793C9E4B3582C7AAC407E03DC7D4CF00A70C6B10000000049454E
44AE426082}
end>
end
item
Name = 'cross'
SourceImages = <
item
Image.Data = {
89504E470D0A1A0A0000000D49484452000000100000001008060000001FF3FF
610000000467414D410000AFC837058AE90000001974455874536F6674776172
650041646F626520496D616765526561647971C9653C000002214944415438CB
9593EB4E135114858989C989CFA0568986C89180C41B425B0628AD0D0826D0FB
855EA480B4A5EDA44DA136EA0F4D7C129F0B44C5DEB0D299763AD3E5AE984A2D
25E1C74ECE64CEFAF6ACB5F70C0018B84CD5D742D7CE3E775F10333A2ADE57EC
0F72D9ED8DD76C4E432FA02DCEECA295CE428B277B20755F80D703613436B6F0
EBE5CAE7EAE2D2BD7F80BF62E4DFA145A525443437B73B10D9BBC6A93B9AD138
90CBA37D3E365BE3E519D39553402ACD5A09516BEDBE013E7E8296CDB5016804
425CF6F8397587B21D03E8BDEC0FE078FEB95A16E6AE7659D06209A6BE8EA99A
9801DE7F809A4AA31E0C83BA43D98A02D9BD3FE78AC942E259766E88CDC8266B
84D6D5667487ECBC05F6F224CC01992C648F0F9539B35A9E9E61FDA7701A1693
5C5E0D59B2E3F6010E3720A651999DD74A4681FD7FBF0720393DED5101340DD8
9CC08A1DD849926F0B0A1353FC4280E47073C9E581128E004991842920467628
4079D58EB2DE88EF63E3FC5C40CDEEE292D30D25B40ED01825870B14965A9C32
68278BCB406403B517CB283C7C8CC3A161DE05A0CDE2D41D4AF015754D40A24F
A7B0D4E2A481159E4CB0A3F1476AD5640682219C58AC381A19C5C1AD41DE01D0
6609359B034A200469D5010A4B2D3ED37702FB3632C6BE0EDF577F1A0548D605
FC187D80FD1B3AA1CB026D96505D5842C930AD51583D691FDE1D625F06EFA867
C53D2196F446A1F07492F5FB990E74B7D9FEF59BC28563BC6CFD0672BBA4C7DB
EDBE140000000049454E44AE426082}
end>
end>
Left = 689
Top = 339
@@ -10577,7 +10577,7 @@ procedure TMainForm.editDatabaseTableFilterLeftButtonClick(Sender: TObject);

Item := TMenuItem.Create(Menu);
Item.Caption := _('Clear');
Item.ImageIndex := 26;
Item.ImageIndex := 193;
Item.OnClick := editDatabaseTableFilterMenuClick;
Item.Tag := 1;
Item.Enabled := Edit.Text <> '';
@@ -82,7 +82,7 @@ object frmSQLhelp: TfrmSQLhelp
LeftButton.Hint = 'Search'
LeftButton.ImageIndex = 53
LeftButton.Visible = True
RightButton.ImageIndex = 26
RightButton.ImageIndex = 193
TabOrder = 0
TextHint = 'Filter'
OnChange = editFilterChange

0 comments on commit 2c254a0

Please sign in to comment.