mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Add copy icon to treeview context menu
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
RESOURCE_DEF(chart_curve, "chart_curve.png") \
|
||||
RESOURCE_DEF(cog, "cog.png") \
|
||||
RESOURCE_DEF(color_wheel, "color_wheel.png") \
|
||||
RESOURCE_DEF(copy, "copy.png") \
|
||||
RESOURCE_DEF(connect, "connect.png") \
|
||||
RESOURCE_DEF(control_base_blue, "control_base_blue.png") \
|
||||
RESOURCE_DEF(control_cursor_blue, "control_cursor_blue.png") \
|
||||
@@ -52,6 +53,7 @@
|
||||
RESOURCE_DEF(control_start_blue, "control_start_blue.png") \
|
||||
RESOURCE_DEF(cross, "cross.png") \
|
||||
RESOURCE_DEF(checkerboard, "checkerboard.png") \
|
||||
RESOURCE_DEF(cut, "cut.png") \
|
||||
RESOURCE_DEF(del, "del.png") \
|
||||
RESOURCE_DEF(disconnect, "disconnect.png") \
|
||||
RESOURCE_DEF(find, "find.png") \
|
||||
@@ -71,6 +73,7 @@
|
||||
RESOURCE_DEF(page_white_edit, "page_white_edit.png") \
|
||||
RESOURCE_DEF(page_white_link, "page_white_link.png") \
|
||||
RESOURCE_DEF(page_white_stack, "page_white_stack.png") \
|
||||
RESOURCE_DEF(paste, "paste.png") \
|
||||
RESOURCE_DEF(plugin, "plugin.png") \
|
||||
RESOURCE_DEF(plugin_add, "plugin_add.png") \
|
||||
RESOURCE_DEF(save, "save.png") \
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 593 B |
Binary file not shown.
|
After Width: | Height: | Size: 958 B |
Binary file not shown.
|
After Width: | Height: | Size: 510 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 690 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
@@ -43,6 +43,8 @@
|
||||
<file>cog@2x.png</file>
|
||||
<file>color_wheel.png</file>
|
||||
<file>color_wheel@2x.png</file>
|
||||
<file>copy.png</file>
|
||||
<file>copy@2x.png</file>
|
||||
<file>connect.png</file>
|
||||
<file>connect@2x.png</file>
|
||||
<file>control_base_blue.png</file>
|
||||
@@ -63,6 +65,8 @@
|
||||
<file>control_start_blue@2x.png</file>
|
||||
<file>cross.png</file>
|
||||
<file>cross@2x.png</file>
|
||||
<file>cut.png</file>
|
||||
<file>cut@2x.png</file>
|
||||
<file>del.png</file>
|
||||
<file>del@2x.png</file>
|
||||
<file>disconnect.png</file>
|
||||
@@ -99,6 +103,8 @@
|
||||
<file>page_white_link@2x.png</file>
|
||||
<file>page_white_stack.png</file>
|
||||
<file>page_white_stack@2x.png</file>
|
||||
<file>paste.png</file>
|
||||
<file>paste@2x.png</file>
|
||||
<file>plugin.png</file>
|
||||
<file>plugin@2x.png</file>
|
||||
<file>plugin_add.png</file>
|
||||
|
||||
@@ -261,6 +261,8 @@ void RDTreeView::contextMenuEvent(QContextMenuEvent *event)
|
||||
expandAllAction.setIcon(Icons::arrow_out());
|
||||
collapseAllAction.setIcon(Icons::arrow_in());
|
||||
|
||||
copy.setIcon(Icons::copy());
|
||||
|
||||
expandAllAction.setEnabled(index.isValid() && model()->rowCount(index) > 0);
|
||||
collapseAllAction.setEnabled(index.isValid() && model()->rowCount(index) > 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user