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

QToolButton doesn't respect QAction visibility outside QToolBar

XMLWordPrintable

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

      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...)

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes