/srv/irclogs.ubuntu.com/2014/12/27/#ubuntu-app-devel.txt

Elleoafter a week of fun UT dev, I now have to do some Android dev :/00:16
Elleooh the verbosity.00:16
X_Ohi guys.! how can I put a image of background in mainwindow.ui ??05:41
AkivaAvrahamX_O, good question05:43
AkivaAvrahamX_O, this is with qt I presume?05:43
X_OBased on Qt 5.3.0 (GCC 4.9.1, 64 bit)05:43
AkivaAvrahamX_O, yep. Curious though why are you not using qml?05:44
AkivaAvrahamwhat is this app for?05:44
X_OI'm not expert I'm hobbiest05:45
AkivaAvrahamyep :)05:45
AkivaAvrahamwhats the app for by the way?05:45
AkivaAvrahamThe reason I ask is because I used to develop in qt with the intention of using it for the phone, until I realized the phone runs qml apps05:45
X_Ois for app for my comp05:47
AkivaAvrahamX_O, mmmm okay05:47
AkivaAvrahamX_O, let me see if I can remember how to do it in designer05:47
X_Othx05:47
=== X_O is now known as X_o
AkivaAvrahamX_o, ping06:14
AkivaAvrahamI hate pms06:14
X_opong06:14
AkivaAvraham:D06:14
X_o;)06:14
AkivaAvrahamokay rightclick your parent folder in qtcreator, and click "Add New.." > "Qt" > "Qt Resource File"06:15
AkivaAvrahamthis will add a .qrc file that you can add things like images in06:16
AkivaAvrahamits best to use this very seldom.06:16
AkivaAvrahamdon't fill it with more than 2 megabytes of data.06:17
AkivaAvrahamthen after that, rightclick your parent folder again, and click "Add existing files..." and navigate to the image you want as the background06:17
AkivaAvrahamafter that, go into the designer, and find the "Stylesheet" property of the QWidget06:18
AkivaAvrahamtype "background-repeat: repeat-xy; background-image: "06:19
AkivaAvrahamand after image:, click "add resource"06:19
AkivaAvrahamlet me know if that worked06:20
X_o can qt support *.png pic ?06:26
AkivaAvrahamthink so06:26
AkivaAvrahammine was jpg.06:27
X_o../BBB_p_Proj... libpng error: Not a PNG file libpng error: Not a PNG file libpng error: Not a PNG file libpng error: Not a PNG file libpng error: Not a PNG file libpng error: Not a PNG file libpng error: Not a PNG file06:27
AkivaAvrahamtry jpeg06:29
AkivaAvrahamconvert it with gimp06:29
X_onow is working06:32
AkivaAvrahamgood :)06:32
X_oqt do not support *.png files :(06:32
X_othx06:32
AkivaAvrahamX_o, trust me btw; go through the book tutorial; it will save you so much time in the future06:32
AkivaAvrahamc++ is a complex language06:33
X_oI want to learn like a guru qt I love it but I'm a baby now :(06:33
X_oevery button I drop in the desing have the picture as a background06:47
AkivaAvrahamYou have learn how to do style sheets.06:48
AkivaAvrahamin qml this is much easier06:49
=== rigved is now known as Guest27841
=== chihchun is now known as chihchun_afk
cojackhello guys, quick question, why you just stop provide an ogre-samples package?20:36
rickspencer3I'm trying to figure out how to set up for testing23:46
rickspencer3specifically, I want it to go away between test runs, isn't there an easy way to do that?23:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!