Add icons for checkout and clone wizards.

This commit is contained in:
Daniel Molkentin
2010-05-19 15:38:17 +02:00
parent b9793f4e59
commit c58fedbf45
13 changed files with 21 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ CheckoutWizard::CheckoutWizard(QObject *parent) :
QIcon CheckoutWizard::icon() const QIcon CheckoutWizard::icon() const
{ {
return QIcon(); return QIcon(QLatin1String(":/cvs/images/cvs.png"));
} }
QString CheckoutWizard::description() const QString CheckoutWizard::description() const

View File

@@ -1,5 +1,8 @@
<RCC> <RCC>
<qresource prefix="/trolltech.cvs" > <qresource prefix="/trolltech.cvs">
<file>CVS.mimetypes.xml</file> <file>CVS.mimetypes.xml</file>
</qresource> </qresource>
<qresource prefix="/cvs">
<file>images/cvs.png</file>
</qresource>
</RCC> </RCC>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -47,7 +47,7 @@ CloneWizard::CloneWizard(QObject *parent) :
QIcon CloneWizard::icon() const QIcon CloneWizard::icon() const
{ {
return QIcon(); return QIcon(QLatin1String(":/git/images/git.png"));
} }
QString CloneWizard::description() const QString CloneWizard::description() const

View File

@@ -50,3 +50,6 @@ FORMS += changeselectiondialog.ui \
stashdialog.ui stashdialog.ui
OTHER_FILES += ScmGit.pluginspec OTHER_FILES += ScmGit.pluginspec
include(gitorious/gitorious.pri) include(gitorious/gitorious.pri)
RESOURCES += \
git.qrc

6
src/plugins/git/git.qrc Normal file
View File

@@ -0,0 +1,6 @@
<RCC>
<qresource prefix="/git">
<file>images/git.png</file>
<file>images/gitorious.png</file>
</qresource>
</RCC>

View File

@@ -75,7 +75,7 @@ GitoriousCloneWizard::GitoriousCloneWizard(QObject *parent) :
QIcon GitoriousCloneWizard::icon() const QIcon GitoriousCloneWizard::icon() const
{ {
return QIcon(); return QIcon(QLatin1String(":/git/images/gitorious.png"));
} }
QString GitoriousCloneWizard::description() const QString GitoriousCloneWizard::description() const

Binary file not shown.

After

Width:  |  Height:  |  Size: 466 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -48,7 +48,7 @@ CheckoutWizard::CheckoutWizard(QObject *parent) :
QIcon CheckoutWizard::icon() const QIcon CheckoutWizard::icon() const
{ {
return QIcon(); return QIcon(QLatin1String(":/subversion/images/subversion.png"));
} }
QString CheckoutWizard::description() const QString CheckoutWizard::description() const

Binary file not shown.

After

Width:  |  Height:  |  Size: 875 B

View File

@@ -1,5 +1,8 @@
<RCC> <RCC>
<qresource prefix="/trolltech.subversion" > <qresource prefix="/subversion">
<file>images/subversion.png</file>
</qresource>
<qresource prefix="/trolltech.subversion">
<file>Subversion.mimetypes.xml</file> <file>Subversion.mimetypes.xml</file>
</qresource> </qresource>
</RCC> </RCC>