createConfigInterface

Aaron J. Seigo aseigo at kde.org
Sun Feb 1 12:25:45 CET 2009


On Sunday 01 February 2009, David Baron wrote:
> Is the create frunction called once, the first time, or is it called each
> time the dialog is to be shown? This obviously makes a coding difference.

it's called only when necessary, and the UI is deleted when the dialog is 
dismissed by the user. if the dialog isn't closed and the user requests the 
coniguration again, then the existing dialog is re-used.

the deletion of the UI happens after all the signals from the dialog, such as 
finished(), are emitted so it is safe to access your UI elements from slots 
connected to those signals.

> Whichever the answer, will these be kept this way?

yes.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090201/e093a688/attachment.sig 


More information about the Plasma-devel mailing list