Results 1 to 2 of 2

Thread: Add a Widget to border(frame) of QGroupBox

  1. #1
    Join Date
    May 2013
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Add a Widget to border(frame) of QGroupBox

    hello all
    i want add a widget (like QPushButton) on over of QGroupBox border.
    for example a setting button over the border of QGroupBox.
    is there any one to help me?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Add a Widget to border(frame) of QGroupBox

    How well that looks will depend on the style and how it draws the groupbox, but you could try setting the groubbox's layout's margins to 0

    Cheers,
    _

Similar Threads

  1. Styling border for QGroupBox
    By Paluth in forum Qt Programming
    Replies: 0
    Last Post: 8th February 2012, 14:44
  2. Border and Frame
    By big4mil in forum Newbie
    Replies: 3
    Last Post: 12th March 2010, 19:46
  3. QGroupBox frame
    By pippo42 in forum Qt Programming
    Replies: 4
    Last Post: 15th January 2010, 13:03
  4. Show dock widget frame/border
    By maverick_pol in forum Qt Programming
    Replies: 2
    Last Post: 21st May 2009, 10:04
  5. how to change QGroupBox frame color? (Qt4)
    By high_flyer in forum Qt Programming
    Replies: 7
    Last Post: 9th May 2006, 13:48

Tags for this Thread

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.