Qt Quick Designer: Move valgrind icon to valgrind plugin

The "eye_crossed" icon is defined in one place and used in a
totally different up.

Change-Id: I392b5c1b8cf80803d0416ae272ded369f06ca405
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Alessandro Portale
2015-02-16 15:34:28 +01:00
parent a260afe004
commit 2aa315d05c
5 changed files with 8 additions and 2 deletions

View File

@@ -13,7 +13,6 @@
<file>images/checkbox_tr_unchecked_hover.png</file>
<file>images/checkbox_tr_unchecked_pressed.png</file>
<file>images/eye_open.png</file>
<file>images/eye_crossed.png</file>
<file>images/lock.png</file>
<file>images/hole.png</file>
<file>images/down_arrow.png</file>

View File

Before

Width:  |  Height:  |  Size: 731 B

After

Width:  |  Height:  |  Size: 731 B

View File

@@ -288,7 +288,7 @@ MemcheckErrorView::MemcheckErrorView(QWidget *parent)
m_suppressAction = new QAction(this);
m_suppressAction->setText(tr("Suppress Error"));
m_suppressAction->setIcon(QIcon(QLatin1String(":/qmldesigner/images/eye_crossed.png")));
m_suppressAction->setIcon(QIcon(QLatin1String(":/valgrind/images/eye_crossed.png")));
m_suppressAction->setShortcut(QKeySequence(Qt::Key_Delete));
m_suppressAction->setShortcutContext(Qt::WidgetWithChildrenShortcut);
connect(m_suppressAction, &QAction::triggered, this, &MemcheckErrorView::suppressError);

View File

@@ -55,3 +55,5 @@ SOURCES += \
FORMS += \
valgrindconfigwidget.ui
RESOURCES += \
valgrind.qrc

View File

@@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/valgrind">
<file>images/eye_crossed.png</file>
</qresource>
</RCC>