From 60d407fe8050152490d977b5acb6bfd718b401dd Mon Sep 17 00:00:00 2001 From: GriffinR Date: Thu, 10 Feb 2022 10:07:08 -0500 Subject: [PATCH] Add tool tip / icon for metatile label copy button --- forms/tileseteditor.ui | 23 +++++--- resources/icons/clipboard.ico | Bin 0 -> 1485 bytes resources/images.qrc | 105 +++++++++++++++++----------------- 3 files changed, 69 insertions(+), 59 deletions(-) create mode 100644 resources/icons/clipboard.ico diff --git a/forms/tileseteditor.ui b/forms/tileseteditor.ui index 0e8777df..6fcfaf27 100644 --- a/forms/tileseteditor.ui +++ b/forms/tileseteditor.ui @@ -6,7 +6,7 @@ 0 0 - 700 + 727 700 @@ -271,7 +271,7 @@ - + @@ -315,9 +315,16 @@ + + <html><head/><body><p>Copies the full metatile label to the clipboard.</p></body></html> + ... + + + :/icons/clipboard.ico:/icons/clipboard.ico + @@ -434,8 +441,8 @@ 0 0 - 384 - 262 + 411 + 247 @@ -527,7 +534,7 @@ 0 0 - 700 + 727 22 @@ -660,10 +667,12 @@ NoScrollComboBox - QWidget + QComboBox
noscrollcombobox.h
- + + + diff --git a/resources/icons/clipboard.ico b/resources/icons/clipboard.ico new file mode 100644 index 0000000000000000000000000000000000000000..646e801703ad2bb95cdfdaa7165ece7ed798266b GIT binary patch literal 1485 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjjKx9jP7LeL$-D$|I14-?iy0XB zuY)k-HRCvYpn}NEkcg59UmvUF{9L`nl>DSry^7odplSvNn+hu+GdHy)QK2F?C$HG5 z!d3~a!V1U+3F|8Y3;nDA{o-C@9zzrKDK}xwt{K19`Se z86_nJR{Hwo<>h+i#(Mch>H3D2mX`VkM*2oZx=P7{9O-#x!EwNQn0$BtH5O0c3d|4@L;p!@;Rg)$-uzE>*?Yc;=$V* zYV954C^B#7_1NoQ1?4wHX>6L<&`~B8E6B2uGbwjv!a@bLxvkIGGg42~UpRM2!R@w) znIczGveZSVqsP7{f4^rv`Tgv@#dl5Z_|Djtr=7FBUwO7ir1I6v*RP{}mtWRg8nR$( z*`cq~XOzW;-@kWn*X-G|?;qUX(sbqW!~IXwtTu1jw5VC(grmiQfc3qzXG=f*UH9$D z6PNPR(!Z^(Dr+N-A5dK;v#3S>f^%l($^wUzDW7!Tf0lBx5ET_w66=mlRy^*ixs+?? z*SIJKcDcg-BfiafY3FMMRyuUuX>Vt*t*`$tr(|!iC%}ZQ?%tg{f4+YB@ZkUxhuee7 zc@a@jLLU7c#~(9&S*M#W>t zkJmdti)Lxqb5VPu-*VQ)3mw-f<}f??F`Js2vd#F-Frl=xv@Sba+jgO@o4kpMiAqn< zj*NdReU|?F_b>c%vZ(X9V-q|=btZc3IKz;YbUF8xfNKNqs}*zS%JK_t;Pqwk=b6

v+T~V zU%R@Ss)U7ww+LG1d|lLkE!YnpIMCoCq9=37r&!UIAu)o< zGIjr^jEUb{xq4bAUX;FH0Vx~=+0&RTDx|wMhi#7+LL?|va-GhoS$3f>u@xb*4FOb zv13Pq$(otRPe@5i&y1V?Hg_clLpNWS`$Bh4?Z`8|(^o`axOY#kr?=P8^;%fKi#f3- z>H;SY-ntbfR(rN-wpr@)3ud+|&t=-aUbqk-GgocqxyO%_8;ch#T)cYKDh;tfmH>e; z&Yp=q6P|`O7k{&UIx%SP?%l7?oj?D3$K)bqW#yuR0t2yIMtrUeHmw0=?d|Qk6X(5E z;&!R4s*)-xD`VTdd9zS@lls*cZGMuq+yYN!9B$O#HRC?LE_u45>7s4hrX73xlanLw zB-4iVJD(}OIj(IIzeD`us@1E%{`4uoWnPmk*E2os&JYr*5UMTwgyZf4J2_GINoRTO@tE&1X zYop3{-ffCk9A|iVcu`uK+r!#~DQE22@0VDGfaA&5xdmV1xA^Dz?^E8`+}vz@;@=^G{|v_~%-OBtvlBpN Ntf#A=%Q~loCIFtScl!VU literal 0 HcmV?d00001 diff --git a/resources/images.qrc b/resources/images.qrc index 6961e734..eacb478a 100644 --- a/resources/images.qrc +++ b/resources/images.qrc @@ -1,54 +1,55 @@ - - icons/add.ico - icons/collapse_all.ico - icons/cursor.ico - icons/delete.ico - icons/expand_all.ico - icons/fill_color_cursor.ico - icons/fill_color.ico - icons/folder_closed_map.ico - icons/folder_closed.ico - icons/folder_map_edited.ico - icons/folder_map_opened.ico - icons/folder_map.ico - icons/folder.ico - icons/map_edited.ico - icons/map_opened.ico - icons/map.ico - icons/move.ico - icons/pencil_cursor.ico - icons/pencil.ico - icons/pipette_cursor.ico - icons/pipette.ico - icons/porymap-icon-1.ico - icons/porymap-icon-2.ico - icons/porymap.icns - icons/shift_cursor.ico - icons/shift.ico - icons/sort_alphabet.ico - icons/sort_map.ico - icons/sort_number.ico - icons/tall_grass.ico - icons/viewsprites.ico - icons/ui/dark_checkbox_checked_disabled.png - icons/ui/dark_checkbox_checked_disabled@2x.png - icons/ui/dark_checkbox_checked.png - icons/ui/dark_checkbox_checked@2x.png - icons/ui/dark_checkbox_unchecked_disabled.png - icons/ui/dark_checkbox_unchecked_disabled@2x.png - icons/ui/dark_checkbox_unchecked.png - icons/ui/dark_checkbox_unchecked@2x.png - icons/ui/midnight_checkbox_checked_disabled.png - icons/ui/midnight_checkbox_checked_disabled@2x.png - icons/ui/midnight_checkbox_checked.png - icons/ui/midnight_checkbox_checked@2x.png - icons/ui/midnight_checkbox_unchecked_disabled.png - icons/ui/midnight_checkbox_unchecked_disabled@2x.png - icons/ui/midnight_checkbox_unchecked.png - icons/ui/midnight_checkbox_unchecked@2x.png - images/blank_tileset.png - images/collisions.png - images/Entities_16x16.png - + + icons/add.ico + icons/collapse_all.ico + icons/cursor.ico + icons/delete.ico + icons/expand_all.ico + icons/fill_color_cursor.ico + icons/fill_color.ico + icons/folder_closed_map.ico + icons/folder_closed.ico + icons/folder_map_edited.ico + icons/folder_map_opened.ico + icons/folder_map.ico + icons/folder.ico + icons/map_edited.ico + icons/map_opened.ico + icons/map.ico + icons/move.ico + icons/pencil_cursor.ico + icons/pencil.ico + icons/pipette_cursor.ico + icons/pipette.ico + icons/porymap-icon-1.ico + icons/porymap-icon-2.ico + icons/porymap.icns + icons/shift_cursor.ico + icons/shift.ico + icons/sort_alphabet.ico + icons/sort_map.ico + icons/sort_number.ico + icons/tall_grass.ico + icons/viewsprites.ico + icons/ui/dark_checkbox_checked_disabled.png + icons/ui/dark_checkbox_checked_disabled@2x.png + icons/ui/dark_checkbox_checked.png + icons/ui/dark_checkbox_checked@2x.png + icons/ui/dark_checkbox_unchecked_disabled.png + icons/ui/dark_checkbox_unchecked_disabled@2x.png + icons/ui/dark_checkbox_unchecked.png + icons/ui/dark_checkbox_unchecked@2x.png + icons/ui/midnight_checkbox_checked_disabled.png + icons/ui/midnight_checkbox_checked_disabled@2x.png + icons/ui/midnight_checkbox_checked.png + icons/ui/midnight_checkbox_checked@2x.png + icons/ui/midnight_checkbox_unchecked_disabled.png + icons/ui/midnight_checkbox_unchecked_disabled@2x.png + icons/ui/midnight_checkbox_unchecked.png + icons/ui/midnight_checkbox_unchecked@2x.png + images/blank_tileset.png + images/collisions.png + images/Entities_16x16.png + icons/clipboard.ico +