Results 1 to 3 of 3

Thread: About Box - Scroll Plain Text

  1. #1
    Join Date
    Jan 2009
    Posts
    53
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Question About Box - Scroll Plain Text

    Hi,

    I want to create an About Box like user interface. The problem is that I do not want to use QTextEdit to show it. QTextEdit supports HTML rendering, which is not necessary on a About Box page. Furthermore, QTextEdit does not have a text property.

    As an alternative, I used QScrollArea, VerticalSpacer, and QLabel to achieve my goal. But, my QLabel does not expand vertically even the plain text consist of multiple lines.

    Please advice. Thanks in advance.

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

    Default Re: About Box - Scroll Plain Text

    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    sheeeng (20th October 2009)

  4. #3
    Join Date
    Jan 2009
    Posts
    53
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: About Box - Scroll Plain Text

    Quote Originally Posted by wysota View Post
    Thanks a lot! Exactly what I'm looking!

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  2. QString is a richText or plain text
    By SamSong in forum Qt Programming
    Replies: 1
    Last Post: 14th June 2009, 00:19
  3. Routing stdout to Plain Text Edit
    By Barry79 in forum Qt Programming
    Replies: 7
    Last Post: 2nd April 2009, 13:06
  4. QTextEdit + paste rich text as plain text only
    By Yong in forum Qt Programming
    Replies: 2
    Last Post: 6th February 2008, 16:45
  5. QTextEdit API questions (plain text)
    By Gaspar in forum Qt Programming
    Replies: 4
    Last Post: 16th May 2006, 06:03

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.