Results 1 to 3 of 3

Thread: Set Text inside group box

  1. #1
    Join Date
    May 2009
    Posts
    94
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    10

    Post Set Text inside group box

    I want to Write text inside group box with out any border and it should be read only.
    I dont want to use QLabel because it is writing in one label, which i dont want.
    Please tell me if you identified anything?

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    8
    Thanked 133 Times in 128 Posts

    Default Re: Set Text inside group box

    group box without any border?? its not a group box then

    anyways.. u can always inherit the class and do the painting yourself

  3. #3
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 334 Times in 317 Posts

    Default Re: Set Text inside group box

    Or might be QGroupBox::setFlat does what you want...

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  2. Replies: 2
    Last Post: 22nd September 2008, 09:22
  3. text inside QGraphicsEllipseItem
    By stoned in forum Qt Programming
    Replies: 3
    Last Post: 10th June 2008, 07:44
  4. Match the text beetween two string
    By dreamer in forum Qt Programming
    Replies: 4
    Last Post: 20th May 2008, 14:48
  5. Editable text in QGraphicsView
    By wysota in forum Qt Programming
    Replies: 8
    Last Post: 24th February 2007, 15:30

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.