problems with widgets in kdevelop

Robert.M.Wheat at barney.cs.uni-potsdam.de Robert.M.Wheat at barney.cs.uni-potsdam.de
Tue Oct 5 05:18:31 BST 1999


When you create a new project, yes, the wizard does create a dialog.  The dialog that
the wizard creates is merely an empty 'faceless' dialog (widget).  If you build (compile) and
execute this new project, you will see an empty widow appear.  It is your job to fill this empty
window. This is done by first doing what I described in my earlier e-mail, that is, choosing the
dialog editor, and creating a new dialog.  The next step is to fill your new dialog with the
widgets you need.  This is done in the dialog editor by first making your new dialog file active by
clicking on it over in the left side of your screen.  Next, make the widget 'sheet' active by
clicking on the widget tab.  Then insert widgets by clicking on them.  They can be resized, etc.,
but must be named.

When you are done with this, you need to choose the option to generate the source code (from the
build menu).  Then, using regular c++ code, insert this new dialog (conglomeration of widgets)
into the dialog that the wizard created for you.  

If you are still confused after reading this e-mail, contact me personally by e-mail (not through
the list so we don't clog up the list's mail), and I will try to put together a small example for
you to follow (tutorial).

On Mon, 04 Oct 1999, you wrote:
> Thanks, what you told me in some way solved the problem, but how can I edit the
> dialog that is created with the wizard? because if I inderstand you, doing what
> you told me adds a new dialog appart of the existing one (created with the app. wizard).
> Thanks

Widgets are widgets.  Dialogs are widgets.  They can be put together from many widgets. They can be
put together from other widgets that were put together from many widgets. etc......

> > On Thu, 30 Sep 1999, you wrote:
> > > Hi, I compiled kdevelop beta2, but I got a problem, when I create a new project
> > > and enter for the first time to the dialog editor the widgets desappear!!!! I
> > > can see them for arround half second and then they're gone and never again
> > > appear!!! I installed beta 3 but it's the same thing. Can anyone help me???

>> After entering the Dialog Editor for the first time, all of the tabs in the left portion of the
>> screen are disabled. If you choose 'New' from the 'File' menu, or click the icon for 'New' on the
>> tool bar, a 'new file' dialog will appear.  The 'new file' dialog has several options, but if you
>> choose the option to create a new 'Qt/KDE Dialog', give it a name, then choose 'OK', you will now
>> have defined a 'New' dialog (still to be designed and built), and all three of the tabs should
>> now be active, including the 'Widget' tab.

-- 
Robert M. Wheat, Jr.
belran at worldnet.ibm.net



More information about the KDevelop mailing list