Commit 7eb3350b authored by Ronan's avatar Ronan

feat(images): re-activate image providers

parent 47666220
......@@ -6,7 +6,7 @@
<defs></defs>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="new_call_clic">
<rect class="color-s-fill" fill="#D64D00" transform="translate(20.000000, 20.000000) scale(1, -1) translate(-20.000000, -20.000000) " x="0" y="0" width="40" height="40" rx="5"></rect>
<rect class="color-b-fill" fill="#D64D00" transform="translate(20.000000, 20.000000) scale(1, -1) translate(-20.000000, -20.000000) " x="0" y="0" width="40" height="40" rx="5"></rect>
<path d="M27.8611356,23.6266924 C26.2272911,20.0061559 21.3641023,17.5087474 17.3132709,17.5087474 L17.2289128,17.5087474 C13.1775336,17.5087474 8.31324924,20.0075093 6.68031774,23.6270791 L7.27611954,28.3148677 L12.4955478,28.3148677 L12.864934,23.6493135 L21.6774323,23.6493135 L22.0459055,28.3148677 L27.2653338,28.3148677 L27.8611356,23.6266924 L27.8611356,23.6266924 Z" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" transform="translate(17.270727, 22.911808) rotate(-135.000000) translate(-17.270727, -22.911808) "></path>
<path d="M25,12 L25,17.5" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M27.75,14.75 L22.25,14.75" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"></path>
......
......@@ -6,7 +6,7 @@
<defs></defs>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="new_conference_clic">
<rect class="color-s-fill" fill="#D64D00" transform="translate(20.000000, 20.000000) scale(1, -1) translate(-20.000000, -20.000000) " x="0" y="0" width="40" height="40" rx="5"></rect>
<rect class="color-b-fill" fill="#D64D00" transform="translate(20.000000, 20.000000) scale(1, -1) translate(-20.000000, -20.000000) " x="0" y="0" width="40" height="40" rx="5"></rect>
<path d="M12.995,18.684375 C14.2175,18.684375 15.20875,19.6775 15.20875,20.90125 C15.20875,21.486875 14.981875,22.02 14.61125,22.41625 C14.55875,22.471875 14.579375,22.4625 14.521875,22.5125 L14.614375,22.575 C17.968125,24.0375 17.10875,26.49625 17.10875,26.49625 C14.948125,27.1825 12.99875,27.07625 12.99875,27.07625 L12.949375,27.07625 C12.949375,27.07625 11,27.1825 8.84,26.49625 C8.84,26.49625 7.98,24.0375 11.334375,22.575 L11.42625,22.5125 C11.36875,22.4625 11.389375,22.471875 11.3375,22.41625 C10.966875,22.02 10.74,21.486875 10.74,20.90125 C10.74,19.6775 11.730625,18.684375 12.953125,18.684375 L12.995,18.684375 L12.995,18.684375 Z M25.949375,18.684375 C27.171875,18.684375 28.1625,19.6775 28.1625,20.90125 C28.1625,21.486875 27.935,22.02 27.565,22.41625 C27.513125,22.471875 27.533125,22.4625 27.475625,22.5125 L27.568125,22.575 C30.9225,24.0375 30.0625,26.49625 30.0625,26.49625 C27.9025,27.1825 25.9525,27.07625 25.9525,27.07625 L25.903125,27.07625 C25.903125,27.07625 23.95375,27.1825 21.794375,26.49625 C21.794375,26.49625 20.93375,24.0375 24.288125,22.575 L24.38,22.5125 C24.3225,22.4625 24.34375,22.471875 24.29125,22.41625 C23.920625,22.02 23.69375,21.486875 23.69375,20.90125 C23.69375,19.6775 24.685,18.684375 25.906875,18.684375 L25.949375,18.684375 L25.949375,18.684375 Z M19.471875,7.5 C20.694375,7.5 21.685,8.4925 21.685,9.716875 C21.685,10.3025 21.458125,10.835625 21.0875,11.231875 C21.035625,11.2875 21.05625,11.27875 20.99875,11.328125 L21.09125,11.39 C24.445,12.8525 23.585,15.311875 23.585,15.311875 C21.425,15.998125 19.475625,15.891875 19.475625,15.891875 L19.425625,15.891875 C19.425625,15.891875 17.47625,15.998125 15.316875,15.311875 C15.316875,15.311875 14.45625,12.8525 17.810625,11.39 L17.903125,11.328125 C17.845,11.27875 17.86625,11.2875 17.81375,11.231875 C17.443125,10.835625 17.21625,10.3025 17.21625,9.716875 C17.21625,8.4925 18.2075,7.5 19.429375,7.5 L19.471875,7.5 L19.471875,7.5 Z M23.01625,30.265 C20.89625,32.37875 17.45875,32.37875 15.33875,30.265 M15.8075,32.5 L15.33875,30.265 L17.58,29.7975 L15.8075,32.5 Z M7.5,16.72 C7.5,13.73 9.93,11.306875 12.92875,11.306875 M11.011875,10.056875 L12.92875,11.306875 L11.675,13.2175 L11.011875,10.056875 Z M25.8175,11.306875 C28.815625,11.306875 31.24625,13.730625 31.24625,16.72 M32.5,14.80875 L31.24625,16.72 L29.33,15.47 L32.5,14.80875 Z" stroke="#FFFFFF" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"></path>
</g>
</g>
......
......@@ -246,7 +246,7 @@ ImageProvider::ImageProvider () : QQuickImageProvider(
QImage ImageProvider::requestImage (const QString &id, QSize *size, const QSize &requestedSize) {
const QString path = QStringLiteral(":/assets/images/%1").arg(id);
qInfo() << QStringLiteral("Image `%1` requested.").arg(path);
qDebug() << QStringLiteral("Image `%1` requested.").arg(path);
QElapsedTimer timer;
timer.start();
......@@ -298,7 +298,7 @@ QImage ImageProvider::requestImage (const QString &id, QSize *size, const QSize
QPainter painter(&image);
renderer.render(&painter);
qInfo() << QStringLiteral("Image `%1` loaded in %2 milliseconds.").arg(path).arg(timer.elapsed());
qDebug() << QStringLiteral("Image `%1` loaded in %2 milliseconds.").arg(path).arg(timer.elapsed());
return image;
}
......@@ -49,8 +49,8 @@ Colors::Colors (QObject *parent) : QObject(parent) {
#if LINPHONE_FRIDAY
if (isLinphoneFriday()) {
setProperty("i", QColor("#F48D8D"));
setProperty("s", QColor("#F58585"));
setProperty("t", QColor("#FFC5C5"));
setProperty("b", QColor("#F58585"));
setProperty("m", QColor("#FFC5C5"));
}
#endif // if LINPHONE_FRIDAY
}
......
......@@ -9,6 +9,6 @@ QtObject {
property int sizeMax: 999999
property string imagesFormat: '.svg'
// property string imagesPath: 'image://internal/'
property string imagesPath: 'qrc:/assets/images/'
property string imagesPath: 'image://internal/'
// property string imagesPath: 'qrc:/assets/images/'
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment