Skip to content
Permalink
Browse files

[ui] remove use of system icons in browser directory properties

  • Loading branch information
nirvn committed Oct 3, 2018
1 parent edc54b7 commit 94aa8d036037f781ed4bfaa02cc4105060e5e60e
@@ -445,6 +445,8 @@
<file>themes/default/mIconFieldInteger.svg</file>
<file>themes/default/mIconFieldText.svg</file>
<file>themes/default/mIconFieldTime.svg</file>
<file>themes/default/mIconFile.svg</file>
<file>themes/default/mIconFileLink.svg</file>
<file>themes/default/mIconGeonode.svg</file>
<file>themes/default/mIconInfo.svg</file>
<file>themes/default/mIconImport.gif</file>
@@ -716,6 +718,7 @@
<file>themes/default/mActionAdd3DMap.svg</file>
<file>themes/default/mIndicatorNonRemovable.svg</file>
<file>themes/default/mIconFolder.svg</file>
<file>themes/default/mIconFolderLink.svg</file>
<file>themes/default/mIconFolderOpen.svg</file>
<file>themes/default/mIconFolderProject.svg</file>
</qresource>
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path d="M2.5 14.5v-13h8l3 3v10z" fill="#fff" fill-rule="evenodd" stroke="#888a85" stroke-linejoin="round"/><path d="M10.5 1.5v3h3z" fill="#eee" fill-rule="evenodd" stroke="#888a85" stroke-linejoin="round"/></svg>
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path d="M2.5 14.5v-13h8l3 3v10z" fill="#fff" fill-rule="evenodd" stroke="#888a85" stroke-linejoin="round"/><path d="M10.5 1.5v3h3z" fill="#eee" fill-rule="evenodd" stroke="#888a85" stroke-linejoin="round"/><path d="M5.507 10.495h4M8.505 8.505l1.819 1.995-1.82 1.995" fill="none" stroke="#333" stroke-linecap="round"/></svg>
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M1.5 2.501V13.75s.019.75.75.75h11.5s.749 0 .749-.75L14.5 4.5H9.2l-2-2H1.5z" fill="#eee" stroke="#888a85"/><path d="M5.507 10.495h4M8.505 8.505l1.819 1.995-1.82 1.995" fill="none" stroke="#333" stroke-linecap="round"/></svg>
@@ -960,11 +960,10 @@ QgsDirectoryParamWidget::QgsDirectoryParamWidget( const QString &path, QWidget *
labels << tr( "Name" ) << tr( "Size" ) << tr( "Date" ) << tr( "Permissions" ) << tr( "Owner" ) << tr( "Group" ) << tr( "Type" );
setHeaderLabels( labels );

QStyle *style = QApplication::style();
QIcon iconDirectory = QgsApplication::getThemeIcon( QStringLiteral( "mIconFolderOpen.svg" ) );
QIcon iconFile = QIcon( style->standardIcon( QStyle::SP_FileIcon ) );
QIcon iconDirLink = QIcon( style->standardIcon( QStyle::SP_DirLinkIcon ) );
QIcon iconFileLink = QIcon( style->standardIcon( QStyle::SP_FileLinkIcon ) );
QIcon iconDirectory = QgsApplication::getThemeIcon( QStringLiteral( "mIconFolder.svg" ) );
QIcon iconFile = QgsApplication::getThemeIcon( QStringLiteral( "mIconFile.svg" ) );
QIcon iconDirLink = QgsApplication::getThemeIcon( QStringLiteral( "mIconFolderLink.svg" ) );
QIcon iconFileLink = QgsApplication::getThemeIcon( QStringLiteral( "mIconFileLink.svg" ) );

QList<QTreeWidgetItem *> items;

0 comments on commit 94aa8d0

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