|
|
Home » Community » Coffee corner » Qt/Windows Open Source
Qt/Windows Open Source [message #2593] |
Tue, 18 April 2006 15:01  |
_Seven_
Messages: 35 Registered: April 2006
|
Member |
|
|
Well i'm interested in learning Qt. I would like to use Upp as mine IDE but i don't know integrate Qt/Windows Open Source with Upp. Can someone teach me how i can do that?? Exists some tutorial?
Thank you for your attention.Help me please.
|
|
|
Re: Qt/Windows Open Source [message #2594 is a reply to message #2593] |
Tue, 18 April 2006 15:48   |
|
_Seven_ wrote on Tue, 18 April 2006 09:01 | Well i'm interested in learning Qt. I would like to use Upp as mine IDE but i don't know integrate Qt/Windows Open Source with Upp. Can someone teach me how i can do that?? Exists some tutorial?
Thank you for your attention.Help me please.
|
I strongly suggest you to be interested in learning U++ especialy it seems that you don't know both qt and upp.
Althoug I didn't try to build qt apps from the ide, there should not be any bigger problem. All you have to do is to add custom build step to call moc preprocessor before running c++ compiler.. and set proper qt libs in package organizer to be linked.
|
|
|
|
|
|
Re: Qt/Windows Open Source [message #2664 is a reply to message #2593] |
Thu, 20 April 2006 15:10   |
gprentice
Messages: 260 Registered: November 2005 Location: New Zealand
|
Experienced Member |
|
|
_Seven_ wrote on Fri, 21 April 2006 00:31 | Create a tutorial teaching the U++ language, with this more people came, more feedback will have.
I'm interested to learn but i don't know how!
|
I agree that U++ is currently too hard to get into for most people and it's quite hard to see what U++ is capable of. A way to get started is to read the tutorials that do exist
http://upp.sourceforge.net/examples$uppweb$HelloWorld$en-us. html
http://upp.sourceforge.net/srcdoc$CtrlLib$Tutorial$en-us.htm l
http://www.arilect.com/upp/forum/index.php?t=getfile&id= 114&
then try the examples and reference examples one by one and experiment. Pick a widget one at a time and try to find out how to use it - i.e. look through the examples to see how a widget of that type can be used. Some widgets like ArrayCtrl you can find documented in the help system.
Suppose you want to group controls - this is fairly basic GUI functionality, but as far as I am aware, it's not documented anywhere how to do it. The way to do it is to add controls to a parent Ctrl e.g.
struct App : TopWindow {
Ctrl mc1;
StaticRect s1;
// ...
w.mc1.Add(w.s1);
w.s1.SetPos(w.s1.PosLeft(5, 15), w.s1.PosTop(20, 5));
mc1 is the parent Ctrl and s1 is the child control. s1.PosLeft and PosTop set the position of the child control relative to the parent control. U++ widgets all derive from Ctrl.
By playing with the examples and widgets, you can gradually learn U++ - but it takes a bit longer than it would with proper help and "tutorials" for everything.
(oops, accidentally logged myself out while writing this - hope it doesn't appear twice or something!)
Graeme
[Updated on: Thu, 04 May 2006 15:15] by Moderator Report message to a moderator
|
|
|
Re: Qt/Windows Open Source [message #2666 is a reply to message #2663] |
Thu, 20 April 2006 16:16   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
_Seven_ wrote on Thu, 20 April 2006 08:31 | Well Qt has been developed for a long time. I experimented use Qt development kit and comparing with the creation of layouts in U++ its clearly most advanced. Large number of applications are created with Qt , the feedback is much bigger and the support given too. I'm not take off the quality of U++, i'm one fan of U++ and i fallow the project for along time and i want continue to follow.
Now, that is a problem that exists in the project. If U++ have something to show, something for people learn and take the best of the U++, that information must have to be displayed to all comunity! Create a tutorial teaching the U++ language, with this more people came, more feedback will have.
I'm interested to learn but i don't know how!
|
OK, I was just curious. Everybody here has to agree about tutorials.
I do not get the "layouts part", but never mind 
Mirek
|
|
|
|
|
|
Re: Qt/Windows Open Source [message #2673 is a reply to message #2667] |
Thu, 20 April 2006 19:40   |
gprentice
Messages: 260 Registered: November 2005 Location: New Zealand
|
Experienced Member |
|
|
luzr wrote on Fri, 21 April 2006 02:19 |
gprentice wrote on Thu, 20 April 2006 09:10 |
w.mc1.Add(w.s1);
w.s1.SetPos(w.s1.PosLeft(5, 15), w.s1.PosTop(20, 5));
|
Can be done with less typing (and typos) as
w.mc1.Add(w.s1.LeftPos(5, 15).TopPos(20, 5));
Of course, one can still use layout here too 
Mirek
|
Cool, thanks! By layout, I guess you mean the GUI designer - yeah, I forgot to mention that. (I thought fudadmin would jump on me there!). I'm more into coding and haven't played with the designer much yet.
Graeme
|
|
|
Re: Qt/Windows Open Source [message #2681 is a reply to message #2673] |
Thu, 20 April 2006 23:04  |
 |
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
gprentice wrote on Thu, 20 April 2006 18:40 |
luzr wrote on Fri, 21 April 2006 02:19 |
gprentice wrote on Thu, 20 April 2006 09:10 |
w.mc1.Add(w.s1);
w.s1.SetPos(w.s1.PosLeft(5, 15), w.s1.PosTop(20, 5));
|
Can be done with less typing (and typos) as
w.mc1.Add(w.s1.LeftPos(5, 15).TopPos(20, 5));
Of course, one can still use layout here too 
Mirek
|
Cool, thanks! By layout, I guess you mean the GUI designer - yeah, I forgot to mention that. (I thought fudadmin would jump on me there!). I'm more into coding and haven't played with the designer much yet.
Graeme
|
That's why some countries have never produced any "Ferraries"...
They're still trying to race with some jumping animals
[Updated on: Thu, 20 April 2006 23:05] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 26 14:34:02 CEST 2025
Total time taken to generate the page: 0.00983 seconds
|
|
|