bertjerred | hi - i'm brand new at programming & trying to make something with ubuntu sdk. also kind of new to irc. can i ask some 'new guy' questions? | 01:26 |
---|---|---|
bertjerred | trying to make a frontend for dmg2img... | 01:29 |
Elleo | bertjerred: sure, ask away; you might also find helpful hints in the cookbook and on askubuntu | 01:30 |
Elleo | bertjerred: also, you wouldn't happen to be the creative commons folk music making bert jerred would you? | 01:32 |
bertjerred | hey now - that's me! wha?? | 01:32 |
bertjerred | a wannabe programmer, too. | 01:33 |
Elleo | heh, one of the projects I hack on is libre.fm which tries to make CC music discoverable in a similar way to last.fm, so I've come across your stuff a fair bit :) | 01:33 |
bertjerred | that is hilarious. :) can i ask you some really basic c++ things? | 01:34 |
Elleo | sure, feel free :) | 01:34 |
Elleo | although I might not be around too much longer, is 1:35am over here | 01:34 |
Elleo | it's* | 01:34 |
bertjerred | that's okay - I'll throw one out there before you have to go - I use QFileDialog to browse for a file, but I don't know how to pass the address of the file to a lineEdit. Does that make sense? | 01:36 |
bertjerred | maybe we can talk about it another time, too - so you can get some sleep. :) | 01:38 |
Elleo | okay, well there's two parts to that really; 1) Getting the file path from the qfiledialog and 2) putting it in the qlineedit | 01:38 |
Elleo | are you familiar with Qt's signals and slots at all yet? | 01:39 |
DasGoat | Hello everyone. | 01:39 |
bertjerred | signals & slots: only barely. Also, Hi DasGoat! | 01:39 |
bertjerred | in a way, you've told me what to read up on next. ;) | 01:40 |
Elleo | the really high level description of what you need to do would be to connect a slot (basically a specially designated method) to the qfiledialog's fileSelected signal | 01:40 |
bertjerred | ok - that makes some sense... | 01:41 |
DasGoat | I was wondering is anyone could answer two quick questions. The first question is: where are the help files? One of the tutorials I am doing says to click on the element (Image, for example) and then press F1. the help box loads, but there is not contecnt in the help box. | 01:41 |
Elleo | when a file gets selected the qfiledialog will call send its signal to your slot (essentially calling your function with the file path as a parameter) | 01:41 |
Elleo | then inside that function you can just call your qlineedit's insert() method, passing in that file path | 01:41 |
Elleo | that might not all make sense straight off, but if you can find a nice quick tutorial on slots and signals it'll hopefully drop into place | 01:42 |
DasGoat | I can provide a video link for a signal example. | 01:43 |
Elleo | bertjerred: http://qt-project.org/doc/qt-4.8/signalsandslots.html might be a good place to start | 01:43 |
Elleo | DasGoat: oh that sounds good | 01:43 |
bertjerred | Oh man - that is SUPER helpful. Now I know what to look up. And sure - I'd love a video link. Thanks! | 01:43 |
bertjerred | Awesome! | 01:43 |
bertjerred | P.S. New music coming soon. ;) | 01:44 |
DasGoat | here is that video link for a tutorial on signals http://www.youtube.com/watch?v=20utcSsTUZQ | 01:44 |
Elleo | DasGoat: http://developer.ubuntu.com/api/ <-- those are the ubuntu sdk specific docs | 01:44 |
DasGoat | I have not used IRC in years, how to I wisper again? | 01:45 |
Elleo | not sure if that'll cover exactly what you were looking for without knowing what the example was about | 01:45 |
Elleo | DasGoat: /msg person your message | 01:45 |
bertjerred | Fantastic - I guess I'd better get reading/watching - thanks everyone! | 01:45 |
Elleo | e.g. /msg Elleo you rock ;) | 01:45 |
Elleo | bertjerred: great :) | 01:45 |
DasGoat | Thank you | 01:45 |
DasGoat | It is if Cononical striped out the basic help files that explain how functions like Image or Text or Rectangle work | 01:48 |
DasGoat | where did I go? | 01:48 |
DasGoat | Oh, I am back now. | 01:49 |
Elleo | DasGoat: you'll find the docs for all the fundamental QML types here: http://developer.ubuntu.com/api/qml/sdk-1.0/QtQuick/ | 01:49 |
DasGoat | Anyway, it seems like the help files are missing. If I click on a function like Rectangle I should be able to press F1 and get a help file on Rectange with examples on usage. | 01:49 |
Elleo | it looks like the QML help files aren't bundled with the SDK at the moment, you might want to file a bug about that | 01:50 |
Elleo | but for now you can get at them all on the website, e.g. http://developer.ubuntu.com/api/qml/sdk-1.0/QtQuick.Rectangle/ | 01:50 |
DasGoat | Egad! | 01:51 |
DasGoat | yeah, and the help files at the link you gave me, Elleo, are not as useful as the ones that come with Qt. | 01:52 |
Elleo | DasGoat: you can also find them on the Qt site: http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-rectangle.html | 01:53 |
Elleo | they're basically identical except that the example images are missing from the Ubuntu clone at the moment | 01:53 |
DasGoat | Wowsers! Does anyone know of a way to extract the help files from, say, the basic Qt installation and port them to the Ubuntu SDK? | 01:53 |
Elleo | DasGoat: I expect just replacing the qtcreator.qch with the one from a stock qtcreator install would do the trick | 01:54 |
Elleo | DasGoat: that's stored in /usr/share/qtcreator/doc | 01:54 |
Elleo | anyway, that's me done for the evening; good night :) | 01:56 |
DasGoat | I have another question. The tutorials I have found use a Stock Qt on Ubuntu 12.04. In that version of Qt Creator, the project file is listed in the creator Open documents area, but the SDK one does not show the project file. Is there a way to correct this? | 01:57 |
DasGoat | Thank Elleo, i will try your suggestion | 01:58 |
DasGoat | the path /usr/share/qtcreator/ does not exist? | 02:00 |
AskUbuntu | Limit bandwidth of application listening at tcp port for development | http://askubuntu.com/q/377818 | 05:47 |
AskUbuntu | Auto switch workspaces | http://askubuntu.com/q/377901 | 11:55 |
AskUbuntu | My Weather Indicator Widget correction | http://askubuntu.com/q/377969 | 14:41 |
bertjerred | http://dmgmounter.blogspot.com/2013/11/dmgmounter-progress-11-16-2013.html hi all - looking for some dummy-proof suggestions here... thanks if you can! | 15:11 |
Das_ | Good morning everyone | 16:22 |
Das_ | I have a few general questions I am hopeing someone can help with. | 16:22 |
Das_ | I notice that the help pages do not load in the Ubuntu SDK. Elleo suggested that I copy the qtcreator.qch file from another, working version and replace my existing file | 16:23 |
Das_ | That don't work. Anyone have another suggestions? | 16:24 |
Das_ | Is anyone alive in here? | 16:29 |
Das_ | <--- whistling in the dark ... | 16:39 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!