[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: temporarily hiding a QDialog
From: Kevin Krammer <kevin.krammer () gmx ! at>
Date: 2003-08-15 10:58:21
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Friday 15 August 2003 06:43, Jason Harris wrote:
> Hello,
>
> I would like to temporarily hide a tool window derived from a
> QDialog[*] to reveal the KMainWindow of my application while some code
> runs, and then show the tool window again when the code has finished.
>
> In the Qt/KDE API docs, "hide" and "close" seem to be synonymous. I
> can't close the tool window, because the code that is running is part
> of the tool. So, is there any way to hide a dialog without closing it?
hide() does what you want, it just makes the Widget invisible.
close() will generate a closeEvent and on a dialog this usually calls
reject(), so you don't want to use this.
> [*] also, is it possible to derive from KDialogBase using Qt designer?
http://lists.kde.org/?l=kde-devel&m=106039559705305&w=2
hth,
Kevin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer@gmx.at>
Developer at the Kmud Project http://www.kmud.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Attachment #5 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic