Results 1 to 3 of 3

Thread: Is possible to hide a separator in a QToolBar?

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

    Default Is possible to hide a separator in a QToolBar?

    Hi there, I use a QToolBar that can dinamically change its contents by changing the visibility of its actions. The problem is that I don't know if I can change the visibilty of the separator bars. Is it possible or I should have to implement the behaviour of the tool bar in some other way?
    Last edited by Dark_Tower; 20th April 2006 at 09:52.

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

    Default Re: Is possible to hide a separator in a QToolBar?

    You can remove a separator from the toolbar or use QAction::setVisible() to hide it.

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

    Dark_Tower (20th April 2006)

  4. #3
    Join Date
    Jan 2006
    Posts
    105
    Thanks
    38
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is possible to hide a separator in a QToolBar?

    sorry wysota, I didn't thought that a separator is like some other action. Thanks.

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.