1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Another HighDPI icons

This commit is contained in:
David Rosca 2016-12-30 16:04:37 +01:00
parent 9a356a61d5
commit 6afc433ac8
11 changed files with 51 additions and 8 deletions

View File

@ -13,7 +13,6 @@
<file>icons/menu/window-new.svg</file>
<file>icons/other/about.png</file>
<file>icons/other/about@2x.png</file>
<file>icons/other/feed.png</file>
<file>icons/other/bigstar.png</file>
<file>icons/locationbar/safe.png</file>
<file>icons/locationbar/unsafe.png</file>
@ -54,13 +53,13 @@
<file>icons/sites/w3.png</file>
<file>icons/other/loading.png</file>
<file>icons/other/loading@2x.png</file>
<file>icons/other/empty-page.png</file>
<file>icons/other/webpage.svg</file>
<file>icons/menu/privatebrowsing.png</file>
<file>icons/menu/settings.svg</file>
<file>icons/other/startpage.png</file>
<file>icons/other/startpage@2x.png</file>
<file>icons/other/audioplaying.png</file>
<file>icons/other/audiomuted.png</file>
<file>icons/other/audioplaying.svg</file>
<file>icons/other/audiomuted.svg</file>
<file>icons/preferences/tools-check-spelling.png</file>
</qresource>
</RCC>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 B

View File

@ -0,0 +1,22 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<defs id="defs3051">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text {
color:#4d4d4d;
}
.ColorScheme-NegativeText {
color:#da4453;
}
</style>
</defs>
<path
style="fill:currentColor;fill-opacity:1;stroke:none"
class="ColorScheme-Text"
d="M 8,2 4,5.199 4,10.801 8,14 9,14 9,2 Z m -6,4.000283 0,4 1,0 0,-4 z"
/>
<path
style="fill:currentColor;fill-opacity:1;stroke:none"
class="ColorScheme-NegativeText"
d="M 10 7 L 10 9 L 15 9 L 15 7 L 10 7 z "
/>
</svg>

After

Width:  |  Height:  |  Size: 642 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 B

View File

@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<defs id="defs3051">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text {
color:#4d4d4d;
}
</style>
</defs>
<path
style="opacity:1;fill:currentColor;fill-opacity:1;stroke:none"
d="M 8 2 L 4 6 L 4 10 L 8 14 L 9 14 L 9 2 L 8 2 z M 12.064453 3 L 11.306641 3.4804688 C 12.423224 4.8284501 13.01704 6.3963674 13.017578 7.9980469 C 13.013278 9.5983362 12.416776 11.164113 11.298828 12.509766 L 12.068359 13 C 13.32703 11.513919 13.998369 9.7754967 14 7.9980469 C 13.996227 6.2216198 13.323562 4.4846369 12.064453 3 z M 10.767578 4.4609375 L 10 4.9472656 C 10.698954 5.8743941 11.06889 6.9282736 11.072266 8.0019531 C 11.069966 9.0761572 10.700653 10.130745 10.001953 11.058594 L 10.769531 11.544922 C 11.607241 10.476929 12.05168 9.2516769 12.054688 8.0019531 C 12.050587 6.7527495 11.60553 5.5282095 10.767578 4.4609375 z M 2 6 L 2 10 L 3 10 L 3 6 L 2 6 z "
class="ColorScheme-Text"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -272,7 +272,6 @@ QString QupZillaSchemeReply::speeddialPage()
if (dPage.isEmpty()) {
dPage.append(QzTools::readAllFileContents(":html/speeddial.html"));
dPage.replace(QLatin1String("%FAVICON%"), QLatin1String("qrc:icons/other/empty-page.png"));
dPage.replace(QLatin1String("%IMG_PLUS%"), QLatin1String("qrc:html/plus.png"));
dPage.replace(QLatin1String("%IMG_CLOSE%"), QLatin1String("qrc:html/close.png"));
dPage.replace(QLatin1String("%IMG_EDIT%"), QLatin1String("qrc:html/edit.png"));

View File

@ -40,8 +40,8 @@ TabIcon::TabIcon(QWidget* parent)
s_data = new TabIcon::Data;
s_data->animationPixmap = QIcon(QSL(":icons/other/loading.png")).pixmap(288, 16);
s_data->framesCount = s_data->animationPixmap.width() / s_data->animationPixmap.height();
s_data->audioPlayingPixmap = QIcon::fromTheme(QSL("audio-volume-high"), QIcon(QSL(":icons/other/audioplaying.png"))).pixmap(16);
s_data->audioMutedPixmap = QIcon::fromTheme(QSL("audio-volume-muted"), QIcon(QSL(":icons/other/audiomuted.png"))).pixmap(16);
s_data->audioPlayingPixmap = QIcon::fromTheme(QSL("audio-volume-high"), QIcon(QSL(":icons/other/audioplaying.svg"))).pixmap(16);
s_data->audioMutedPixmap = QIcon::fromTheme(QSL("audio-volume-muted"), QIcon(QSL(":icons/other/audiomuted.svg"))).pixmap(16);
}
m_updateTimer = new QTimer(this);

View File

@ -166,7 +166,7 @@ QIcon IconProvider::emptyWebIcon()
QImage IconProvider::emptyWebImage()
{
if (instance()->m_emptyWebImage.isNull()) {
instance()->m_emptyWebImage = QPixmap(":icons/other/empty-page.png").toImage();
instance()->m_emptyWebImage = QPixmap(":icons/other/webpage.svg").toImage();
}
return instance()->m_emptyWebImage;