Icons in context menu.
--HG-- branch : develop
This commit is contained in:
parent
147ff0d505
commit
fd91f45bbb
BIN
src/app/share/resources/icons/win.icon.theme/16x16/actions/edit-delete.png
Executable file
BIN
src/app/share/resources/icons/win.icon.theme/16x16/actions/edit-delete.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 712 B |
BIN
src/app/share/resources/icons/win.icon.theme/24x24/actions/edit-delete.png
Executable file
BIN
src/app/share/resources/icons/win.icon.theme/24x24/actions/edit-delete.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
|
@ -52,5 +52,11 @@
|
|||
<file alias="16x16/actions/application-exit.png">icons/win.icon.theme/16x16/actions/application-exit.png</file>
|
||||
<file alias="24x24/actions/application-exit.png">icons/win.icon.theme/24x24/actions/application-exit.png</file>
|
||||
<file alias="32x32/actions/application-exit.png">icons/win.icon.theme/32x32/actions/application-exit.png</file>
|
||||
<file alias="16x16/actions/preferences-other.png">icons/win.icon.theme/16x16/actions/preferences-other.png</file>
|
||||
<file alias="24x24/actions/preferences-other.png">icons/win.icon.theme/24x24/actions/preferences-other.png</file>
|
||||
<file alias="32x32/actions/preferences-other.png">icons/win.icon.theme/32x32/actions/preferences-other.png</file>
|
||||
<file alias="16x16/actions/edit-delete.png">icons/win.icon.theme/16x16/actions/edit-delete.png</file>
|
||||
<file alias="24x24/actions/edit-delete.png">icons/win.icon.theme/24x24/actions/edit-delete.png</file>
|
||||
<file alias="32x32/actions/edit-delete.png">icons/win.icon.theme/32x32/actions/edit-delete.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -94,9 +94,9 @@ protected:
|
|||
SCASSERT(event != nullptr);
|
||||
|
||||
QMenu menu;
|
||||
QAction *actionOption = menu.addAction(tr("Options"));
|
||||
QAction *actionOption = menu.addAction(QIcon::fromTheme("preferences-other"), tr("Options"));
|
||||
QAction *actionRemove = nullptr;
|
||||
actionRemove = menu.addAction(tr("Delete"));
|
||||
actionRemove = menu.addAction(QIcon::fromTheme("edit-delete"), tr("Delete"));
|
||||
if (showRemove)
|
||||
{
|
||||
if (_referens > 1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user