[00:14] <guest6790> hello
[00:18] <guest6790> in my ubuntu html5 project, I am trying to combin a button and a popover and optionselector, where when the button is clicked a popover is shown with a list of clickable options, when one of those options are clicked a dialog appears, I want to know if this is possible? I have been playing around with it but haven't gotten it to work, if anyone can point me out to a resource or example which could help me accomplish this t
[00:42] <ahoneybun> I've been trying to get buttons in popups as well but QML guest6790
[00:42] <ahoneybun> not sure if it is
[00:44] <ahoneybun> other then the close button for the dialog
[01:19] <ahoneybun> ahayzen: free?
[01:19] <ahayzen> ahoneybun, sup?
[01:19] <ahoneybun> ahayzen: I just got a idea for a app
[01:19] <ahoneybun> *an
[01:19] <ahayzen> \o/
[01:19] <ahoneybun> membership card app
[01:19] <ahoneybun> take pics of your card so you dont have to carry them all
[01:20] <ahoneybun> so need to be able to access the camera
[01:20] <ahayzen> what like student ID cards etc?
[01:20] <ahoneybun> insurance as well
[01:20] <ahoneybun> gamestop and stuff
[01:20] <ahayzen> ah more documents that you would photocopy but still need
[01:21]  * ahayzen wonders about a mobile business card app that you could then 'share' to other people you meet via MMS/email/bluetooth whatever
[01:21] <ahayzen> ... but then is that what LinkedIn is these days?
[01:22] <ahoneybun> yea a bit
[01:22] <ahayzen> ahoneybun, like what you said could work, suppose it just depends if the vendor themselves accept a photo of the card on a phone?
[01:22] <ahoneybun> I mean most of the time you need the numbers on the card
[01:22] <ahoneybun> like AAA
[01:23] <ahoneybun> membership #
[01:23] <ahoneybun> the phone # would be on your phone and if not you have it on the phone with the pic
[01:23] <ahayzen> like most of our cards use some form of RF/NFC or a barcode/chip ... but yeah i guess for smaller things like gamestop a photo with the id may work
[01:23] <ahoneybun> I don't like to carry more then I need
[01:24] <ahayzen> same, tbh a photo of even the ones that have a barcode/membership # could be useful
[01:24] <ahayzen> would remove the need for 1.5 of my cards to carry ;-)
[01:25] <ahoneybun> how would I get access to the camera
[01:25] <ahayzen> have a look at tagger i would say
[01:25] <ahayzen> https://code.launchpad.net/tagger
[01:26] <ahayzen> you'll definitely need the "camera" policy in your apparmor profile
[01:27] <ahayzen> otherwise ahoneybun https://developer.ubuntu.com/api/apps/qml/sdk-14.10/QtMultimedia.Camera/
[01:27] <ahoneybun> yea
[01:27] <ahoneybun> thanks ahayzen
[01:27] <ahoneybun> first time messing with that
[01:28] <ahayzen> have fun ;-)
[01:29] <ahoneybun> so much code to found out if I need it
[01:29] <ahoneybun> would it be a good idea to c+p and just test
[01:29] <ahoneybun> ?
[01:32] <ahayzen> probably
[01:34] <ahoneybun> Cannot assign a value directly to a grouped property
[01:34] <ahoneybun> oh
[01:34] <ahoneybun> old
[01:34] <ahoneybun> odd
[01:39] <ahoneybun> so it needs to be in its one qml file
[01:39] <ahoneybun> or it at least works
[01:39] <ahoneybun> lol
[01:43] <ahoneybun> though o the device it shots at a angle
[01:47] <ahoneybun> ahayzen: how do you make a button open a qml file?
[01:47] <ahoneybun> like I want to click a button to start the camera
[01:47] <ahoneybun> onTriggered?
[01:47] <ahayzen> just make it visible: false and flip that or put it in another page and push it on the stack
[01:48] <ahoneybun> ue
[01:48] <ahoneybun> que
[01:48] <ahoneybun> PageStack?
[01:48] <ahayzen> yeah
[01:48] <ahayzen> probably best to sketch out some designs so you know what your heading for
[01:49] <ahayzen> like multiple pages etc
[01:49] <ahoneybun> the only problem is that I never know what I can really do lol
[01:49] <ahoneybun> I'm a bit limited in knewledge XD
[01:50] <ahayzen> hehe, just look at what other apps have done
[01:50] <ahoneybun> seems they all are out of my grade lol
[01:51] <ahayzen> ..but the code is somewhere for you to c+p hehe ;-)
[01:57] <ahoneybun> what component holds head.actions?
[01:58] <ahoneybun> I have Ubuntu.Components 1.2 but it says "non-existen property head"
[01:58] <ahayzen> Page holds it
[01:59] <ahoneybun> oh I see
[01:59] <ahoneybun> lol
[01:59] <ahoneybun> but I have Page
[02:00] <ahoneybun> seems the order matters lol
[02:01] <ahayzen> wha?
[02:01] <ahoneybun> I had 1.Page 2.Column 3. head.actions
[02:01] <ahoneybun> 1. Page 2. head.actions 3.Column works
[02:01] <ahayzen> you definitely had the braces right?
[02:01] <ahoneybun> yea
[02:02] <ahoneybun> to end the head.actions
[02:02] <ahayzen> i mean the closing of Column... but interesting
[02:02] <ahoneybun> could be that
[02:03] <ahoneybun> yea
[02:03] <ahoneybun> head.actions needs to be outside the column
[02:03] <ahoneybun> thanks ahayzen
[02:04] <ahayzen> ahoneybun, generally we *try* to order things like this http://qt-project.org/doc/qt-5/qml-codingconventions.html
[02:04] <ahayzen> but that doesn't always happen hehe
[02:06] <ahayzen> there was bug 1315796 for the coreapps to try and get something like PEP8 used with python for QML..but yeah nothing happened
[02:06] <ahoneybun> I kinda see but I would need a example of things I know (don't worry about giving me one atm)
[02:06] <ahoneybun> lol
[02:06] <ahoneybun> I'm trying to look though tagger for how he started the app
[02:06] <ahoneybun> the cameraa
[02:07] <ahayzen> ahoneybun, app started here http://bazaar.launchpad.net/~mzanetti/tagger/trunk/view/head:/app/main.cpp and that launches http://bazaar.launchpad.net/~mzanetti/tagger/trunk/view/head:/app/qml/tagger.qml
[02:08] <ahoneybun> the camera starts right away
[02:08] <ahayzen> looks like the camera is here http://bazaar.launchpad.net/~mzanetti/tagger/trunk/view/head:/app/qml/tagger.qml#L221
[02:08] <ahayzen> note the startAndConfigure() on line 236
[02:08] <ahoneybun> yea I've been using the developer.ubuntu examples so far
[02:08] <ahayzen> and the Connection {} to call that just below
[02:09] <ahoneybun> which does?
[02:09] <ahayzen> when the app gains focus it starts the camera and it loses it stops, by the looks of it (i've never used the camera component either btw)
[02:12] <ahoneybun> onTriggered: start() might work
[02:12] <ahoneybun> but I need find what to connect it to
[02:13] <ahayzen> ahoneybun, literally do the same as they did from L243->246
[02:13] <ahayzen> that should work enough for now
[02:13] <ahayzen> if not yeah try doing it on the trigger/onVisible
[02:14] <ahoneybun> I dont know
[02:14] <ahoneybun> what connections does
[02:14] <ahoneybun> well
[02:14] <ahoneybun> you said it
[02:14] <ahoneybun> but I'm still trying to understand it
[02:15] <ahayzen> http://doc.qt.io/qt-5/qml-qtqml-connections.html
[02:15] <ahayzen> so like if you had a Rectangle { id: rect }
[02:15] <ahayzen> somewhere else in your code you could do Connections { target: rect; onWidthChanged: { // do stuff } }
[02:15] <ahoneybun> head
[02:15] <ahayzen> so you can like connect to another object
[02:16] <ahoneybun> im not getting it sadly
[02:16] <ahayzen> lol its complicated until you try it
[02:16] <ahoneybun> can't try if I dont get it
[02:17] <ahoneybun> plus I like pictures lol
[02:17] <ahoneybun> http://imgur.com/W3avS5t
[02:18] <ahayzen> looks like you need Reader {} somewhere
[02:18] <ahoneybun> yea
[02:18] <ahayzen> then you need to make that visible onTriggered
[02:18] <ahayzen> but idk what design your going for ;-) anyway i need sleep
[02:19] <ahoneybun> ok night ahayzen
[02:19] <ahoneybun> thanks a lot :)
[02:19] <ahayzen> no problem, night o/
[02:19] <ahoneybun> night
[14:44] <ahoneybun> moring ahayzen
[14:44] <ahayzen> ahoneybun, afternoon
[14:45] <ahoneybun> lol
[14:45] <ahoneybun> so I put the camera on a different tab
[14:48] <ahayzen> ahoneybun, does it work as you expect now?
[14:53] <ahoneybun> the camera does, at first it was at a 90 degree till I took some code from tagger
[14:54] <ahoneybun> orientation: device.naturalOrientation [14:54] <ahoneybun> for VideoOutput
[14:55] <ahoneybun> now displaying the cards is a different ball game
[14:55] <ahayzen> haha
[14:56] <ahoneybun> might be easier with textfields lol
[14:56] <ahoneybun> to put the numbers lol
[14:56] <SturmFlut> http://sturmflut.github.io/ubuntu/touch/2015/05/31/ubuntu-touch-app-wishlist-may-2015/ Any additions/corrections?
[14:57] <ahoneybun> uBeginner?
[14:57] <ahoneybun> lo
[14:58] <SturmFlut> I actually thought about uBeginner, but wasn't sure which category it fits into etc.
[14:58] <ahoneybun> true
[14:59] <ahoneybun> it would be a utils
[14:59] <ahoneybun> but you have clone of small utils
[15:00]  * ahoneybun is a bit biased as he is the dev of uBeginner lol
[15:00] <SturmFlut> But it is not actually a "clone", is it?
[15:00] <ahoneybun> no
[15:00] <SturmFlut> Might have to rework the categories again next time. Work on progress.
[15:01] <ahoneybun> of course
[15:01] <SturmFlut> s/on/in/
[15:01] <ahoneybun> games, utils, music,
[15:01] <ahoneybun> video
[15:02] <ahoneybun> some really cool scopes out there too
[15:02] <ahoneybun> is Level a clone of something?
[15:02] <SturmFlut> Yes, there are lots of these level apps on Android and iOS
[15:03] <SturmFlut> Maybe just call the category "small utilities"?
[15:03] <SturmFlut> And add a "Scopes" category
[15:03] <ahoneybun> yea since the concept is not really a clone
[15:04] <ahoneybun> it is not copyrighted to make a level app (yet) lol
[15:08] <ahoneybun> ahayzen: missing: Business card scanner
[15:32] <SturmFlut> ahoneybun: We have a business card scanner?
[15:32] <ahoneybun> he was talking about it
[15:32] <ahoneybun> brb
[15:32] <SturmFlut> Oh cool
[16:02] <SturmFlut> In the last two months the app store has seen an added/updated entry every three hours on average
[16:02] <SturmFlut> Hm no
[16:02] <SturmFlut> Thats just the additions
[16:03] <SturmFlut> A new app/scope was added every three hours
[16:06] <ahoneybun> thats kinda good
[16:11] <SturmFlut> That's awesome! In the first year, we didn't even average one new app/scope a day!
[16:12] <ahoneybun> depends on the quality
[16:16] <SturmFlut> Sure.
[17:09] <ahoneybun> DanChapman: Dekko is damn awesome
[17:30] <DanChapman> ahoneybun: thanks :-) glad you like it so far.
[18:00] <ahoneybun> Beta is pretty damn stable
[21:35] <ahoneybun> ahayzen: I'm bothering just you too much right? lol
[21:39] <ahayzen> ahoneybun, possibly, why? lol
[21:43] <ahoneybun> don;t want to do thatlol
[21:43] <ahoneybun> *don't want to do that lol
[21:46]  * ahoneybun will poke other people lol
[21:48] <ahayzen> ahoneybun, haha i was only joking :-P but i do need to go to sleep soon gotta get up early tomorrow, whats the issue your having?
[21:54] <ahoneybun> I'm trying to make a function to switch from 6 different TextFields
[21:54] <ahoneybun> but I thought you could just click the textfield to edit it
[21:54] <ahayzen> you can?
[21:54] <ahoneybun> but " property TextField focused: score1"
[21:54] <ahoneybun> this keeps me from it
[21:54] <ahoneybun> but if I remove it it breaks
[21:55] <ahayzen> no like TextField { id: textField1 }
[21:55] <ahoneybun> I'm working on Gazeteer (sorry for that
[21:55] <ahoneybun> ?
[21:55] <ahayzen> oh
[21:55] <ahayzen> the focussed var thing i remember
[21:55] <ahayzen> so you want it todo what?
[21:56] <ahayzen> six different?
[21:56] <ahoneybun> yea
[21:56] <ahoneybun> litle me show you
[21:57] <ahoneybun> http://pastebin.ubuntu.com/11482016/
[21:58] <ahayzen> yeah either your gonna have a horrific if then else if then etc statement or you could like have a list containing the textfields like [field1, field2] then keep an index and just increment that or you could do something funky with repeaters as they are all the same anyway
[21:59] <ahoneybun> a combo button?
[21:59] <ahayzen> could do that
[21:59] <ahayzen> depends what you want the UI todo?
[22:00] <ahoneybun> combobutton to change what score I am editing
[22:00] <ahoneybun> removing this: property TextField focused: score1 ; gives me a error about actualValue
[22:00] <ahoneybun> not defined..
[22:01] <ahayzen> yeah it will you need to set the focused value depending on what you select from the combobox?
[22:02] <ahoneybun> oh
[22:06]  * ahoneybun 's head blows
[22:06] <ahoneybun> Cannot assign to non-existent property "spacing"
[22:06] <ahoneybun> ComboButtons have spacing
[22:12] <ahoneybun> ahayzen: list? index?
[22:13] <ahayzen> property var myList: [textFieldA, textFieldB]; property int currentFocusedField: 0
[22:13] <ahayzen> or something idk
[22:13] <ahoneybun> currentFocusedField
[22:16]  * ahoneybun moves on for today
[22:16] <ahoneybun> thanks ahayzen
[22:17] <ahayzen> haha no problem
[22:17] <ahoneybun> best for both of us lol
[22:25] <guest67898> anyone there?