Results 1 to 5 of 5

Thread: "Normal" Status Bar Message doesn't look right...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2008
    Posts
    153
    Thanks
    40
    Thanked 8 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Smile "Normal" Status Bar Message doesn't look right...

    Hello,

    I have a little problem with the GUI of my application. In my QMainWindow, made in Designer, I have a status bar. When the mouse highlights different menu items, the value of the status bar changes from blank to the statusTip that I set. However, I want to have a "default" statusTip. In the Qt Docs, it says that I have to use addWidget() on the status bar, and add a QLabel. I did that, and it works fine, except... this is how it looks like:

    (1st attached image),

    whereas here is how a "temporary" statusTip looks like:

    (2nd attached image)

    Whatever I do I can't seem to change how it looks, whether it's using all this or not:

    Qt Code:
    1. msg->setFrameShape(QFrame::NoFrame);
    2. msg->setFrameShadow(QFrame::Plain);
    3. msg->setLineWidth(0);
    4. msg->setStyleSheet("border: none;");
    To copy to clipboard, switch view to plain text mode 

    Please help!

    Thanks in advance,
    codeslicer
    Attached Images Attached Images

Similar Threads

  1. How to Compile VTKDesigner2 with Qt?
    By alfredoaal in forum Newbie
    Replies: 0
    Last Post: 5th September 2008, 05:34
  2. treewidget and a message system
    By alisami in forum Qt Programming
    Replies: 7
    Last Post: 27th July 2008, 18:05
  3. statusBar() message color change
    By mclark in forum Qt Programming
    Replies: 2
    Last Post: 7th August 2007, 23:20

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.