Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-30601

QToolButton doesn't respect QAction visibility outside QToolBar

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.4.0 Alpha
    • 4.8.4
    • None
    • Visual C++ 2010, Windows 7 64 bit

    Description

      When used outside a QToolBar, the QToolButton doesn't follow the QAction visibility attribute.

      • Create an action
      • Create a QToolButton, add it to a widget (not a toolbar)
      • set the action to the button with setDefaultAction
      • action->setVisible(false)

      the button doesn't disappear. It works with any other attribute(text,enable,etc...)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            qbprog Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes