A newbie question, looking for a starting point

Ray A. Akey rakey1 at home.com
Sun Sep 10 19:03:36 BST 2000


On Sunday, September 10, 2000 1:30 PM, <festus at ntplx.net> wrote:
> After creating the framework for a new project and running "make" and then
> "execute", you get a blank dialog form as a result. How do you get that
> beginning form into the dilaog editor? When I go into the dialog editor at
that

In a couple words, you don't.

What you get in your case is a window and nothing more.  You need to walk
through the KDE/Qt tutorials included with KDevelop to see how to add
widgets to a window.  This is typically done using inheritance (AKA
subclassing) of other widgets, the creation of new widget classes with
groups of widgets within, etc.  You CAN create a layout using the dialog
editor but you stil need to resort to actual coding to insert the dialog
class layout into your main window.  Otherwise, the dialog editor is only
good for creating new/child dialogs; unless something has changed very
recently. ;)

If all this is greek to you, then you need a little more reading before you
jump into things.  I would suggest reading the beginner documents
(Introductions, tutorials) included with KDevelop first.  The "shooter"
tutorial that comes with Kdevelop is a great tutorial to examine and learn
how to create new widgets and widget groups and is great for learning Qt's
excellent signal/slot system.


Good luck and keep plugging away at it.

-Ray





More information about the KDevelop mailing list