[03:26] just installed ubuntu-sdk [03:26] really buggy [03:26] closes frequently [07:18] I'm running a hackfest for the program testdrive in 1 hour in #ubuntu-quality . Does anyone want to join? [13:30] Is anyone around who knows about boost.python or C++ and fancies spending a couple of hours on an interesting little project? [13:30] I'm no good at C++ :) [14:22] tachyons: What do you mean closes frequently? [14:22] tachyons: I have been running it for months now and I havent had a single crash. [14:22] first time hearing this issue [15:11] tachyons: What do you mean closes frequently? [19:52] tachyons: I have been running it for months now and I havent had a single crash. [15:11] nik90 : sdk crashes when pressing some buttons [15:11] sorry for the delay [15:11] I was away [16:28] hi folks, quick question: when running an app in qml-scene how can I emulate a swipe action? [16:28] eg: swiping up to reveal the toolbar [16:49] Hey all, I have some questions. There is a old app called blubphone that has not been updated in a while I want to start working on it I have experince programming just with languages like python and java (good thing the app is written in python) but I have never made a ubuntu app before is there anyone who can help me get a dev enviorment set up maybe and to start working on the app [17:16] Anyone here from the Calendar app team? I've got a question about a feature in it. [17:38] i've posted a new app to http://www.reddit.com/r/ubuntuappshowdown/comments/1k3jbn/new_app_connect_4_reversi/ [17:38] ill soon add some screenshots, but first i'll post to g+ too [17:39] GuidoPallemans: screenshots after g+ post. Like to see it [17:39] screenshots will be at g+ too [17:39] where do i post at g+? ubuntu app developers? [17:41] GuidoPallemans: yes [17:42] Hi all! [17:42] Hey nik90 :) [17:43] https://plus.google.com/u/1/communities/111350780270925540549 [17:44] PaoloRotolo: Hi :) [17:49] where can I find a good example of standard menu tools (from the swipe-up menu) ? [17:50] GuidoPallemans: What do you mean by standard menu tools? Do you just mean regular toolbar buttons shown in the swipe-menu (toolbar)? [17:50] nik90, you've got mail :D [17:51] PaoloRotolo: Wow thnx a lot :-) [17:51] nik90, i just need to put 1 button there [17:51] indeed the toolbar [17:51] nik90, you're welcome :) Well, in 5 min. you'll have a new merge proposal xD [17:52] PaoloRotolo: regarding the icons or something else? [17:52] GuidoPallemans: let me grab you an example :) [17:52] the showcase doesn't really hava a good example, just a button that opens another menu, i need just a button [17:53] nik90, I've added the pencil icon on the timer [17:53] nik90, actually, you've to press Enter to add a new preset. Where should I add the save icon? [17:54] GuidoPallemans: http://paste.ubuntu.com/5970716/ [17:54] GuidoPallemans: you can modify the onTriggered function to do what you want. It will act like a proper button [17:55] PaoloRotolo: The new icons will be part of a new timer preset design (small changes) which is in my personal branch. [17:55] thanks! [17:56] PaoloRotolo: so you can add both the icons to the images folder as usual with the correct naming. I can then use it after your branch has been merged into trunk. [17:56] GuidoPallemans: glad to help [17:56] nik90, ok :) [17:57] nik90: worked perfectly [18:03] nik90, here it is: https://code.launchpad.net/~paolorotolo/ubuntu-clock-app/edit-select/+merge/179579 [18:06] PaoloRotolo: can you make the save icon slight thicker? Probably a thickness similar to the other icons. It seems a tad bit thiner [18:06] nik90, ok :) [18:08] GuidoPallemans: Is your game something similar to http://www.flasharcade.com/puzzle-games/connect-4-game.html ? [18:08] GuidoPallemans: If so, I have some cool ideas :D [18:09] have you clicked the g+ link? i cant seem to upload to imgur [18:12] nik90 no, its just the standard connect 4 game with dropping coins [18:12] GuidoPallemans: yeah I get the idea now [18:12] GuidoPallemans: you should definitely animate the coins dropping down [18:12] ah, yes that's it :D [18:12] that would be insane [18:13] nik90, done [18:13] hmm not easy with just the ubuntu-shapes [18:13] maybe as an extra [18:14] GuidoPallemans: UbuntuShape will have a x,y property to determine the placement. [18:14] GuidoPallemans: You can animate that in qml quite easily [18:14] GuidoPallemans: continue with your development. If I have time I will see if I can code that [18:14] PaoloRotolo: much better :) [18:15] nik90, thanks [18:15] ah yes, i see how :D [18:16] PaoloRotolo: btw I talked to the designers finally [18:16] nik90, good :D So? [18:16] PaoloRotolo: I asked your questions to them [18:16] Regarding swipe delete confirmation, it is planned to have that implemented in the sdk :) [18:17] nice [18:17] So that should be implemented soon enough. We do not need to do anything on our side except wait for it to land in the sdk [18:17] Regarding the stopwatch laps delete, they were fine with the idea and asked to go ahead [18:17] its yours if you want it [18:22] nik90, ok :D [18:23] PaoloRotolo: merged [18:23] nik90, what about the numeration of the laps? [18:23] nik90, ty :) [18:24] nik90, if you have 4 laps and you delete the second, you'll see "lap1,3,4" [18:24] PaoloRotolo: numeration of the laps is something you need to think about. For instance if there are 4 laps and if the user deletes the 4th lap, then the next lap number should be 4 and not 5. [18:25] PaoloRotolo: If you delete the second, I think we can leave it at 2,3,4 since it will be an indication that the 2nd lap was faulty [18:25] PaoloRotolo: But you need to detect if the most recent lap is being deleted or if it is somewhere in the middle and accordingly perform the correct action [18:28] nik90, yeah :D It's not easy... [18:30] PaoloRotolo: use a if loop. While deleting the lap, get the lap number and compare with the lap count. If it is equal to lap count then it is the most recent lap. In that case reduce the lap count by 1 and delete the lap. In the else case, just delete that lap. [18:30] PaoloRotolo: That's the basic logic. It is not that difficult. A nice challenge if you will :) [18:34] nik90, cool, thanks! I never programmed before, so I hope to fix that :D [18:36] PaoloRotolo: these logical thought process is what will get you to kick start your programming hobby :) Have fun. Any issues you have let me know. [18:41] nik90: if you pull the latest changes, I think it is all finished [18:44] ah no, tied games are not implemented [18:46] GuidoPallemans: checking now [18:50] GuidoPallemans: nice! It could now use a more colorful background :D [18:51] WebbyIT: did you flash your nexus with touch ? [18:56] nik90 is that the thememanager? I don't know how to use that, but ill check the apis [19:01] I don't see how that all works, and I like the way it looks now, so I'm gonna keep it this way. [19:05] Ok so after a lot of digging I found the app I want to dev on is using gtk2.+ so I will need to migrate it to gtk3.+ is there a easy way to do this? === Noskcaj is now known as I_Hate_Timezones [20:11] where can one find more tutorials than the currency converter? for example, I want to make an image rotate... should i look up QML tutorials in general, or are there Ubuntu Touch specific ways of doing this? [20:13] Cantide, most stuff is just QML, you can find lots of docs at qt-project.org [20:13] Cantide, Ubuntu Touch basically provides some UI widgets [20:14] iBelieve, thanks, that answered my question :) [20:14] Cantide, the UI widgets provided by Ubuntu touch are documented at http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/ui-toolkit/overview-ubuntu-sdk.html [20:14] yes, I have that page open now [20:14] and i was browsing through it and not finding everything i was looking for, hence my question [20:15] thanks for the help :) I'm just starting out today.. [20:15] Cantide, you're welcome, have fun developing for Ubuntu Touch :) [20:15] I shall! [20:15] Now i just need some awesome ideas for apps that are within my capabilities >.< [20:16] Cantide, if you get stuck or don't know how to do something, try taking a look at the code for the core apps (if they fit within your licensing) [20:16] the first two apps I will make will doubtfully win anything T-Tv but they will help me learn, so that's okay [20:16] oh [20:16] where can i have a look at that code? [20:17] Cantide, if you want ideas, try taking a look here: http://www.reddit.com/r/ubuntuappshowdown/. Non-developers post ideas for devs to make [20:17] yeah, i had a look there earlier :) [20:17] i've been circling this app showdown all day, so i've uncovered most links etc. :) [20:18] Cantide, if you know the name of the app you want, just use bzr branch lp:. The app names are ubuntu-filemanager-app, ubuntu-clock-app, etc. [20:18] <_5m0k3> Card Games for Ubuntu Touch. Feedback welcome. https://plus.google.com/u/0/110587021591787005452/posts/dJMQc9XdYey [20:18] Cantide, https://wiki.ubuntu.com/Touch/CoreApps has links to all the different core apps [20:19] i think using the command from the terminal will be easier for me, thanks :) [20:19] i'd really like some more tutorials on layout etc. :-S [20:19] and basic program flow - where things should be [20:19] but i guess i will learn all that as i play around [20:20] _5m0k3, where would you like feedback? Here? [20:21] <_5m0k3> iBelieve: here's perfect [20:22] _5m0k3, I like the cards, they look professional! (i'm useless at photoshop ;) ) [20:23] oh, the cards, when face up, seem to have more rounded corners than when face down, if that is a concern. Really minor imho [20:23] _5m0k3, that app looks nice! In the game view, it probably would look nicer if you added spacing between the cards and buttons [20:23] _5m0k3, ** the app, not that app [20:24] and maybe add a texture to the score area instead of gray - so that it matches the rest of the game [20:24] <_5m0k3> Cantide: thanks for pointing that out! The cards are done entirely in .qml (aside from 4 .png for the suits and an .svg for the back) [20:25] _5m0k3, wow :) that's impressive :) [20:25] <_5m0k3> iBelieve: great idea! I'll do that [20:26] _5m0k3, also, have you considered how it will look on a phone (with a width of 50gu)? [20:28] could the cards be made to stack, accordion style, in the event that the width is restricted? [20:28] <_5m0k3> That's on a 50x75 in landscape. I'll have to work on the UI, because it doesn't scale to portrait very nicely (or lock it to landscape). form follows function! [20:31] <_5m0k3> That's a good idea Cantide. I'm not sure how you'd play solitaire on a phone in portrait at all. Thoughts about that? [20:31] <_5m0k3> good idea for blackjack* [20:32] wouldn't accordion work there, too? all you really need to see of a stack is the edge [20:33] it would be really cramped though with the number of columns needed for solitaire :< [20:33] Cantide, scrolling left to right? [20:33] _5m0k3, scrolling left to right? [20:33] scrolling could work, but then you cant see all stacks at a glance, and each time you need to place a card you'd scroll? [20:34] it might become tedious, just imho [20:34] i suppose if it scrolled while you're dragging a card it might be less tedious :) === wellsb is now known as _5m0k3 [20:48] nik90: are you still planning to make that cool effect for my app? [20:58] if i want to centre that label in the default template that loads, how do i do that? 'o' === I_Hate_Timezones is now known as Noskcaj [21:10] Cantide, to position items, you'll use anchors: http://qt-project.org/doc/qt-4.8/qml-anchor-layout.html [21:11] i tried anchors.centerIn: parent [21:11] but now the label is below the button o_O [21:11] (although it is centered) [21:12] iBelieve ^ [21:13] Cantide, I'll try it myself. What project did you use - Simple or Tabbed? [21:13] simple i think [21:13] the first one on the list [21:14] Cantide, all right, give me a sec [21:14] yeah, simple [21:16] Cantide, so... the HelloComponent and the Button are in a Column, which positions items automatically, though you can control the horizontal alignment [21:16] hmm... i'll need to read up on columns :( [21:16] Cantide, is that what you want, or do you want to center it both horizontally and vertically? [21:17] Cantide, to center it horizontally, you can use anchors.horizontalCenter: parent.horizontalCenter [21:17] hold on.. [21:17] yesssssssssssssss [21:17] this is what i want :) [21:17] thanks! [21:18] Cantide, :) [21:18] iBelieve, thanks for your help with such trivial things (which are not so trivial to beginners) [21:19] I think learning how the layout works is probably the hardest as it seems unique to Ubuntu Touch [21:19] Cantide, you're welcome, it's fun being able to share my knowledge with others [21:19] :) [21:19] [gonna ask this again, channel was dead when i put it earlier]: when running an app in qml-scene how can I emulate a swipe action? [21:19] eg: swiping up to reveal the toolbar [21:19] xqwzts, just click and drag the mouse [21:20] xqwzts, for the toolbar, just click and drag up from the bottom [21:22] oh damn, i was just swiping down->up [21:22] not from the bottom [21:22] uhm dragging [21:22] cheers iBelieve [21:23] feel pretty stupid now :P [21:39] oh... reaaal n00b question - how do i declare variables? [21:41] wait, don't answer that - i should search before asking stupid things -.- [21:42] the code blocks on the qt-project website display empty blocks for me T-T [22:07] "Invalid write to global property" ?????? [22:42] nik90: are you still planning to make that cool effect for my app? [23:29] GuidoPallemans: just got home. I will give it shot if I get some time. [23:30] However do not depend on me entirely for it [23:32] Oh as a total n00b moment, is there a site I don't see at the developer.ubuntu.com that talks about how to develop ubuntu desktop apps? [23:33] that site seems to be all about ubuntu touch