Home » Community » Coffee corner » Qt/Windows Open Source
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
|
|
|
 |
|
Qt/Windows Open Source
By: _Seven_ on Tue, 18 April 2006 15:01
|
 |
|
Re: Qt/Windows Open Source
By: unodgs on Tue, 18 April 2006 15:48
|
 |
|
Re: Qt/Windows Open Source
By: _Seven_ on Thu, 20 April 2006 12:48
|
 |
|
Re: Qt/Windows Open Source
By: mirek on Thu, 20 April 2006 13:15
|
 |
|
Re: Qt/Windows Open Source
By: fudadmin on Thu, 20 April 2006 16:53
|
 |
|
Re: Qt/Windows Open Source
By: fudadmin on Thu, 20 April 2006 16:57
|
 |
|
Re: Qt/Windows Open Source
By: _Seven_ on Thu, 20 April 2006 14:31
|
 |
|
Re: Qt/Windows Open Source
By: mirek on Thu, 20 April 2006 16:16
|
 |
|
Re: Qt/Windows Open Source
|
 |
|
Re: Qt/Windows Open Source
By: mirek on Thu, 20 April 2006 16:19
|
 |
|
Re: Qt/Windows Open Source
|
 |
|
Re: Qt/Windows Open Source
By: fudadmin on Thu, 20 April 2006 23:04
|
Goto Forum:
Current Time: Mon Aug 18 14:27:24 CEST 2025
Total time taken to generate the page: 0.06323 seconds
|