[01:31] rpadovani: around? === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chriadam is now known as chriadam|away === chihchun_afk is now known as chihchun [10:14] zsombi_: ahayzen was yesterday trying something similar to what you are doing: http://pastebin.ubuntu.com/12209037/ [10:14] zsombi_: but yeah, like that you only need a single function binding [10:15] t1mp, are you at the sprint? [10:15] ahayzen: no [10:15] ah [10:16] t1mp: yes, ans as I said, there can be only one function set there... and that's not enough for us [10:16] right [10:16] zsombi_: what if we don't return anything in the addPageTo*Column, and we add a pageAdded(Page) signal? [10:17] ahayzen: the problem with the incubator is that only a single functin can be bound to onStatusChanged. So if we watch the event internally, you cannot use it any more from the returned incubator [10:17] *function [10:17] :-/ [10:17] but you would only ever want it todo ^^ anyway right? [10:17] so you could just do that internally ? [10:18] t1mp, what would happen if you did Connections { target: pageIncubator; onStatusChanged: {} } ? [10:24] if I understood zsombi_'s explanation well, you cannot do that because the onStatusChanged of the incubator is not a real signal, but a callback function [10:26] ah [10:27] kalikiana: do you have time for a quick review? https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/headercontents/+merge/269436 [10:28] kalikiana: or slow ;) any speed you like actually [10:30] t1mp, is there a recommended way of doing different header actions per head section? assuming something like using states in the root page ? [10:30] ahayzen: what do you mean with head section? [10:31] ahayzen: you mean in the different columns in the AdaptivePageLayout? [10:31] ahayzen: each Page in a column has its own actions which will be shown in the (sub)header of that column [10:31] head { sections { } } [10:31] we have different header actions per section, i've got it working one sortof hacky way trying to figure out if there is a better way [10:33] ahayzen: are you using the sections.model to specify the sections? [10:33] ahayzen: instead of the model with strings, you can give a list of Actions to the "actions" property [10:33] t1mp, yup [10:33] ooo [10:34] t1mp, are there any examples of this? [10:35] yes [10:35] uhm.. the online docs are probably not up-to-date :( [10:35] yeah :'( [10:35] * ahayzen looks in the code [10:36] ahayzen: if you did a "qmake && make docs" in a recent lp:ubuntu-ui-toolkit checkout, then check documentation/html/qml-ubuntu-components-sections.html#actions-prop [10:36] ah :-) [10:37] ahayzen: head.sections is a Sections item, so it works the same in the header, just set head.sections.actions: [ ... ] [10:37] found it :-) [10:37] hmm that looks possible..not the next challenge will be the different states [10:37] as they have like search bars :-) [10:39] t1mp: lol, lemme make some tea and do a slow review then ;-) [11:28] t1mp, is there a supported way for starting on a different head section index other than 0 ? eg this doesn't work http://pastebin.ubuntu.com/12213477/ [11:29] ahayzen: it should work. Can you report a bug? [11:29] if i delay it enough so that selectedIndex is set after everything has been fully created, it seems to work [11:29] okies :-) [11:36] t1mp, bug 1489850 [11:36] bug 1489850 in ubuntu-ui-toolkit (Ubuntu) "Page head sections always start on selectedIndex = 0" [Undecided,New] https://launchpad.net/bugs/1489850 [11:37] ahayzen: thanks. I confirmed it [11:37] t1mp, awesome thanks :-) [11:37] * ahayzen appears to be creating loads of work for the SDK folks ;-) [11:45] ahayzen: no you are doing good work pointing out the flaws that we still need to fix in new components :) [11:45] t1mp, hehe no problem :-) are they likey to be fixed in the same timeframe as the others? eg OTA7ish ? [11:46] as all these things i find will be blockers to landing convergence for music [11:47] I'll do my best for OTA7, but it might be OTA8 [11:47] cool :-) [11:53] Hello guys [11:54] Someone has a tutorial for translate an application (ubuntu touch) with qmake ? === MacSlow is now known as MacSlow|lunch [12:09] Nymerea: https://developer.ubuntu.com/en/apps/qml/tutorials/internationalizing-your-app/ [12:09] Mirv: ^thanks for finding the link :) [12:10] t1mp, thank you, I'm going to check it [12:14] tiyou're welcome :D [12:14] t1mp === chihchun is now known as chihchun_afk === MacSlow|lunch is now known as MacSlow [14:26] hi [14:26] hum im makeing a application but i want an idea [14:49] popey: do you know where can I find the source for the nearby photos scope? [14:51] elopio: i do not, kyleN may [14:52] hi [14:52] elopio, we have a nearby aggregator scope and a photos aggregator scope [14:53] (we also have my photos scope, a child scope, and other photo child scopes, like facebook photots, instagram and so on) [14:53] kyleN: on the nearby scope, I see a section that's called nearby places in flickr. [14:53] I want to copy some of that. [14:53] yes [14:53] hang on [14:55] hmm. it turns out that code is not yet public (although I don't see a reason why it isn't except it hasn't happened yet ;) [14:55] elopio, what do you want to do specifically? [14:56] kyleN: I want to make a scope for nearby places in mapillary. I don't know how to make scopes, or how to get the gps position, so copying seems the easiest way to learn. [14:57] elopio, OK. I can point you to some public code and resources [14:58] kyleN: thanks. [14:58] 1) developer info on scopes with api docs is here: https://developer.ubuntu.com/en/scopes/ [14:58] 2) what follows is some urls to some public scopes: [15:00] thinking... [15:01] kyleN: I think I can make it with a gps example. [15:01] what you really want is a simply scope that uses location awareness and calls a web api, right? [15:01] simple [15:01] elopio, ^ [15:02] kyleN: yes, I think so. [15:04] elopio, the reason I hesitate is that two "simple" public scopes (day scope and holidays scope) require a access token from the web apis they call. you can get them for free. [15:04] but they will not build unless you provide that info in a file in your root project directory [15:05] let's use Day scope as an example (this is the top child scope displayed in the Today scope) [15:05] Day scope accesses an authenticated web api at timeanddate.com to get the lunar phase [15:06] you can go to timeanddate.com and get a developer account (free) and get your api key and api secret [15:07] so, first bzr branch lp:day-scope && cd day-scope [15:07] create a file named "assets" there that contains this: [15:08] set(APIKEY ) [15:08] set(SECRETKEY ) [15:08] you need to create a 15.04 arm click chroot to build in, like this (iirc): [15:09] sudo click create -a armhf -f ubuntu-sdk-15.04 [15:09] now in day-scope/ (yoru project dir: mkdir build && cd build [15:10] now you can build it (probably) with this command in build/: click-buddy --arch armhf --framework ubuntu-sdk-15.04 --dir .. --provision [15:11] (--provision also installs it on your attached device) [15:12] elopio, regarding location: you can get your lat and long from the SearchMetadata object as shown here: http://bazaar.launchpad.net/~day-scope-team/day-scope/trunk/view/head:/src/query.cpp#L213 [15:13] then you can formulate your web api call and parse the (probably) json results to build you scope results [15:13] kyleN: okay, thanks a lot. [15:13] you are welcome [15:13] this will take some time, but I'll be back with questions :) [15:13] popey, will be happy to help (kidding ;) [15:14] lies === UbuntuIndia is now known as kunal [15:58] hi every body [15:58] can any body help me [15:59] i want to contribte to ubuntu open source projects. [15:59] ? [15:59] ???? [16:01] seriously no one? === davmor2 is now known as davmor2_HOLS === wendar_ is now known as wendar