Skip to content
Permalink
Browse files

Updated and vectorized several icons (#6362)

mActionFileExit
repositoryUnavailable
repositoryDisabled
repositoryConnected
mActionRefresh
mIconDelete
mActionRemoveSelectedFeature
mActionFromSelectedFeature
  • Loading branch information
FelisPimeja authored and nirvn committed Feb 17, 2018
1 parent 7e4cdc0 commit dedfb5ccb64cdc22216995ee03e861969e57af13
@@ -218,7 +218,7 @@
<file>themes/default/mActionEditPaste.svg</file>
<file>themes/default/mActionExpandNewTree.svg</file>
<file>themes/default/mActionExpandTree.svg</file>
<file>themes/default/mActionFileExit.png</file>
<file>themes/default/mActionFileExit.svg</file>
<file>themes/default/mActionFileNew.svg</file>
<file>themes/default/mActionFileOpen.svg</file>
<file>themes/default/mActionFilePrint.svg</file>
@@ -229,7 +229,7 @@
<file>themes/default/mActionFilter2.svg</file>
<file>themes/default/mActionFolder.svg</file>
<file>themes/default/mActionFormAnnotation.svg</file>
<file>themes/default/mActionFromSelectedFeature.png</file>
<file>themes/default/mActionFromSelectedFeature.svg</file>
<file>themes/default/mActionFormView.svg</file>
<file>themes/default/mActionFullCumulativeCutStretch.svg</file>
<file>themes/default/mActionFullHistogramStretch.svg</file>
@@ -289,11 +289,11 @@
<file>themes/default/mActionQgisHomePage.png</file>
<file>themes/default/mActionRaiseItems.svg</file>
<file>themes/default/mActionRedo.svg</file>
<file>themes/default/mActionRefresh.png</file>
<file>themes/default/mActionRefresh.svg</file>
<file>themes/default/mActionRemove.svg</file>
<file>themes/default/mActionRemoveAllFromOverview.svg</file>
<file>themes/default/mActionRemoveLayer.svg</file>
<file>themes/default/mActionRemoveSelectedFeature.png</file>
<file>themes/default/mActionRemoveSelectedFeature.svg</file>
<file>themes/default/mActionReshape.svg</file>
<file>themes/default/mActionResizeNarrowest.svg</file>
<file>themes/default/mActionResizeShortest.svg</file>
@@ -382,7 +382,7 @@
<file>themes/default/mIconDataDefineExpressionOn.svg</file>
<file>themes/default/mIconDb2.svg</file>
<file>themes/default/mIconDbSchema.png</file>
<file>themes/default/mIconDelete.png</file>
<file>themes/default/mIconDelete.svg</file>
<file>themes/default/mIconDeselected.svg</file>
<file>themes/default/mIconDropDownMenu.svg</file>
<file>themes/default/mIconJoinNotEditable.svg</file>
@@ -517,9 +517,9 @@
<file>themes/default/labelingSingle.svg</file>
<file>themes/default/labelingRuleBased.svg</file>
<file>themes/default/labelingObstacle.svg</file>
<file>themes/default/repositoryConnected.png</file>
<file>themes/default/repositoryDisabled.png</file>
<file>themes/default/repositoryUnavailable.png</file>
<file>themes/default/repositoryConnected.svg</file>
<file>themes/default/repositoryDisabled.svg</file>
<file>themes/default/repositoryUnavailable.svg</file>
<file>themes/default/stars_empty.svg</file>
<file>themes/default/stars_full.svg</file>
<file>themes/default/styleicons/color.svg</file>
Binary file not shown.
@@ -0,0 +1 @@
<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg"><rect width="16" height="16" ry="1.5" fill="#cc401d" fill-opacity=".902" stroke-width="0"/><path d="m1.45.727c-.403 0-.727.324-.727.727v6.55h14.5v-6.55c0-.403-.324-.727-.727-.727z" fill="#fff" opacity=".3" stroke-width="0"/><path d="m13.5 8c0 3.03-2.46 5.49-5.49 5.49s-5.49-2.46-5.49-5.49 2.46-5.49 5.49-5.49 5.49 2.46 5.49 5.49z" fill="none" overflow="visible" stroke="#eee" stroke-linecap="round" stroke-width="2"/><path d="m8 9.99-.000214-3.97" fill="none" overflow="visible" stroke="#eee" stroke-linecap="round" stroke-width="2"/></svg>
Binary file not shown.
@@ -0,0 +1 @@
<svg width="32" height="32" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="m.769 8.45h29.5v21.5h-29.5z" fill="#e6e6e6" stroke="#6e97c4" stroke-width="1.5"/><path d="m.769.768h29.5v7.68h-29.5z" fill="#bad9ec" stroke="#6e97c4" stroke-width="1.5"/><path d="m5 4.5h6" fill="none" overflow="visible" stroke="#6e97c4" stroke-width="3"/><path d="m14 4.5h12" fill="none" stroke="#6e97c4" stroke-width="3"/><path d="m5 11.2h6" fill="none" overflow="visible" stroke="#6e97c4" stroke-width="1.5"/><path d="m14 11.2h12" fill="none" stroke="#6e97c4" stroke-width="1.5"/><path d="m5 16.2h6" fill="none" overflow="visible" stroke="#c00" stroke-width="1.5"/><path d="m14 16.2h12" fill="none" stroke="#c00" stroke-width="1.5"/><path d="m5 21.2h6" fill="none" overflow="visible" stroke="#6e97c4" stroke-width="1.5"/><path d="m14 21.2h12" fill="none" stroke="#6e97c4" stroke-width="1.5"/><path d="m5 25.2h6" fill="none" overflow="visible" stroke="#6e97c4" stroke-width="1.5"/><path d="m14 25.2h12" fill="none" stroke="#6e97c4" stroke-width="1.5"/></svg>
Binary file not shown.
@@ -0,0 +1 @@
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"><path d="m9.4 23.7 4.97-6.21-4.97-6.21v4.14l-2.7.0221c-3.22-.0404-3.05-4.08.219-4.16v-1.66c-2.82 0-6.62 1.09-6.62 6.21 0 1.74 1.43 3.73 4.97 3.73h4.14z" fill="#8cbe8c" fill-rule="evenodd" stroke="#639563" stroke-linejoin="round" stroke-width=".6"/><path d="m9.71 22.8-.00495-3.19c-.0076-.281-.179-.376-.345-.37l-3.91-.0051c-3.54-.0046-4.85-1.81-4.85-3.47.0113-2.41.833-3.73 2.02-4.66-.731.931-1.38 2.08-1.38 3.88 0 2.54 1.15 3.73 4.97 3.73h3.6c.389 0 .535.239.535.527v2.78z" fill="#afd5c1" fill-rule="evenodd" stroke-width=".612"/><path d="m14.3.623-4.97 6.21 4.97 6.21v-4.14l2.7-.0221c3.22.0404 3.05 4.08-.219 4.16v1.66c2.82 0 6.62-1.09 6.62-6.21 0-1.74-1.43-3.73-4.97-3.73h-4.14z" fill="#8cbe8c" fill-rule="evenodd" stroke="#639563" stroke-linejoin="round" stroke-width=".6"/><path d="m14 1.51.005 3.19c.0076.281.179.376.345.37l3.91.0051c3.54.0046 4.85 1.81 4.85 3.47-.0113 2.41-.833 3.73-2.02 4.66.731-.931 1.38-2.08 1.38-3.88 0-2.54-1.15-3.73-4.97-3.73h-3.6c-.389 0-.535-.239-.535-.527v-2.78z" fill="#afd5c1" fill-rule="evenodd" stroke-width=".612"/></svg>
Binary file not shown.
@@ -0,0 +1 @@
<svg width="32" height="32" xmlns="http://www.w3.org/2000/svg"><g><path d="m.769 8.45h29.5v21.5h-29.5z" fill="#e6e6e6" stroke="#6e97c4" stroke-width="1.5"/><path d="m.769.768h29.5v7.68h-29.5z" fill="#bad9ec" stroke="#6e97c4" stroke-width="1.5"/><path d="m5 4.5h6" fill="none" overflow="visible" stroke="#6e97c4" stroke-width="3"/><path d="m14 4.5h12" fill="none" stroke="#6e97c4" stroke-width="3"/><path d="m5 11.2h6" fill="none" overflow="visible" stroke="#6e97c4" stroke-width="1.5"/><path d="m14 11.2h12" fill="none" stroke="#6e97c4" stroke-width="1.5"/><path d="m5 16.2h6" fill="none" overflow="visible" stroke="#c00" stroke-width="1.5"/><path d="m14 16.2h12" fill="none" stroke="#c00" stroke-width="1.5"/><path d="m5 21.2h6" fill="none" overflow="visible" stroke="#6e97c4" stroke-width="1.5"/><path d="m14 21.2h12" fill="none" stroke="#6e97c4" stroke-width="1.5"/><path d="m5 25.2h6" fill="none" overflow="visible" stroke="#6e97c4" stroke-width="1.5"/><path d="m14 25.2h12" fill="none" stroke="#6e97c4" stroke-width="1.5"/></g><rect x="17" y="17" width="15" height="15" rx="3" fill="#d26464" stroke-width="1.5"/><path d="m20 18c-1.11 0-2 .892-2 2v4.5h13v-4.5c0-1.11-.892-2-2-2z" fill="#fff" opacity=".3" stroke-width="1.5"/><path d="m21 28 6.97-6.97" fill="#fff" fill-rule="evenodd" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/><path d="m21 21 6.97 6.97" fill="#fff" fill-rule="evenodd" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/></svg>
Binary file not shown.
@@ -0,0 +1 @@
<svg width="32" height="32" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="16" fill="#900" stroke-width="0"/><path d="m8.59 23.4 14.8-14.8" fill="#fff" fill-rule="evenodd" stroke="#fff" stroke-linejoin="round" stroke-width="3"/><path d="m8.56 8.6 14.9 14.8" fill="#fff" fill-rule="evenodd" stroke="#fff" stroke-linejoin="round" stroke-width="3"/></svg>
Binary file not shown.
@@ -0,0 +1 @@
<svg width="22" height="22" xmlns="http://www.w3.org/2000/svg"><rect width="22" height="22" ry="2" fill="#629862" stroke-width="0"/><path d="m2 1c-.554 0-1 .446-1 1v9h20v-9c0-.554-.446-1-1-1h-18z" fill="#fff" opacity=".3" stroke-width="0"/><path d="m18.5 11c0 4.14-3.36 7.5-7.5 7.5s-7.5-3.36-7.5-7.5 3.36-7.5 7.5-7.5 7.5 3.36 7.5 7.5z" fill="none" overflow="visible" stroke="#eee" stroke-linecap="round" stroke-width="3"/><path d="m11 14-.000304-5.96" fill="none" overflow="visible" stroke="#eee" stroke-linecap="round" stroke-width="3"/></svg>
Binary file not shown.
@@ -0,0 +1 @@
<svg width="22" height="22" xmlns="http://www.w3.org/2000/svg"><rect width="22" height="22" ry="2" fill="#888" stroke-width="0"/><path d="m2 1c-.554 0-1 .446-1 1v9h20v-9c0-.554-.446-1-1-1h-18z" fill="#fff" opacity=".3" stroke-width="0"/><path d="m18.5 11c0 4.14-3.36 7.5-7.5 7.5-4.14 0-7.5-3.36-7.5-7.5 0-4.14 3.36-7.5 7.5-7.5 4.14 0 7.5 3.36 7.5 7.5z" fill="none" overflow="visible" stroke="#eee" stroke-linecap="round" stroke-width="3"/><path d="m11 14-.000304-5.96" fill="none" overflow="visible" stroke="#eee" stroke-linecap="round" stroke-width="3"/></svg>
Binary file not shown.
@@ -0,0 +1 @@
<svg width="22" height="22" xmlns="http://www.w3.org/2000/svg"><rect width="22" height="22" ry="2" fill="#c00" stroke-width="0"/><path d="m2 1c-.554 0-1 .446-1 1v9h20v-9c0-.554-.446-1-1-1h-18z" fill="#fff" opacity=".3" stroke-width="0"/><path d="m18.5 11c0 4.14-3.36 7.5-7.5 7.5-4.14 0-7.5-3.36-7.5-7.5 0-4.14 3.36-7.5 7.5-7.5 4.14 0 7.5 3.36 7.5 7.5z" fill="none" overflow="visible" stroke="#eee" stroke-linecap="round" stroke-width="3"/><path d="m11 14-.000304-5.96" fill="none" overflow="visible" stroke="#eee" stroke-linecap="round" stroke-width="3"/></svg>
@@ -1049,20 +1049,20 @@ void QgsPluginManager::addToRepositoryList( const QMap<QString, QString> &reposi
if ( repository.value( QStringLiteral( "state" ) ) == QLatin1String( "2" ) )
{
a->setText( 0, tr( "connected" ) );
a->setIcon( 0, QIcon( ":/images/themes/default/repositoryConnected.png" ) );
a->setIcon( 0, QIcon( ":/images/themes/default/repositoryConnected.svg" ) );
a->setToolTip( 0, tr( "The repository is connected" ) );
}
else
{
a->setText( 0, tr( "unavailable" ) );
a->setIcon( 0, QIcon( ":/images/themes/default/repositoryUnavailable.png" ) );
a->setIcon( 0, QIcon( ":/images/themes/default/repositoryUnavailable.svg" ) );
a->setToolTip( 0, tr( "The repository is enabled, but unavailable" ) );
}
}
else
{
a->setText( 0, tr( "disabled" ) );
a->setIcon( 0, QIcon( ":/images/themes/default/repositoryDisabled.png" ) );
a->setIcon( 0, QIcon( ":/images/themes/default/repositoryDisabled.svg" ) );
if ( repository.value( QStringLiteral( "valid" ) ) == QLatin1String( "true" ) )
{
a->setToolTip( 0, tr( "The repository is disabled" ) );
@@ -70,8 +70,8 @@ QgsMergeAttributesDialog::QgsMergeAttributesDialog( const QgsFeatureList &featur
mTableWidget->setSelectionBehavior( QAbstractItemView::SelectRows );
mTableWidget->setSelectionMode( QAbstractItemView::SingleSelection );

mFromSelectedPushButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mActionFromSelectedFeature.png" ) ) );
mRemoveFeatureFromSelectionButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mActionRemoveSelectedFeature.png" ) ) );
mFromSelectedPushButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mActionFromSelectedFeature.svg" ) ) );
mRemoveFeatureFromSelectionButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mActionRemoveSelectedFeature.svg" ) ) );

QgsSettings settings;
restoreGeometry( settings.value( QStringLiteral( "Windows/MergeAttributes/geometry" ) ).toByteArray() );
@@ -1093,7 +1093,7 @@ QgsProjectItem::QgsProjectItem( QgsDataItem *parent, const QString &name, const
QgsErrorItem::QgsErrorItem( QgsDataItem *parent, const QString &error, const QString &path )
: QgsDataItem( QgsDataItem::Error, parent, error, path )
{
mIconName = QStringLiteral( "/mIconDelete.png" );
mIconName = QStringLiteral( "/mIconDelete.svg" );

setState( Populated ); // no more children
}
@@ -1628,4 +1628,3 @@ void QgsFavoriteItem::rename( const QString &name )


///@endcond

@@ -203,7 +203,7 @@
</property>
<property name="icon">
<iconset resource="../../../../images/images.qrc">
<normaloff>:/images/themes/default/mActionFromSelectedFeature.png</normaloff>:/images/themes/default/mActionFromSelectedFeature.png</iconset>
<normaloff>:/images/themes/default/mActionFromSelectedFeature.svg</normaloff>:/images/themes/default/mActionFromSelectedFeature.scg</iconset>
</property>
</widget>
</item>
@@ -49,7 +49,7 @@ QgsGlobeWidget::QgsGlobeWidget( QgisInterface *iface, QWidget *parent )
QToolButton *refreshButton = new QToolButton( this );
refreshButton->setAutoRaise( true );
refreshButton->setToolTip( tr( "Reload scene" ) );
refreshButton->setIcon( QIcon( ":/images/themes/default/mActionRefresh.png" ) );
refreshButton->setIcon( QIcon( ":/images/themes/default/mActionRefresh.svg" ) );
refreshButton->setIconSize( QSize( 16, 16 ) );
connect( refreshButton, SIGNAL( clicked() ), this, SIGNAL( refresh() ) );

@@ -57,7 +57,7 @@ QgsGrassTools::QgsGrassTools( QgisInterface *iface, QWidget *parent, const char
connect( mDebugButton, &QPushButton::clicked, this, &QgsGrassTools::mDebugButton_clicked );
connect( mCloseDebugButton, &QPushButton::clicked, this, &QgsGrassTools::mCloseDebugButton_clicked );
connect( mViewModeButton, &QToolButton::clicked, this, &QgsGrassTools::mViewModeButton_clicked );
QPushButton *closeMapsetButton = new QPushButton( QgsApplication::getThemeIcon( QStringLiteral( "mActionFileExit.png" ) ), tr( "Close mapset" ), this );
QPushButton *closeMapsetButton = new QPushButton( QgsApplication::getThemeIcon( QStringLiteral( "mActionFileExit.svg" ) ), tr( "Close mapset" ), this );
mTabWidget->setCornerWidget( closeMapsetButton );
connect( closeMapsetButton, &QAbstractButton::clicked, this, &QgsGrassTools::closeMapset );

@@ -995,7 +995,7 @@ QgsGrassVectorItem::QgsGrassVectorItem( QgsDataItem *parent, QgsGrassObject gras
if ( !mValid )
{
setState( Populated );
setIconName( QStringLiteral( "/mIconDelete.png" ) );
setIconName( QStringLiteral( "/mIconDelete.svg" ) );
}
#ifdef HAVE_GUI
mActions = new QgsGrassItemActions( mGrassObject, mValid, this );
@@ -1219,7 +1219,7 @@ QIcon QgsGrassImportItem::icon()
{
if ( mImport && mImport->isCanceled() )
{
setIconName( QStringLiteral( "/mIconDelete.png" ) );
setIconName( QStringLiteral( "/mIconDelete.svg" ) );
return QgsDataItem::icon();
}
else
@@ -189,7 +189,7 @@
</property>
<property name="icon">
<iconset resource="../../../images/images.qrc">
<normaloff>:/images/themes/default/mActionRefresh.png</normaloff>:/images/themes/default/mActionRefresh.png</iconset>
<normaloff>:/images/themes/default/mActionRefresh.svg</normaloff>:/images/themes/default/mActionRefresh.svg</iconset>
</property>
</widget>
</item>
@@ -137,7 +137,7 @@
</property>
<property name="icon">
<iconset resource="../../../images/images.qrc">
<normaloff>:/images/themes/default/mActionRefresh.png</normaloff>:/images/themes/default/mActionRefresh.png</iconset>
<normaloff>:/images/themes/default/mActionRefresh.svg</normaloff>:/images/themes/default/mActionRefresh.svg</iconset>
</property>
</widget>
</item>
@@ -134,7 +134,7 @@
</property>
<property name="icon">
<iconset resource="../../../images/images.qrc">
<normaloff>:/images/themes/default/mActionRefresh.png</normaloff>:/images/themes/default/mActionRefresh.png</iconset>
<normaloff>:/images/themes/default/mActionRefresh.svg</normaloff>:/images/themes/default/mActionRefresh.svg</iconset>
</property>
</widget>
</item>
@@ -741,7 +741,7 @@
<action name="mActionExit">
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionFileExit.png</normaloff>:/images/themes/default/mActionFileExit.png</iconset>
<normaloff>:/images/themes/default/mActionFileExit.svg</normaloff>:/images/themes/default/mActionFileExit.png</iconset>
</property>
<property name="text">
<string>Exit QGIS</string>

0 comments on commit dedfb5c

Please sign in to comment.
You can’t perform that action at this time.