Results 1 to 4 of 4

Thread: Maximum number of characters in width

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Maximum number of characters in width

    That's not what I want. The function I'd like to see would return an integer (number of characters), not a rectangle.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: Maximum number of characters in width

    Quote Originally Posted by ralphmerridew View Post
    That's not what I want. The function I'd like to see would return an integer (number of characters), not a rectangle.
    Indeed, that's what happens when you answer questions at 3 A.M.

    Then maybe you will find something in QTextLayout?

Similar Threads

  1. Problem at time compilation in traslation of language
    By thomasjoy in forum Qt Programming
    Replies: 3
    Last Post: 22nd May 2007, 14:18
  2. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13

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.