Re: [SailfishDevel] using icon image provider with custom icons

2020-05-25 Thread Julien Blanc
Le lundi 25 mai 2020 à 14:47 +0300, David Llewellyn-Jones a écrit : > On 25/05/2020 14:31, Julien Blanc wrote: > [snip] > > > > Isn't there something smarter to do ? I can't find where the theme > > image provider gets registered, but i suppose it would be a far > > better > > solution to just ext

Re: [SailfishDevel] using icon image provider with custom icons

2020-05-25 Thread richardg via Devel
Could https://doc.qt.io/qt-5/qml-qtgraphicaleffects-coloroverlay.html be used for this purpose? (I use it for an image in my hud app, haven't used it to color custom icons) On Monday, 25 May 2020, Dmitriy Sedov wrote: > In my case, i hust use standart image with custom ShaderEffect , > like in

Re: [SailfishDevel] using icon image provider with custom icons

2020-05-25 Thread Dmitriy Sedov
In my case, i hust use standart image with custom ShaderEffect , like in my button implementation MouseArea { id: iconButton width: panel.buttonSize height: panel.buttonHeight Image { id: buttonImage source: emojiModel.categoryIcon(modelData); anchors.cen

Re: [SailfishDevel] using icon image provider with custom icons

2020-05-25 Thread David Llewellyn-Jones
On 25/05/2020 14:31, Julien Blanc wrote: [snip] > I’d like to benefit from icon coloring and correct size selection. > However, it seems the "theme" icon provider only looks in the system > folders, not the app folder (at least that's what strace shows). > > From a quick look, it seems every app i

[SailfishDevel] using icon image provider with custom icons

2020-05-25 Thread Julien Blanc
Hello, I’m currently in the process of integrating custom icons into my app. I need this because the available icons in the silica theme simply do not cover every use case. I’d like to benefit from icon coloring and correct size selection. However, it seems the "theme" icon provider only looks in