Re: [SailfishDevel] how can I translate the application name

2014-02-18 Thread Andrey Kozhevnikov
Wow! What a silly man? http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html On 19.02.2014 11:20, maledictusdema...@gmail.com wrote: You should not translate application name Wed Feb 19 2014 07:38:48 GMT+0300 (FET) получено от itviewer: Hi all, If I want my appli

Re: [SailfishDevel] how can I translate the application name

2014-02-18 Thread Andrey Kozhevnikov
Sorry, i dont understand why this man saying we shouldn't translate application names :D On 19.02.2014 12:54, Thomas Tanghus wrote: On Wednesday 19 February 2014 12:39 Andrey Kozhevnikov wrote: Wow! What a silly man? Please, even when answers are wrong, let's keep a decent tone he

Re: [SailfishDevel] Hidden information to ListView

2014-02-23 Thread Andrey Kozhevnikov
what the problem? You not forced to use all fields in any visual elements. You can use model.get(index).fieldname for getting any field from model On 23.02.2014 14:17, Jukka Heikkilä wrote: Hi Chris and others, yes I understand how to add more than one fields in the same append command. The pr

Re: [SailfishDevel] Sharing in Sailfish

2014-02-23 Thread Andrey Kozhevnikov
its in nemomobile transferengine plugins On 24.02.2014 01:49, Peter Pykäläinen wrote: Hi, how to use the sharing in a Sailfish application? I'm looking for similar what we had in Meego Harmattan. I guess it was called share-ui. Is there any way I can invoke the sharing functionality from my a

Re: [SailfishDevel] how to get qml debug output to file

2014-02-23 Thread Andrey Kozhevnikov
burch...@jolla.com>> wrote: On 04 Feb 2014, at 22:37, Tero Siironen mailto:tero.siiro...@iki.fi>> wrote: > Andrey Kozhevnikov mailto:coderusin...@gmail.com>> kirjoitti 4.2.2014 kello 23.14: > >> This is messages handler i'm using in my projects:

Re: [SailfishDevel] QML Format and Formatter objects info

