Re: Visible/Enabled (Was: Re: [UFO-devel] Accelerators)
Status: Beta
Brought to you by:
schmidtjf
From: Johannes S. <sch...@us...> - 2005-06-14 09:15:41
|
Am Montag 13 Juni 2005 18:52 schrieb Andreas Beckermann: > On Monday 13 June 2005 17:37, Johannes Schmidt wrote: > > Let me quote http://doc.trolltech.com/4.0/qwidget.html#enabled-prop: > > "Disabling a widget implicitly disables all its children. Enabling > > respectively enables all child widgets unless they have been explicitly > > disabled." > > > > As for the visible property: > > In my last E-Mail I wrote that the intention is to get an easy way for > > querying whether a widget is mapped to screen. > > The user behaviour for setVisible remains the same (i.e. if you call > > setVisible(false) on a widget, it remains invisible even if the > > parent widget becomes visible). > > Ah, so actually you do _not_ intend to change the behaviour of > setVisible()/setEnabled() (that is what you wrote in the beginning!). You > want to change isVisible() and isEnabled() only Ouch, sorry, misunderstanding. Yes, setVisible should do the same thing, it's just a change to the internal handling (and what the is*() methods return). > - well I don't really care about that :-) Okay, then I will change that. I am happy that the communication works (even though it may take some time :) Regards, Johannes |