Results 1 to 2 of 2

Thread: difference between QFrame and QGroupBox

  1. #1
    Join Date
    Nov 2007
    Location
    Italy
    Posts
    694
    Thanks
    59
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default difference between QFrame and QGroupBox

    Hi,
    I didn't understand very well what a QFrame is, it's use and the difference between a QFrame and a QGroupBox and/or QLabel.
    Sorry for the trivial question.

    Best
    Franco Amato

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: difference between QFrame and QGroupBox

    A QFrame is a widget with a frame.

    A QLabel is a widget with a frame that can display text.

    A QGroupBox is a widget with a frame that can display a title and a QCheckBox above it.

    I think you usually use QFrame as a basis for subclassing if you want your widget to have a frame around it.
    It's nice to be important but it's more important to be nice.

Similar Threads

  1. Tab order ignored in QGroupBox
    By adskol in forum Newbie
    Replies: 2
    Last Post: 5th April 2010, 05:42
  2. Recuce boundary space in QGroupBox/QFrame
    By prashant in forum Qt Programming
    Replies: 1
    Last Post: 5th October 2009, 15:53
  3. QGroupBox
    By Devoraz in forum Newbie
    Replies: 1
    Last Post: 30th July 2009, 04:49
  4. QGroupBox
    By merry in forum Qt Programming
    Replies: 2
    Last Post: 22nd August 2007, 13:11
  5. Iterating over QGroupBox
    By Doug Broadwell in forum Newbie
    Replies: 3
    Last Post: 26th February 2007, 22:13

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
  •  
Qt is a trademark of The Qt Company.