Results 1 to 2 of 2

Thread: Showing long message in status bar

  1. #1
    Join Date
    May 2012
    Location
    India
    Posts
    51
    Thanks
    4
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default Showing long message in status bar

    When i try to show a long message in staus bar , half of the message is not being displayed . Is there any way to show a long message in status bar ,breaking it in to two line ?

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,716
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Showing long message in status bar

    You could put your string in to a formated QLabel and put the label in the status bar when you want to show the message.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. winEvent---(MSG * message, long * result)
    By Naveen in forum Qt Programming
    Replies: 4
    Last Post: 29th June 2015, 12:05
  2. Showing a message dialog from an application running in fullscreen
    By AndresBarbaRoja in forum Qt Programming
    Replies: 2
    Last Post: 25th January 2012, 19:55
  3. Status bar message tend to disappear
    By maverick_pol in forum Qt Programming
    Replies: 4
    Last Post: 16th July 2010, 01:15
  4. Showing a error message
    By srohit24 in forum Qt Programming
    Replies: 2
    Last Post: 21st August 2009, 08:05
  5. How to trim long text in status bar
    By araglin in forum Newbie
    Replies: 2
    Last Post: 15th January 2009, 22:36

Tags for this Thread

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.