Results 1 to 7 of 7

Thread: Hide the border of a tool bar?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    105
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    38
    Thanked 2 Times in 2 Posts

    Default Hide the border of a tool bar?

    Hi, I need to hide the border of a tool bar and only show its actions because I have only 4 actions in the tool bar and it ocupies all the avaiable space. I've tried not using the tool bar and use flat buttons but the problem is that when the mouse is under the buttons its border is not painted (differing with the QActions in a tool bar). Anybody knows if it's possible in a simple way? I know that a possible solution could be reimplementig the paintEvent of the tool bar but it's a bit "hard"...

    PD: I also want to know if it's possible to center the actions in the tool bar
    Last edited by Dark_Tower; 15th April 2006 at 12:37.

Similar Threads

  1. Tool for web application?
    By cool_qt in forum General Programming
    Replies: 3
    Last Post: 9th December 2008, 09:21
  2. tool buttons on top of label
    By McKee in forum Qt Programming
    Replies: 5
    Last Post: 2nd November 2008, 16:07

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.