Results 1 to 3 of 3

Thread: groupBox border problem??

  1. #1
    Join Date
    Mar 2013
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default groupBox border problem??

    hello

    how to set the the borders in group box visible ??

    i tried groupBox->setFlat(true);

    but still the borders doesn't show up?

    is there a way to do that???

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: groupBox border problem??

    A QGroupBox has a border by default in every theme I've seen.
    http://qt-project.org/doc/qt-4.8/gallery.html
    http://qt-project.org/doc/qt-5.0/qtwidgets/gallery.html

    Perhaps you could let us know what version of Qt, what operating system, what style...
    Perhaps you could post a complete, compilable example demonstrating the problem.

  3. #3
    Join Date
    May 2013
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: groupBox border problem??

    I have experienced the same issue. I am using Qt Desktop Components for Qt 4.8.4 and Windows 7 x64.

    What I did notice was that when using a Windows Classic theme, the border is visible. I have experienced other rendering issues but it is off topic (for the curious http://qt-project.org/forums/viewthread/27956/).

Similar Threads

  1. Replies: 10
    Last Post: 9th September 2013, 16:29
  2. Problem in accessing groupbox controls.
    By vani.pv in forum Newbie
    Replies: 2
    Last Post: 7th September 2012, 09:05
  3. QScrollArea border rendering problem
    By Annihilator in forum Qt Programming
    Replies: 3
    Last Post: 3rd April 2012, 22:08
  4. Replies: 2
    Last Post: 21st March 2012, 15:30
  5. Css - problem with border in QTextEdit
    By Trok in forum Qt Programming
    Replies: 3
    Last Post: 28th March 2009, 23:53

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.