Results 1 to 4 of 4

Thread: FrameShape property for Q3GroupBox

  1. #1
    Join Date
    Jan 2007
    Posts
    92
    Thanks
    14
    Thanked 1 Time in 1 Post

    Default FrameShape property for Q3GroupBox

    in qt 3 designer there was Q3GroupBox property named FrameShape in property editor where we were able to change FrameShape to desired shape. IS there any equivalent property in qt 4 designer for Q3groupbox or QGroupbox where I can change FrameShape property like FrameShape::NoFrame ?


    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: FrameShape property for Q3GroupBox

    QGroupBox doesn't inherit QFrame anymore so you can't adjust its frame shape.

  3. #3
    Join Date
    Jan 2007
    Posts
    92
    Thanks
    14
    Thanked 1 Time in 1 Post

    Default Re: FrameShape property for Q3GroupBox

    Okay ..do you know if there is any way to get rid of surrouding frame around group box. Because enabling setFlat property of QGroupBox results in the removal of the left, right and bottom edges of the frame. The top part of the frame is still drawn around the groupbox, I want to remove top part of frame also but not group box title. Something similar as in QT 3 FrameStyle::NOFrame.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: FrameShape property for Q3GroupBox

    Why not remove the groupbox completely and just use a QLabel (or QCheckBox if you need it) for a title instead?

Similar Threads

  1. QPushbutton Flat property and icon appearance.
    By darpan in forum Qt Programming
    Replies: 1
    Last Post: 4th November 2006, 08:30
  2. Property editor fully featured?
    By brcain in forum Qt Tools
    Replies: 14
    Last Post: 20th September 2006, 15:57
  3. Replies: 5
    Last Post: 16th May 2006, 20:38
  4. QPixmap designer property not showing up
    By high_flyer in forum Qt Programming
    Replies: 1
    Last Post: 15th March 2006, 19:56
  5. custom plugin designer property with out a variable?
    By high_flyer in forum Qt Programming
    Replies: 1
    Last Post: 15th March 2006, 19:11

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.