2014-02-24 Thread Andrey Kozhevnikov
via plugins.qmltypes: Component { name: "DeclarativeFormatter" prototype: "QObject" exports: [ "Formatter 1.0" ] Enum { name: "FormatType" values: { "Timepoint": 0, "TimepointRelative":

Re: [SailfishDevel] uinput with maliit at sailfishapps

2014-02-24 Thread Andrey Kozhevnikov
I can suggest you to ask Jolla to implement system hwkb input method to disable vkb to appear, and fix android input. Thats 9000% better than hacking :) On 25.02.2014 03:43, Kimmo Lindholm wrote: Or something like that (Running this on Jolla (1.0.3.8) and it is related to the qwerty toh k

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-25 Thread Andrey Kozhevnikov
??? contextProperty should be set BEFORE loading QML source. On 25.02.2014 21:33, martin.gri...@gmail.com wrote: Hi, you should set the context property after loading the QML source. Then it ought to be available from QML. Martin Am Tue Feb 25 2014 15:06:39 GMT+0100 (CET) schrieb antonio.c

Re: [SailfishDevel] Gui and Kernel app

2014-02-25 Thread Andrey Kozhevnikov
Sailfish is GNU Linux, not Android. Why you need two packages? On 26.02.2014 02:43, Randolph wrote: Hi there one question for sailfish. When a Qt app with gui and kernel are compiled to android, then android has two apk installers, one for gui and one for kernel. But both cannot communicate i

Re: [SailfishDevel] Gui and Kernel app

2014-02-26 Thread Andrey Kozhevnikov
If you mean just Kernel + Gui development then no need in two packages. Combine them both. And no problem in SailfishOS to communicate between processes. You can use any favorite method. Everything works. On 26.02.2014 14:50, Kaj-Michael Lang wrote: On Tue, 2014-02-25 at 21:43 +0100, Randolph

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-26 Thread Andrey Kozhevnikov
start app in terminal and show output please On 26.02.2014 17:15, antonio.cano.go...@ovi.com wrote: Hi Thomas, I did both modification but the code does not work yet. Here is the new code: QGuiApplication *app = SailfishApp::application(argc, argv); QQuickView *view = Sailfish

Re: [SailfishDevel] HowTo package my resources (images/sounds/etc)

2014-02-27 Thread Andrey Kozhevnikov
res.files = Home/* res.path = /usr/share/mygame/resourcces INSTALLS += res On 28.02.2014 01:14, Iosif Hamlatzis wrote: ok thanks and if I am not making a Qt application but just a plain c/c++ application? Is there a way to define just the root of my assets folder? Let's say my tree is: c:\

Re: [SailfishDevel] Some API and sailfish app development questions

2014-03-04 Thread Andrey Kozhevnikov
mlite5 is C++ library, meego MNotification class adaptation for SailfishOS On 04.03.2014 23:01, Oleg Linkin wrote: Can I use mlite from qml? May be you have some examples or you can point me to this example? В письме от 4 марта 2014 21:50:40 пользователь Андрей Кожевников написал: 4. why? mli

Re: [SailfishDevel] Photo upload plugins

2014-03-04 Thread Andrey Kozhevnikov
you need to create plugins to nemo transfer engine On 05.03.2014 00:38, Oleg Linkin wrote: How I can add plugin for uploading/downloading photos from/to gallery as it does facebook? ___ SailfishOS.org Devel mailing list _

Re: [SailfishDevel] How to populate the ComboBox

2014-03-05 Thread Andrey Kozhevnikov
use Repeater in QML and Search in irc log and mailing list before asking. This question appeared many times already. On 06.03.2014 00:16, Jukka Heikkilä wrote: Hi, I have tried to find with out success how to populate the Combo Box dynamically directly from javascript when I'm loading the data

Re: [SailfishDevel] prefered way to build rpm package for a project written in python/pyotherside?

2014-03-05 Thread Andrey Kozhevnikov
well, i dont know other way than rpmbuild :) On 06.03.2014 03:13, Boris Pohler wrote: Hi, I wrote my first little program using python/pyotherside. I develop directly on the jolla-device (no sdk) and would like to build a rpm package to distribute to openrepos (and later to harbour, if python is

Re: [SailfishDevel] QML Dialog / DialogHeader - how to disable accepted button by default?

2014-03-08 Thread Andrey Kozhevnikov
use Bindings, or set canAccept: false by default and change dialog.canAccept after something happened. On 08.03.2014 17:40, Ragnar Kurm wrote: Hello, I'm trying to make a dialog where accept action can be disabled or enabled. I set canAccept explicitly false, but it still appears as active,

Re: [SailfishDevel] Folder permissions

2014-03-09 Thread Andrey Kozhevnikov
/usr/share/appname is read only for applications $HOME/.local/share/appname is read and write On 09.03.2014 23:33, Iosif Hamlatzis wrote: When deploying a game/application where should its resources (images/sounds/settings files) be stored so that the game/application can have both read and wr

Re: [SailfishDevel] Folder permissions

2014-03-09 Thread Andrey Kozhevnikov
Home/ which is wrong and the deployment fails. Is this another "feature" of the QtCreator IDE? And when I say "feature" I mean a bug, another thing that doesn't work like debugging on the emulator or the device from inside the IDE and I would have to resolve to comm

Re: [SailfishDevel] show/hide pulley menu items

2014-03-10 Thread Andrey Kozhevnikov
Its QML basics Silica reference cant explain all standard properties and functions, you should learn it yourself. On 11.03.2014 01:43, Vivian Brégier wrote: Thank you, this works just fine. And I always have at least one menuitem visible, so there is no need to hide the menu itself, but it i

Re: [SailfishDevel] slow app building

2014-03-10 Thread Andrey Kozhevnikov
i'm using build script using mb/mb2 + scp/(rsync + sftp). QtCreator just for coding :) On 11.03.2014 03:41, mikete...@gmail.com wrote: Hi All, first post here! I'm using the SailfishOS SDK to build apps and run them on a Jolla device. The whole building and deplying process takes about 35 sec

Re: [SailfishDevel] Infinity count of pages

2014-03-11 Thread Andrey Kozhevnikov
you can't loop the stack. you need to implement own components. On 12.03.2014 02:18, Oleg Linkin wrote: Hello. How I can realize in sailfish infinity pages loop. For example: MyProfilePage -> MyFriendsList -> MyFriendProfilePage -> MyFriend'sFriendsList -> MyFriend'sFriendProfilePage -> (...) B

Re: [SailfishDevel] Regarding %ghost directive

2014-03-14 Thread Andrey Kozhevnikov
http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html On 14.03.2014 13:16, Iosif Hamlatzis wrote: I was told in another thread that if I wanted my configuration and data files that my game places in the XDG basedir to be removed during uninstallation I should use the %gho

Re: [SailfishDevel] Folder permissions

2014-03-14 Thread Andrey Kozhevnikov
use *%preun*and*%postun* scriptlets, but its not allowed in harbour :D On 14.03.2014 13:43, Iosif Hamlatzis wrote: I cannot use the %ghost directive as I don't know the names of the data files that will be created during runtime, can I use the %ghost directive with wildcards?. Also the folder I

Re: [SailfishDevel] Folder permissions

2014-03-14 Thread Andrey Kozhevnikov
hink there are a lot of issues with this new platform. I didn't expect porting will be without an effort but then again I didn't have that much problem porting for example to iOS, considering that it's a platform the proposed language of development is Objective-C and not C/C++

Re: [SailfishDevel] One ListModel for multiple SilicaGridViews

2014-03-16 Thread Andrey Kozhevnikov
what kind of model you implementing? files model and abstract data model solutions can be differ On 16.03.2014 11:37, Tomek wrote: I am wondering how I could display a single ListModel in multiple SilicaGridViews (filtered)? Simply making an item invisible in a specific view does not work, bec

Re: [SailfishDevel] One ListModel for multiple SilicaGridViews

2014-03-16 Thread Andrey Kozhevnikov
caption and url and few booleans such as isFavourite and isActive. I would like to use the mentioned booleans, to filter out elements is a SilicaGridView. /Tomek Am 16.03.2014 um 10:03 schrieb Andrey Kozhevnikov mailto:coderusin...@gmail.com>>: what kind of model you implementing?

Re: [SailfishDevel] [Update] Changelog for SailfishOS update 4 (1.0.4.20)

2014-03-18 Thread Andrey Kozhevnikov
if you dont know what is openrepos/warehouse - you shouldnt worry :) On 18.03.2014 14:37, Erik Ridderby wrote: Hi, How can I see if I have openrepo enabled and how can I disable it? BR Erik > Den den 17 mars 2014 klockan 20:05 skrev Bernd Wachter : > > > Bernd Wachter writes: > > > Hi all, >

Re: [SailfishDevel] [Update] Changelog for SailfishOS update 4 (1.0.4.20)

2014-03-18 Thread Andrey Kozhevnikov
that no other unintentional repos is automagically added and I am now ready to update ;) BR Erik Den den 18 mars 2014 klockan 11:09 skrev Andrey Kozhevnikov : if you dont know what is openrepos/warehouse - you shouldnt worry :) On 18.03.2014 14:37, Erik Ridderby wrote: Hi, How can I see if I

Re: [SailfishDevel] How to get all applications installed on the phone?

2014-03-19 Thread Andrey Kozhevnikov
for sailfish apps you can use packagekit dbus api or rpm, for android no idea, sorry (reading /usr/share/applications/apkd-?) On 20.03.2014 12:28, itviewer wrote: Hi All, I want get all applications that installed on the phone,including Android applications and Sailfish applications 。 Does S

Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-03-19 Thread Andrey Kozhevnikov
you can make own C++ dbus helper for mce. its just nemomobile qml import not allowed On 20.03.2014 12:35, frances frederic wrote: hi all I've used dbus package to prevent jolla from sleeping using same code as /usr/lib/qt5/qml/Sailfish/Media/ScreenBlank.qml but it seems to be not allwed by

Re: [SailfishDevel] Multi-language app details on Harbour

2014-03-21 Thread Andrey Kozhevnikov
What language you want to add? On 22.03.2014 00:09, Lauri Nurmi wrote: Ahoy all, On the "Edit app" page at harbour.jolla.com, one can add a textual description about the app in multiple languages. But the only languages offered for adding are English and Finnish. Why is that? Also, is the li

Re: [SailfishDevel] Getting SMS notifications

2014-03-21 Thread Andrey Kozhevnikov
SMSListener::SMSListener(QObject *parent) : QObject(parent) { QDBusConnection::systemBus().connect("", "", "org.ofono.MessageManager", "IncomingMessage", this, SLOT(on

Re: [SailfishDevel] Why do I get "binding loop" error?

2014-03-24 Thread Andrey Kozhevnikov
flickable.contentHeight: column.height 24.03.2014 15:14, Luca Donaggio ?: I'm experiencing the same in a slightly different context (a SilicaListView with a ContextMenu dynamically created and on shown after a long press on each ListItem delegate). To me it seems related to the ContextMenu

Re: [SailfishDevel] android apk for sailfish os install

2014-03-24 Thread Andrey Kozhevnikov
you made my day, thank you Randolph! 24.03.2014 15:15, Randolph ?: Hi when will the app be released, that an apk installer on android will install sailfish os on Nexus 7 and Galaxy S 2 ? Is there any public source or test or wiki for that? Kind Regards Randolph

Re: [SailfishDevel] No QSerialPort

2014-03-26 Thread Andrey Kozhevnikov
there is sudo in mer-tools repo, i think 26.03.2014 17:07, Wim de Vries ?: On 03/26/2014 07:34 AM, Radek Polak wrote: On Tuesday, March 25, 2014 12:32:34 PM wsvries wrote: > Don know about OTG, but my Linux systems always attach a Generic Serial > Driver to the devices. > Why is Sailfi

[SailfishDevel] How to make vCard

2014-03-27 Thread Andrey Kozhevnikov
How to generate vCard for contact? What is preferred way to do it (if many)? ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] How to make vCard

2014-03-27 Thread Andrey Kozhevnikov
Thanks, found it. QVersitWriter + QVersitContactExporter 28.03.2014 06:29, Ove Kåven пишет: Den 27. mars 2014 18:33, skrev Andrey Kozhevnikov: How to generate vCard for contact? What is preferred way to do it (if many)? If you're using QtContacts, then it's best to also us

Re: [SailfishDevel] SMS for m2m communication

2014-03-29 Thread Andrey Kozhevnikov
you obliviously doesnt even know why exactly peoples having troubles when upgrading, wanna talk about it? :) It was caused because sailfish doesnt care about system packages with different versions placed in user repositories. No one os in the world have this problem. All modern os'es successf

Re: [SailfishDevel] SMS for m2m communication

2014-04-02 Thread Andrey Kozhevnikov
Sailfish have big capabilities. But most of questions you can get in this mailing lists based on Jolla Store (Harbour) publishing rules. 02.04.2014 21:43, Pasi Patama пишет: Have a look at the list archives, I remember posting in a thread that had exactly that topic. That was even way before la

[SailfishDevel] How do debug QML?

2014-04-04 Thread Andrey Kozhevnikov
Is there any useful method for debugging QML? QtCreator can't start debugging, everytime says "Debug failed". I can debug process with gdb locally, but how to debug QML? ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] app OrganizationName and harbour

2014-04-05 Thread Andrey Kozhevnikov
if appname/orgname is unset manually i'm getting those values by QStandardPaths: /home/nemo/.cache/$APPNAME/$APPNAME <- for cache /home/nemo/.local/share/$APPNAME/$APPNAME <- for data is it okay? 05.04.2014 21:57, Thomas Perl пишет: On 05 Apr 2014, at 17:27, Thomas Tanghus wrote: On Saturda

Re: [SailfishDevel] Where is the source code for the Sailfish OS version of fingerterm (and other GPL applications)

2014-04-12 Thread Andrey Kozhevnikov
David, you wrong Mehdi, you should look carefully its in master branch: https://github.com/nemomobile/fingerterm/tree/master if you ever used fingerterm on jolla you should be noticed its not ported to silica components and using legacy meego components instead. 12.04.2014 20:15, David Greaves

Re: [SailfishDevel] Where is the source code for the Sailfish OS version of fingerterm (and other GPL applications)

2014-04-12 Thread Andrey Kozhevnikov
se, why is there a Silica branch with the Meego components replaced with Silica components? Cheers, Mehdi On Sat, Apr 12, 2014 at 4:07 PM, Andrey Kozhevnikov mailto:coderusin...@gmail.com>> wrote: David, you wrong Mehdi, you should look carefully its in master b

Re: [SailfishDevel] Reading photo library without QtDocGallery

2014-04-13 Thread Andrey Kozhevnikov
QDir? :D 14.04.2014 05:21, Artem Marchenko ?: Hi All I am doing a photo-browsing related app and figured out that neither QtDocGallery, nor org.nemomobile.thumbnailer are not allowed imports anymore (I believe they were allowed by checker script just few days ago and Jolla's own example

Re: [SailfishDevel] Reading photo library without QtDocGallery

2014-04-13 Thread Andrey Kozhevnikov
t; On Monday, April 14, 2014 at 9:16, Andrey Kozhevnikov wrote: QDir? :D 14.04.2014 05:21, Artem Marchenko ?: Hi All I am doing a photo-browsing related app and figured out that neither QtDocGallery, nor org.nemomobile.thumbnailer are not allowed imports anymore (I believe they were allo

Re: [SailfishDevel] After April SDK Update Existing App fails on RPM deploy to Jolla Device: Possible rights problem

2014-04-16 Thread Andrey Kozhevnikov
IMHO you should manage file permissions yourself before deploying? 16.04.2014 18:39, christopher.l...@thurweb.ch пишет: Hi All I have just installed the April SDK update, and have opened an existing app, and am trying to deploy to my Jolla. The app worked with the previous SDK release, and i

Re: [SailfishDevel] SailfishOS SDK April update available tomorrow.

2014-04-16 Thread Andrey Kozhevnikov
Why you using Qt creator then? use mb/mb2 in mer sdk. 17.04.2014 12:47, Iosif Hamlatzis ?: Good morning to all Just updated my SDK with big disaster. Now it doesn't build or clean my project which used custom build/clean steps. In my game I don't need nor want to use Qt so I used the sam

Re: [SailfishDevel] Systems/Apps

2014-04-18 Thread Andrey Kozhevnikov
for Harbour its not allowed, because its executed with system privileges. for yourself you can hack /usr/share/jolla-settings/ put into entries/ json definitions file and put into pages/ your settings page 18.04.2014 22:52, Vincent B. пишет: Hi, Is there a way to configure homebrew apps from th

[SailfishDevel] Mitakuuluu now full opensource application.

2014-04-20 Thread Andrey Kozhevnikov
Just announcing to mailing lists my recent Mitakuuluu update. Now you can fork it, build yourself, make patches and send merge requests. Contributions and ideas are welcome! Licensed under WTFPL, you can do whatever you want with sources, i'll be happy if any piece of my code will help you in

Re: [SailfishDevel] SDK 1404 and translations

2014-04-22 Thread Andrey Kozhevnikov
you should create translations/harbour-yourproject-it.ts yourself. QtCreating not making translations for you, it just generates source translation and compiling existing translations. 22.04.2014 19:47, Luca Donaggio ?: Did I hit a bug with the newly added translations support? This two l

Re: [SailfishDevel] Path to main qml in resource file - not found whatever I try

2014-04-23 Thread Andrey Kozhevnikov
you can try to add INSTALLS -= qml somewhere after sailfishapp config line, or just rename folder name 23.04.2014 14:19, tw_bolek пишет: Thank you!!! Yes, QUrl("qrc:/myapp/main.qml") does the job!! Now, *PLEASE*, one more help request: what is the best way to EXCLUDE the qml folder from bein

Re: [SailfishDevel] Path to main qml in resource file - not found whatever I try

2014-04-23 Thread Andrey Kozhevnikov
show your full pro file 24.04.2014 00:39, tw_bolek пишет: Doesn't work :( INSTALLS -= qml doesn't seem to do anything, and renaming the qml folder results in an RPM build error - files not found Anything else, please? Gosh, it was so easy and obvious in Qt4.8 Thank you, Bolek you ca

Re: [SailfishDevel] Path to main qml in resource file - not found whatever I try

2014-04-23 Thread Andrey Kozhevnikov
okay, then try this: desktop.files = $${TARGET}.desktop desktop.path = /usr/share/applications icon.files = $${TARGET}.png icon.path = /usr/share/icons/hicolor/86x86/apps INSTALLS = desktop icon 24.04.2014 00:56, tw_bolek пишет: show your full pro file Hey Andrey, here you are. Nothing speci

Re: [SailfishDevel] Path to main qml in resource file - not found whatever I try

2014-04-23 Thread Andrey Kozhevnikov
did you made "clean" and removed build folder content? 24.04.2014 01:16, tw_bolek пишет: Doesn't work, either :(( The qml folder is still added to rpm. And while building the rpm I get messages about "overriding commands for target 'install_desktop'", "ignoring old commands for target 'insta

Re: [SailfishDevel] System clipboard and QApplication

2014-04-23 Thread Andrey Kozhevnikov
use QGuiApplication or QCoreApplication. QApplication itself is deprecated. There is also dark side hack for using QML clipboard: TextEdit { id: clipboard visible: false function setClipboard(value) { text = value selectAll() copy()

Re: [SailfishDevel] Is support for commercial apps a TABOO subject?

2014-04-24 Thread Andrey Kozhevnikov
AFAIK all upcoming harbour features are ASAP and to ETA in roadmap. 24.04.2014 13:33, tw_bolek пишет: On April 4 Duncan Waugh wrote: " [...] support commercial applications. Is there any news on when this is planned for integration?" No answer. On April 17 Marcin M. wrote: "Is there any est

Re: [SailfishDevel] Is support for commercial apps a TABOO subject?

2014-04-24 Thread Andrey Kozhevnikov
what are you talking about? payment support will be added to harbour when ready. there are no "avoid plans" 24.04.2014 17:05, Mikael Hermansson пишет: I think it would be very wrong strategy to "avoid" payment apps. But there probadly is more important stuff in the pipe from Jolla side to fix b

Re: [SailfishDevel] Some problems since 1.038+ update.

2014-04-28 Thread Andrey Kozhevnikov
if cover not displayed its problem with your cover page. show its code to us or try to guess yourself where is error. 28.04.2014 20:44, Gabriel Böhme ?: Hmm, will try it with QScopedPointers again, but I did this some days ago and the result was still the same. But will try it today again

Re: [SailfishDevel] App rejected...

2014-04-28 Thread Andrey Kozhevnikov
well, just stopping timer when app minimized is not enough? 29.04.2014 03:08, Peter Pykäläinen ?: Just got my app rejected due to: /"//sorry for rejecting your update, but it causes too high power consumption. It seems that app doesn't go to idle state when device does. How to measure pow

Re: [SailfishDevel] Source code of Silica Component Gallery qt-5

2014-04-30 Thread Andrey Kozhevnikov
SailfishOS/examples/componentgallery/ Where SailfishOS if path you installed SDK in. 01.05.2014 09:35, Nicolas Cisco ?: Hi!, i'm a new developer trying out the sailfish sdk, i've found a Silica Component Gallery already installed in the Sailfish Os image of the emulator. I was wondering i

Re: [SailfishDevel] Scrolling to keyboard focus

2014-05-05 Thread Andrey Kozhevnikov
Answer is making your application working properly, because in all my apps text filelds and areas are scrolled as they should :) 05.05.2014 23:13, Marcin M. ?: Hi, A long time ago I was told that if the field with keyboard focus isn't visible then the view will be scrolled so that it is v

Re: [SailfishDevel] Howto activate scrolling when the keyboard shows up ?

2014-05-07 Thread Andrey Kozhevnikov
flickable.contentHeight: column.height and remove all column geometry properties except width 08.05.2014 11:04, Matthias Barmeier пишет: Hi, I tried this but it doesn't help. Same as before. When the keyboard comes up it hides the last field of my dialog. My page looks like this: Dialog { D

Re: [SailfishDevel] SilicaListView inside a Column and SilicaFlickable

2014-05-10 Thread Andrey Kozhevnikov
wrong way. use Repeater instead of ListVIew 10.05.2014 19:11, Krisztian Olah ?: Hi everyone, I found this snippet in the Qt Devdays Beiing document(p16), I want to do something similar; Having a SilicaListView in a Column which in return is in a SilicaFlickable. SilicaFlickable { PullD

Re: [SailfishDevel] Howto access createEvent function in org.nemomobile.calendar ?

2014-05-11 Thread Andrey Kozhevnikov
Calendar is singleton type. You should use it in .js as following: .import org.nemomobile.calendar 1.0 as NemoCalendar var event = NemoCalendar.Calendar.createEvent() 12.05.2014 00:21, Matthias Barmeier пишет: Hi, I would like to access the createEvent function from a .js file. I tried the fol

Re: [SailfishDevel] Howto access createEvent function in org.nemomobile.calendar ?

2014-05-11 Thread Andrey Kozhevnikov
-only property "startTime" Is it possible to enable write-access to this porperty or is there a setter method ? Do you have a hint where I could read about the tricks necessary to manage calendar events ? Ciao Matze Am 11.05.2014 20:38, schrieb Andrey Kozhevnikov: Calendar is

Re: [SailfishDevel] Howto access createEvent function in org.nemomobile.calendar ?

2014-05-11 Thread Andrey Kozhevnikov
hanks again ! The link is very helpful ! Everything works as now :) Am 11.05.2014 22:05, schrieb Andrey Kozhevnikov: setStartTime https://github.com/nemomobile/nemo-qml-plugin-calendar/blob/master/src/calendarevent.h#L104 12.05.2014 01:58, Matthias Barmeier ?: Hi Andrey, thanks, works perfect

Re: [SailfishDevel] QML creates a Segfault

2014-05-13 Thread Andrey Kozhevnikov
Unknown script doing unknown work and producing unknown error. At least for me all working as expected :D 13.05.2014 17:00, Matthias Barmeier ?: Hi, when trying to download data in a WorkerScript thread I got this: bash: line 1: 1459 Segmentation fault QT_NO_JOURNALD_LOG=1 DISPLAY=:0.0 /

[SailfishDevel] Registration temporarily_unavailable

2014-05-14 Thread Andrey Kozhevnikov
Hello! Something happening with whatsapp registration. I'm getting registration fail with reason temporarily_unavailable last days. ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Spacing issues

2014-05-20 Thread Andrey Kozhevnikov
BackgroundItem { id: delegate width: parent.width height: Theme.itemSizeSmall Row { id: row x: Theme.paddingLarge anchors.verticalCenter: parent.verticalCenter spacing: Theme.paddingMedium onClicked: { //do something } Image { fillMode: Image.PreserveAspectCrop source: model.drunk_y_n? "../image

Re: [SailfishDevel] Spacing issues

2014-05-20 Thread Andrey Kozhevnikov
BackgroundItem { id: delegate width: parent.width height: Theme.itemSizeSmall Row { id: row x: Theme.paddingLarge anchors.verticalCenter: parent.verticalCenter spacing: Theme.paddingMedium onClicked: { //do something } Image { fillMode: Image.PreserveAspectCrop source: model.drunk_y_n? "../image

Re: [SailfishDevel] Spacing issues

2014-05-20 Thread Andrey Kozhevnikov
delegate: BackgroundItem { la-la-la } 20.05.2014 21:28, Chris Walker пишет: On Tue, 20 May 2014 20:06:41 +0600 Andrey Kozhevnikov wrote: BackgroundItem { id: delegate width: parent.width height: Theme.itemSizeSmall Row { id: row x: Theme.paddingLarge anchors.verticalCenter

Re: [SailfishDevel] Technical question: populating ListModel from C++

2014-05-23 Thread Andrey Kozhevnikov
you can check Mitakuuluu QueryExecutor asynchronous SQLite implementation: https://github.com/CODeRUS/mitakuuluu2/tree/master/threadworker And my contacts and converstaion models fetching data from SQLite: https://github.com/CODeRUS/mitakuuluu2/tree/master/client/src 23.05.2014 12:17, Kimmo Li

Re: [SailfishDevel] Screenshots in silica reference

2014-05-23 Thread Andrey Kozhevnikov
like this? https://together.jolla.com/question/39930/howto-take-a-screenshot-from-the-command-line/ 23.05.2014 15:11, Luca Donaggio ?: +1 for the screenshots On Fri, May 23, 2014 at 7:21 AM, Kimmo Lindholm > wrote: Hi, I so would like to see scree

Re: [SailfishDevel] Screenshots in silica reference

2014-05-23 Thread Andrey Kozhevnikov
ah, sorry, understood the topic in wrong way :) 23.05.2014 15:16, sfietkonstan...@free.fr пишет: No, just ask Jolla to put some screenshots inside the documentation, to show components in action. - Mail original - De: "Andrey Kozhevnikov" À: devel@lists.sailfishos.

Re: [SailfishDevel] Clear text predictions

2014-05-23 Thread Andrey Kozhevnikov
https://lists.sailfishos.org/pipermail/devel/2014-May/004151.html 23.05.2014 15:42, Peter Pykäläinen ?: Could you just disable word prediction all togehter? I always do that with search fields in my apps. // Peter Pykäläinen On 23 May 2014 12:30, Matthias Fehring

Re: [SailfishDevel] porting QML app to non sailfishos archs

2014-05-26 Thread Andrey Kozhevnikov
yes qt5 for android is stable, no idea about ios, sorry. and QtQuick 2.x modules are same for all platforms. 26.05.2014 18:07, mikete...@gmail.com пишет: Hi in short time I'm going to 'port' my pure QML application to android and ios. Currently I import QtQuick 2.0 and QtQuick.LocalStorage 2.0

[SailfishDevel] Changing video recorder resolution, bitrate and encoder

2014-05-26 Thread Andrey Kozhevnikov
issing plugins" error. I'm not targeted to Harbour, so i'm accepting any dark-size gst hacks :) With best regards, Andrey Kozhevnikov ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QThread priority

2014-05-27 Thread Andrey Kozhevnikov
it can't "doesn't help much". you initializing thread wrong. simple threading way is: MyXmlParser *parser = new MyXmlParser(xmlDocument); QThread *thread = new QThread(parser); parser->moveToThread(thread); QObject::connect(thread, SIGNAL(started()), parser, SLOT(parse())); QObject::connect(pars

Re: [SailfishDevel] QThread priority

2014-05-28 Thread Andrey Kozhevnikov
t emits itsfinished() signal connect(reply, SIGNAL(readyRead()), this, SLOT(parseReadyData()) ); } Thanks again Kris On 28 May 2014 06:16, Andrey Kozhevnikov <mailto:coderusin...@gmail.com>> wrote: it can't "doesn't help much". you initializing thread wrong.

Re: [SailfishDevel] IconButtin and highlight with own icons

2014-05-31 Thread Andrey Kozhevnikov
icon should be installed in themes icon and cached by themedaemon. theme imageprovider highlighting/coloring it. when you invoking icon as image://theme/icon-name it requesting image from "theme" imageprovider and it doing all internal work for you. 31.05.2014 23:47, Kimmo Lindholm ?: Hi,

Re: [SailfishDevel] ScrollDecorators' Colour

2014-06-02 Thread Andrey Kozhevnikov
ORLY? SilicaListView / SilicaFlickable { ... VerticalScrollDecorator { color: "red" } } 03.06.2014 10:41, Krisztian Olah ?: Hi list, Is it possible to change the colour of the ScrollDecorator component? I couldn't find anything regarding this in the Silica reference nor anywher

Re: [SailfishDevel] ScrollDecorators' Colour

2014-06-02 Thread Andrey Kozhevnikov
not the horizontal or vertical one. Mind you it is not documented at https://sailfishos.org/sailfish-silica/sailfish-silica-all.html for either of them. Sorry for the silly question. :$ On 3 June 2014 04:46, Andrey Kozhevnikov <mailto:coderusin...@gmail.com>> wrote:

Re: [SailfishDevel] ScrollDecorators' Colour

2014-06-02 Thread Andrey Kozhevnikov
Olah ?: Thanks Andrey, now it makes complete sense. Just one more question: Then ScrollDecorator is NOT derived from Vertical- and HorizontalScrollDecorator but composes/contains them, right? On 3 June 2014 05:11, Andrey Kozhevnikov <mailto:coderusin...@gmail.com>> wrote: S

Re: [SailfishDevel] Retrieve paramater from prev page on next page

2014-06-05 Thread Andrey Kozhevnikov
onClicked: pageStack.push(Qt.resolvedUrl("nextPage.qml"), {topic: "myTopic"}) second parameter should pass to push, not resolvedUrl function 05.06.2014 14:05, i...@flyingfischer.ch пишет: onClicked: pageStack.push(Qt.resolvedUrl("nextPage.qml", {topic: "myTopic"})) _

Re: [SailfishDevel] pageStack.pop() - send paramater to prev page

2014-06-05 Thread Andrey Kozhevnikov
if you using Dialog you can set dialog.acceptDestinationProperties = {something: true} 05.06.2014 17:48, i...@flyingfischer.ch пишет: Beginners follow up question Hello while transfering parameters works fine with pageStack.push(Qt.resolvedUrl("nextPage.qml", {topic: "myTopic"})) there seem

Re: [SailfishDevel] pageStack.pop() - send paramater to prev page

2014-06-05 Thread Andrey Kozhevnikov
why not to use Dialog instead of Page for this use case? 05.06.2014 21:28, Michael Neufing ?: Hi Chris, one problem I see with your solution is that the App could take long time to launch, when there are a bunch of Pages that have to be initialized at launch (depending on the structure of

Re: [SailfishDevel] pageStack.pop() - send paramater to prev page

2014-06-05 Thread Andrey Kozhevnikov
i have an another idea for you: ... var newPage = pageStack.push(Qt.resolvedUrl("newPage.qml"), {...}) newPage.done.connect(thisPage.pageDone) ... //thisPage ... function pageDone(var1, var2, var3, ...) { //do something with var } ... //newPage ... signal done(string var1, int var2, string var3

Re: [SailfishDevel] Detecting OS version

2014-06-10 Thread Andrey Kozhevnikov
10.06.2014 20:30, Luca Donaggio ?: Hi all, recent update (1.0.7.16) added fast scrolling to Silica flickable QML components (like SilicaListView). Before, for long lists I added a pull up menu with an option to fast-scroll back to the top, others (Together app for example) used a custom

Re: [SailfishDevel] Detecting OS version

2014-06-10 Thread Andrey Kozhevnikov
check https://github.com/veskuh/Tweetian/commit/3d50e172455cf94f2dd8064f7078ff94fc430f9d 10.06.2014 20:30, Luca Donaggio ?: Hi all, recent update (1.0.7.16) added fast scrolling to Silica flickable QML components (like SilicaListView). Before, for long lists I added a pull up menu with an

Re: [SailfishDevel] Lack of padding

2014-06-11 Thread Andrey Kozhevnikov
you can't use any vertical anchors inside column and your Labels lack of "width" property also ;) 12.06.2014 01:14, Jukka Heikkilä ?: Hi, I have tried to search a solution to this problem, but didn't found any reason why this now work. I have a next code inside SilicaFlickable: Column {

Re: [SailfishDevel] rpminstall signal packageStatusChanged

2014-06-12 Thread Andrey Kozhevnikov
works for me: QDBusConnection::sessionBus().connect("com.jolla.jollastore", "/StoreClient", "com.jolla.jollastore", "packageStatusChanged", this, SIGNAL(onPackageStatusChanged(QString,int))); void TestApp::onPackageStatusChanged(const QString &package, int status) { qDebug() << "packageSt

Re: [SailfishDevel] Prototype 'TextBaseItem' from 'TextBase' could not be resolved (M301)

2014-06-14 Thread Andrey Kozhevnikov
you need to show your code :) 14.06.2014 13:34, i...@flyingfischer.ch пишет: I wonder if this is connected to this message in the console of the IDE version 1406, when deploying the App: (process:1529): dconf-CRITICAL **: unable to open file '/etc/dconf/db/vendor': /etc/dconf/db/vendor: inval

Re: [SailfishDevel] Deploy QSQLite database

2014-06-17 Thread Andrey Kozhevnikov
you should build and deploy as RPM package ;) 18.06.2014 03:42, Lukas Vogel ?: Hi there, I try to create an app in which I want to have an existing database bind in the binary. My approach was the following: in pro file: QT+=sql database.files = stations.db database.path = /home/nemo

Re: [SailfishDevel] Notifications API

2014-06-29 Thread Andrey Kozhevnikov
/usr/share/lipstick/notificationcategories 30.06.2014 04:28, Tomasz Sterna ?: Dnia 2014-06-29, nie o godzinie 15:54 +, Jonni Rainisto pisze: https://github.com/nemomobile/mlite/blob/master/src/mnotification.h Thanks a lot, that works great. :-) Any pointers where do I look for availab

Re: [SailfishDevel] Cam and Microphone as Plug: Sailfish Privacy Device like the ARA project

2014-06-30 Thread Andrey Kozhevnikov
he want physically detach microphone manually without disassembling phone body 01.07.2014 00:26, Philippe De Swert пишет: Hi, On 30/06/14 21:21, Randolph wrote: Hello, one question regarding the next Sailfish Device, phone and tablet: Can you ask your manufacturer to provide devices, with a

Re: [SailfishDevel] Notifications API

2014-07-07 Thread Andrey Kozhevnikov
grab sources, compile and deploy with your app. 07.07.2014 13:24, Thomas Amler пишет: Thanks for the clarification. :-) Can you give me a hint, how this could be done? Am 05.07.2014 23:06, schrieb Piotr Tworek: It's not forbidden however to ship your own copy of nemo-qml-plugin-notifications

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Andrey Kozhevnikov
you do not need to reload page, so there wouldn't any navigation problems at all :) 10.07.2014 19:23, Chris Walker пишет: On Thu, 10 Jul 2014 12:45:46 + fasza2mob...@gmail.com wrote: Hi Chris, Why don't you just update your model when the data changes? The view(s) should update automatica

Re: [SailfishDevel] Could not resolve the prototype ‘TextBaseItem’ of ‘TextBase’. (M301)

2014-07-11 Thread Andrey Kozhevnikov
This is not error and just warning, and you can ignore it and continue developing. 12.07.2014 02:23, Andreas Heil пишет: Hi all, I recently started developing for SailfishOS using the latest SDK on Mac OS X. Unfortunately, I encountered an issue trying to use the TextField control in QML. Q

Re: [SailfishDevel] Failed to load platform plugin "xcb".

2014-07-12 Thread Andrey Kozhevnikov
you should start silica app with invoker 13.07.2014 00:10, Jukka Heikkilä ?: Hi folks! During developing my program I have mostly used Emulator to run the app and sometimes also real device and testing has been worked fine on both. Now I faced the next problem with real device. When I pre

  1   2   3   4   5   6   >