Results 1 to 5 of 5

Thread: How setEnabled() works on QFrames.

  1. #1
    Join Date
    Jan 2006
    Location
    Berkeley California
    Posts
    109
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How setEnabled() works on QFrames.

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How setEnabled() works on QFrames.


  3. #3
    Join Date
    Jan 2006
    Location
    Berkeley California
    Posts
    109
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How setEnabled() works on QFrames.

    Ah, thanks. So properties may have functions that are not listed under Public or Protected functions.

    Thanks.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How setEnabled() works on QFrames.

    Quote Originally Posted by Doug Broadwell View Post
    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.

  5. #5
    Join Date
    Jan 2006
    Location
    Berkeley California
    Posts
    109
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How setEnabled() works on QFrames.

    Ah, very helpful.

    Thanks!

Similar Threads

  1. How simpletreeview example works?
    By igorko in forum Qt Programming
    Replies: 1
    Last Post: 19th June 2006, 09:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.