No return to the shell prompt

Jacek Wojdel wojdel at kbs.twi.tudelft.nl
Thu Aug 26 13:44:03 BST 1999


-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 26 Aug 1999, you wrote:
> Hi Folks,
> I'm currently only playing around with kdevelop and try to learn more
> about programming programs with gui. Now I wrote a little testprogram that
> at the moment only shows a widget that looks like a calculator. The widget
> was designed useing the dialog-editor. In my main() I set is as
> Mainwidget. So far everything is ok. The only problem I have is that after
> clicking the close button, the programm doesn't exit to the shell. It's
> still running without any open widgets. It's the same if I start it from
> Shell or within kdevelop. If I start it within kdevelop I had to push the
> stop button.
> I hope ssomeone can help me.
>
> Bye,
>   Sven
>
> -------------------------------------------------------
>                  Sven Bergner
>            E-Mail: bergner at fh-worms.de
>              Live long and prosper!
>           Registered Linux-User #65111
> -------------------------------------------------------
	Hi,
Connect your close button to QApplication::quit() slot of your application (or
call qApp->quit() in slot that handles this button if you prefere).
	Jacek
--
+-------------------------------------+
|from: J.C.Wojdel                     |
|      J.C.Wojdel at cs.tudelft.nl       |
+-------------------------------------+

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: qX1NoLM9RxfJVcE4/NFXsI4YanPavDV/

iQCVAwUBN8U3yoWy7tU6a5rbAQHaVwP/YxYCJ4bLPhkEeWTCljVrt1qxxag30J91
bQmzpLrAnRiKANlGwEgdaCyj2cEkwlx1UvgudrNt6bZukUZirnbq2eCTGZ20nkWI
iT33tfey68xtVDYXpWhicMuyoF8ddyauFWsSoJN7EeLBBMZKxf5YjylDKOVKy8zP
FPSK7LGGCC0=
=gr93
-----END PGP SIGNATURE-----



More information about the KDevelop mailing list