Add tool tip / icon for metatile label copy button

This commit is contained in:
GriffinR 2022-02-10 10:07:08 -05:00
parent d548d3e025
commit 60d407fe80
3 changed files with 69 additions and 59 deletions

View file

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<width>727</width>
<height>700</height>
</rect>
</property>
@ -271,7 +271,7 @@
</widget>
</item>
<item row="8" column="0" colspan="3">
<widget class="NoScrollComboBox" name="comboBox_metatileBehaviors" native="true"/>
<widget class="NoScrollComboBox" name="comboBox_metatileBehaviors"/>
</item>
<item row="11" column="0">
<widget class="QLabel" name="label_terrainType">
@ -315,9 +315,16 @@
</item>
<item row="14" column="3">
<widget class="QToolButton" name="copyButton_metatileLabel">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Copies the full metatile label to the clipboard.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../resources/images.qrc">
<normaloff>:/icons/clipboard.ico</normaloff>:/icons/clipboard.ico</iconset>
</property>
</widget>
</item>
<item row="14" column="0" colspan="3">
@ -434,8 +441,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>384</width>
<height>262</height>
<width>411</width>
<height>247</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
@ -527,7 +534,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<width>727</width>
<height>22</height>
</rect>
</property>
@ -660,10 +667,12 @@
<customwidgets>
<customwidget>
<class>NoScrollComboBox</class>
<extends>QWidget</extends>
<extends>QComboBox</extends>
<header>noscrollcombobox.h</header>
</customwidget>
</customwidgets>
<resources/>
<resources>
<include location="../resources/images.qrc"/>
</resources>
<connections/>
</ui>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -1,54 +1,55 @@
<RCC>
<qresource prefix="/">
<file>icons/add.ico</file>
<file>icons/collapse_all.ico</file>
<file>icons/cursor.ico</file>
<file>icons/delete.ico</file>
<file>icons/expand_all.ico</file>
<file>icons/fill_color_cursor.ico</file>
<file>icons/fill_color.ico</file>
<file>icons/folder_closed_map.ico</file>
<file>icons/folder_closed.ico</file>
<file>icons/folder_map_edited.ico</file>
<file>icons/folder_map_opened.ico</file>
<file>icons/folder_map.ico</file>
<file>icons/folder.ico</file>
<file>icons/map_edited.ico</file>
<file>icons/map_opened.ico</file>
<file>icons/map.ico</file>
<file>icons/move.ico</file>
<file>icons/pencil_cursor.ico</file>
<file>icons/pencil.ico</file>
<file>icons/pipette_cursor.ico</file>
<file>icons/pipette.ico</file>
<file>icons/porymap-icon-1.ico</file>
<file>icons/porymap-icon-2.ico</file>
<file>icons/porymap.icns</file>
<file>icons/shift_cursor.ico</file>
<file>icons/shift.ico</file>
<file>icons/sort_alphabet.ico</file>
<file>icons/sort_map.ico</file>
<file>icons/sort_number.ico</file>
<file>icons/tall_grass.ico</file>
<file>icons/viewsprites.ico</file>
<file>icons/ui/dark_checkbox_checked_disabled.png</file>
<file>icons/ui/dark_checkbox_checked_disabled@2x.png</file>
<file>icons/ui/dark_checkbox_checked.png</file>
<file>icons/ui/dark_checkbox_checked@2x.png</file>
<file>icons/ui/dark_checkbox_unchecked_disabled.png</file>
<file>icons/ui/dark_checkbox_unchecked_disabled@2x.png</file>
<file>icons/ui/dark_checkbox_unchecked.png</file>
<file>icons/ui/dark_checkbox_unchecked@2x.png</file>
<file>icons/ui/midnight_checkbox_checked_disabled.png</file>
<file>icons/ui/midnight_checkbox_checked_disabled@2x.png</file>
<file>icons/ui/midnight_checkbox_checked.png</file>
<file>icons/ui/midnight_checkbox_checked@2x.png</file>
<file>icons/ui/midnight_checkbox_unchecked_disabled.png</file>
<file>icons/ui/midnight_checkbox_unchecked_disabled@2x.png</file>
<file>icons/ui/midnight_checkbox_unchecked.png</file>
<file>icons/ui/midnight_checkbox_unchecked@2x.png</file>
<file>images/blank_tileset.png</file>
<file>images/collisions.png</file>
<file>images/Entities_16x16.png</file>
</qresource>
<qresource prefix="/">
<file>icons/add.ico</file>
<file>icons/collapse_all.ico</file>
<file>icons/cursor.ico</file>
<file>icons/delete.ico</file>
<file>icons/expand_all.ico</file>
<file>icons/fill_color_cursor.ico</file>
<file>icons/fill_color.ico</file>
<file>icons/folder_closed_map.ico</file>
<file>icons/folder_closed.ico</file>
<file>icons/folder_map_edited.ico</file>
<file>icons/folder_map_opened.ico</file>
<file>icons/folder_map.ico</file>
<file>icons/folder.ico</file>
<file>icons/map_edited.ico</file>
<file>icons/map_opened.ico</file>
<file>icons/map.ico</file>
<file>icons/move.ico</file>
<file>icons/pencil_cursor.ico</file>
<file>icons/pencil.ico</file>
<file>icons/pipette_cursor.ico</file>
<file>icons/pipette.ico</file>
<file>icons/porymap-icon-1.ico</file>
<file>icons/porymap-icon-2.ico</file>
<file>icons/porymap.icns</file>
<file>icons/shift_cursor.ico</file>
<file>icons/shift.ico</file>
<file>icons/sort_alphabet.ico</file>
<file>icons/sort_map.ico</file>
<file>icons/sort_number.ico</file>
<file>icons/tall_grass.ico</file>
<file>icons/viewsprites.ico</file>
<file>icons/ui/dark_checkbox_checked_disabled.png</file>
<file>icons/ui/dark_checkbox_checked_disabled@2x.png</file>
<file>icons/ui/dark_checkbox_checked.png</file>
<file>icons/ui/dark_checkbox_checked@2x.png</file>
<file>icons/ui/dark_checkbox_unchecked_disabled.png</file>
<file>icons/ui/dark_checkbox_unchecked_disabled@2x.png</file>
<file>icons/ui/dark_checkbox_unchecked.png</file>
<file>icons/ui/dark_checkbox_unchecked@2x.png</file>
<file>icons/ui/midnight_checkbox_checked_disabled.png</file>
<file>icons/ui/midnight_checkbox_checked_disabled@2x.png</file>
<file>icons/ui/midnight_checkbox_checked.png</file>
<file>icons/ui/midnight_checkbox_checked@2x.png</file>
<file>icons/ui/midnight_checkbox_unchecked_disabled.png</file>
<file>icons/ui/midnight_checkbox_unchecked_disabled@2x.png</file>
<file>icons/ui/midnight_checkbox_unchecked.png</file>
<file>icons/ui/midnight_checkbox_unchecked@2x.png</file>
<file>images/blank_tileset.png</file>
<file>images/collisions.png</file>
<file>images/Entities_16x16.png</file>
<file>icons/clipboard.ico</file>
</qresource>
</RCC>