Re: [SailfishDevel] Detecting OS version

2014-06-10 Thread Joona Petrell
Hi Luca, We haven't yet started versioning Silica APIs (though we probably should soon), sorry, but you can check if quickScroll property on your flickable has been defined (myFlickable.quickScroll === undefined) to check if the quick scroll functionality is available. Cheers, Joona

Re: [SailfishDevel] Jolla release plan for high level features - update10

2014-11-06 Thread Joona Petrell
Hi Luciano, 3rd party apps will use similar tooling for deploying scalable icons as the platform apps. We will provide instructions how to make you icons scalable as part of future Silica UI toolkit documentation. The source icon format will be a variant of SVG. The current plan is to render th

Re: [SailfishDevel] Jolla release plan for high level features - update10

2014-11-06 Thread Joona Petrell
pers Subject: Re: [SailfishDevel] Jolla release plan for high level features - update10 On Thu, Nov 6, 2014 at 2:17 PM, Joona Petrell wrote: > 3rd party apps will use similar tooling for deploying scalable icons as the > platform apps. We will provide instructions how to make you icons

Re: [SailfishDevel] CoverAction problem: iconSource: 'qrc:/'

2014-11-10 Thread Joona Petrell
Hi, This is unfortunately caused by the cover action architecture. Cover action icons are shown by the compositor on Homescreen side, which cannot easily access application's own qrc files. Br, Joona From: devel-boun...@lists.sailfishos.org [devel-boun

Re: [SailfishDevel] dqml - Sailfish.Silica is not installed

2016-07-01 Thread Joona Petrell
te the QML File on my Linux Host > an run it with dqml - am i wrong ? > So i understand the youtube video from Joona Petrell > >> Are you using the correct Qt? > > The QT5 from Manajro Linux, and the dqml on my Host. > > > Silica i did not found only in ( > /home/use

Re: [SailfishDevel] dqml

2016-07-03 Thread Joona Petrell
Hi Petr, Unfortunately you cannot currently. Dqml is not a productised tool. Qt just announced a new project called QmlLive http://code.qt.io/cgit/qt-apps/qmllive.git as part of their Qt Automotive Suite. Would be awesome to get it integrated to Sailfish SDK. Before we have time to work on it

Re: [SailfishDevel] Resolution-independent in-app icons

2016-07-21 Thread Joona Petrell
Hi, Yeah avoid scaling graphics on the device. The result is often not optimal, and both the scaling and loading unnecessarily big graphics downgrades the performance of your app. > is there some SFOS image resizing script I can run on RPM's post-install We have resizing tool called sailfish-

Re: [SailfishDevel] Resolution-independent in-app icons

2016-07-22 Thread Joona Petrell
> Thanks. This was very helpful. I assume these z-values are the same as Theme.pixelRatio? Yes. >> Let say I would like to create my custom set of icons for my app. Is there >> any good approach to figure out (in C++), which icon set is used in the >> system, which Zx.x? > dconf /desktop/sailf

Re: [SailfishDevel] Way to determine the height of a cover action?

2016-10-24 Thread Joona Petrell
Hi, Excellent question. Unfortunately and a bit surprisingly (sorry!) no such API exists yet. We noticed that also recently, in the second upcoming release after the current public (Sailfish OS 2.0.4) we'll introduce Cover.coverActionArea API, which is an Item that can be anchored to or you can

Re: [SailfishDevel] ColumnView is not scaling properly with ComboBox including ContextMenu.

2018-08-06 Thread Joona Petrell
Hi Riku, ColumnView is a very limited component, created to work-around limitations in Qt Quick views. But you are right, there is a bug in ColumnView. ColumnView doesn't behave nicely when delegates are ComboBoxes, the dynamic sizing of ContextMenu only works with ListItems. I created a bug fo

Re: [SailfishDevel] Dynamic QML refresh (localization)

2019-05-27 Thread Joona Petrell
Hi Tamas, Dynamic translations are tricky thing to accomplish in Qt. There is some support in Qt to accomplish dynamic language change inside a Qt app, but Qt-based platforms are a different story. Currently the work effort of allow language change during runtime for a full platform like Sailfi

Re: [SailfishDevel] Silica QML objects that can have a menu property

2019-11-03 Thread Joona Petrell
imitation that assumes each grid delegate has the same dimensions. I hope some day Qt gains more sophisticated views, which allow aggregating content from multiple models, supports dynamically sized grid items, more natural stacking flows, and so on. Br, Joona Petrell __

Re: [SailfishDevel] Silica Wishlist: InfoBanner

2013-03-04 Thread Joona Petrell
Hi Thomas, Sailfish UI style is different from Harmattan, so there may not always be a Sailfish Silica component to match the earlier components. Still, we are planning to introduce many familiar common components like InfoBanner to make the porting existing applications easier. Stay tuned. :)

Re: [SailfishDevel] Make cover page equal to First page

2013-06-13 Thread Joona Petrell
Hi João, Application cover should have it's own UI, because it has different layout dimensions than the full-screen application page, different background (often CoverBackground) and in most cases should have cover actions. Cover and a page can share an UI component, provided that UI component

Re: [SailfishDevel] Search Field Component

2013-08-14 Thread Joona Petrell
Hi Dimitris, Silica SearchField is just a specially-styled TextField, the actual search string filtering should be implemented in the application model (QAbstractListModel or QML ListModel). For an example of how to use SearchField see Search page in Component Gallery. When displaying the searc

Re: [SailfishDevel] SailfishOS style buttons

2013-09-30 Thread Joona Petrell
Hi Олег, Pulley menus are good for global actions relevant for the page ("New message", "Search", "Sync", "Update"), context menus and icon buttons are more appropriate for actions related to a specific content item (photo, person, location, song, etc.) displayed inside the page. As a rule of

Re: [SailfishDevel] Internationalization

2013-12-30 Thread Joona Petrell
Hi Flaviano, Jolla is working on a collaborative translation tool. You can follow the progress in https://together.jolla.com/question/5367/collaborative-platform-to-translate-apps-os-in-other-languages Cheers, Joona From: devel-boun...@lists.sailfishos.

Re: [SailfishDevel] jolla-mediaplayer cant handle file url for opening

2013-12-30 Thread Joona Petrell
Hi Andrey, > jolla-mediaplayer cant handle file url for opening Wrote a bug about it, hopefully fixed promptly. :) Thanks, Joona From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [coderusin..

[SailfishDevel] Silica API documentation on sailfishos.org website updated

2014-02-07 Thread Joona Petrell
Hi, As requested on Together Jolla website we have just updated the outdated Silica documentation on our developer website to match the latest SDK. See https://sailfishos.org/sailfish-silica/index.html We have also included a new UI development guide called Common Pitfalls in Sailfish Applicat

Re: [SailfishDevel] Silica API documentation on sailfishos.org website updated

2014-02-09 Thread Joona Petrell
ca API documentation on sailfishos.org website updated Am 07.02.2014 13:36, schrieb Joona Petrell: > Hi, > > As requested on Together Jolla website we have just updated the outdated > Silica documentation on our developer website to match the latest SDK. > > See https://sailfishos.org/sa