Results 1 to 3 of 3

Thread: QGroupBox without bottom - left - right lines

  1. #1
    Join Date
    Apr 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default QGroupBox without bottom - left - right lines

    Hi,
    I'm trying to create a new Object inheriting QGroupBox under ubuntu 9.04. I'd like to see bottom - left - right lines but they seem not to be visible and the strange thing is the lines are visible in Fedora
    Any suggestions ??
    Thnx in advance ..

  2. #2
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QGroupBox without bottom - left - right lines

    Are those lines visible with normal QGroupBox (not yout sublcass)?
    If not then it depends on your OS style. I have Ubuntu 9.10 and there is no border in any groupbox because this is the style of my OS. You can try setting some other style in your Qt application to get the border or you can make your custom widget with unified, platform independent look or other way is to check if Qt style sheets can offer you border satisfying for you.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  3. #3
    Join Date
    Apr 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QGroupBox without bottom - left - right lines

    I hv tried StyleSheet but I hvn't been able to come up with the right command ..If you can tell me the right command to set the margin around the QGRoupbox ..Thnx in advance

Similar Threads

  1. QWebView autoscroll to bottom
    By mero in forum Qt Programming
    Replies: 4
    Last Post: 2nd August 2012, 06:48
  2. Why QStatusBar do not at the bottom?
    By FinderCheng in forum Qt Programming
    Replies: 5
    Last Post: 29th September 2009, 08:26
  3. QSortFilterProxyModel - always sort 0 to the bottom
    By ironstorm in forum Qt Programming
    Replies: 2
    Last Post: 1st March 2008, 20:38
  4. Replies: 7
    Last Post: 15th November 2007, 17:19
  5. widgets on bottom
    By kernel_panic in forum Qt Programming
    Replies: 6
    Last Post: 19th October 2007, 20:07

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.