PDA

View Full Version : How setEnabled() works on QFrames.



Doug Broadwell
18th October 2006, 17:10
An educational question:

I can call on a QFrame "frame_1->setEnabled(false)" and indeed the frame borders goes gray (as do all widgets contained in it). My question is, where in the object hierarchy is the function "setEnabled()"? I can't find it in QFrame, QWidget, QObject, or QPaintDevice; am I overlooking something obvious?

Thanks

jacek
18th October 2006, 17:25
http://doc.trolltech.com/4.2/qwidget.html#enabled-prop

Doug Broadwell
18th October 2006, 18:19
Ah, thanks. So properties may have functions that are not listed under Public or Protected functions.

Thanks.

jacek
18th October 2006, 19:06
So properties may have functions that are not listed under Public or Protected functions.
You can always find all methods in the "List of All Members for QXxx" list.

Doug Broadwell
18th October 2006, 19:55
Ah, very helpful.

Thanks!